[Android] Refine the transmission of parameter in customize.py.

This patch is to refine the transmission of parameter for android tools.
The transmission of command line was depredated, so refine it to call
functions.