Lines Matching refs:argv
34 int HandleSubcommand(char** argv) { in HandleSubcommand() argument
35 if (strcmp("--pre-install", argv[1]) == 0) { in HandleSubcommand()
37 return android::apex::RunPreInstall(argv); in HandleSubcommand()
40 if (strcmp("--post-install", argv[1]) == 0) { in HandleSubcommand()
42 return android::apex::RunPostInstall(argv); in HandleSubcommand()
45 if (strcmp("--bootstrap", argv[1]) == 0) { in HandleSubcommand()
50 LOG(ERROR) << "Unknown subcommand: " << argv[1]; in HandleSubcommand()
69 int main(int /*argc*/, char** argv) { in main() argument
71 android::base::InitLogging(argv, CombinedLogger()); in main()
73 if (argv[1] != nullptr) { in main()
74 return HandleSubcommand(argv); in main()