Lines Matching refs:argv
58 int main(int argc, char* const argv[]) in main() argument
71 int ic = getopt(argc, argv, "h?"); in main()
91 if (strcmp(argv[optind], "check") == 0) { in main()
94 sp<IBinder> service = sm->checkService(String16(argv[optind])); in main()
95 aout << "Service " << argv[optind] << in main()
103 else if (strcmp(argv[optind], "list") == 0) { in main()
114 } else if (strcmp(argv[optind], "call") == 0) { in main()
118 sp<IBinder> service = sm->checkService(String16(argv[optind++])); in main()
120 int32_t code = atoi(argv[optind++]); in main()
129 if (strcmp(argv[optind], "i32") == 0) { in main()
137 data.writeInt32(atoi(argv[optind++])); in main()
138 } else if (strcmp(argv[optind], "s16") == 0) { in main()
146 data.writeString16(String16(argv[optind++])); in main()
147 } else if (strcmp(argv[optind], "null") == 0) { in main()
150 } else if (strcmp(argv[optind], "intent") == 0) { in main()
166 char* key = strtok_r(argv[optind], "=", &context1); in main()
230 aerr << "service: unknown option " << argv[optind] << endl; in main()
240 aerr << "service: Service " << argv[serviceArg] in main()
254 aerr << "service: Unknown command " << argv[optind] << endl; in main()