/frameworks/base/core/java/com/android/internal/os/ |
H A D | RuntimeInit.java | 223 * Invokes a static "main(argv[]) method on class "className". 228 * @param argv Argument vector for main() 231 private static void invokeStaticMain(String className, String[] argv, ClassLoader classLoader) argument 266 throw new Zygote.MethodAndArgsCaller(m, argv); 269 public static final void main(String[] argv) { argument 271 if (argv.length == 2 && argv[1].equals("application")) { 289 protected static void applicationInit(int targetSdkVersion, String[] argv, ClassLoader classLoader) argument 305 args = new Arguments(argv);
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestLoopUri.cpp | 286 int main(int argc, char* const argv[]) argument 291 fprintf(stdout, "OpenSL ES test %s: exercises SLPlayItf, SLSeekItf ", argv[0]); 296 fprintf(stdout, "Usage: \n\t%s path \n\t%s url\n", argv[0], argv[0]); 298 argv[0], argv[0]); 312 TestLoopUri(sl, argv[1]);
|
H A D | slesTestPlayUri.cpp | 320 int main(int argc, char* const argv[]) argument 325 fprintf(stdout, "OpenSL ES test %s: exercises SLPlayItf, SLVolumeItf ", argv[0]); 330 fprintf(stdout, "Usage: %s path \n\t%s url\n", argv[0], argv[0]); 332 argv[0], argv[0]); 346 TestPlayUri(sl, argv[1]);
|
H A D | slesTestPlayStreamType.cpp | 235 int main(int argc, char* const argv[]) argument 241 argv[0]); 246 fprintf(stdout, "Usage: \t%s url stream_type\n", argv[0]); 248 fprintf(stdout, "Example: \"%s /sdcard/my.mp3 5\" \n", argv[0]); 265 TestStreamTypeConfiguration(sl, argv[1], (SLint32)atoi(argv[2]));
|
/frameworks/native/libs/binder/tests/ |
H A D | binderThroughputTest.cpp | 267 int main(int argc, char *argv[]) argument 274 (void)argv; 279 if (string(argv[i]) == "-w") { 280 workers = atoi(argv[i+1]); 284 if (string(argv[i]) == "-i") { 285 iterations = atoi(argv[i+1]); 289 if (string(argv[i]) == "-s") { 290 payload_size = atoi(argv[i+1]); 293 if (string(argv[i]) == "-p") {
|
/frameworks/native/cmds/ip-up-vpn/ |
H A D | ip-up-vpn.c | 67 int main(int argc, char **argv) argument 77 fprintf(state, "%s\n", argv[1]); 78 fprintf(state, "%s/32\n", argv[4]);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | rtp_test.cpp | 37 int main(int argc, char **argv) { argument 44 rtpFilename = argv[1]; 45 rtcpFilename = argv[2]; 47 fprintf(stderr, "usage: %s [ rtpFilename rtcpFilename ]\n", argv[0]);
|
/frameworks/base/libs/androidfw/tests/ |
H A D | TestHelpers.cpp | 42 void InitializeTest(int* argc, char** argv) { argument 47 const std::string arg = argv[i]; 51 argv[j] = argv[j + 1];
|
/frameworks/base/tools/aapt2/tools/ |
H A D | public_attr_map.py | 27 with open(sys.argv[1], 'rt') as f:
|
H A D | fix_resources.py | 57 if len(sys.argv) < 2: 61 res_path = os.path.abspath(sys.argv[1])
|
/frameworks/wilhelm/tests/listening/ |
H A D | seekTorture.c | 28 int main(int argc, char **argv) argument 31 fprintf(stderr, "usage: %s file.wav file.map\n", argv[0]); 62 locator_uri.URI = (SLchar *) argv[1]; 98 FILE *fp_map = fopen(argv[2], "r");
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | getch.c | 56 int main(int argc, char *argv[])
|
/frameworks/wilhelm/tools/mphtogen/ |
H A D | mphtogen.c | 52 int main(int argc, char **argv) argument
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
H A D | write_sine_callback.cpp | 35 int main(int argc, char **argv) argument 45 printf("%s - Play a sine sweep using an AAudio callback\n", argv[0]);
|
/frameworks/base/tools/validatekeymaps/ |
H A D | Main.cpp | 128 int main(int argc, const char** argv) { argument 136 if (!validateFile(argv[i])) {
|
/frameworks/minikin/app/ |
H A D | HyphTool.cpp | 38 int main(int argc, char** argv) { argument 46 char* asciiword = argv[1];
|
/frameworks/rs/tests/cpp_api/cppstrided/ |
H A D | compute.cpp | 6 int main(int argc, char** argv) argument 13 int tempStride = atoi(argv[1]);
|
/frameworks/webview/chromium/tools/ |
H A D | memreport.py | 130 def main(argv): 135 main(sys.argv)
|
/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | main.cpp | 179 void parseOptions(int argc, char* argv[]) { argument 189 c = getopt_long(argc, argv, SHORT_OPTIONS, LONG_OPTIONS, &option_index); 271 fprintf(stderr, "Unrecognized option '%s'\n", argv[optind - 1]); 287 const char* test = argv[optind++]; 303 int main(int argc, char* argv[]) { argument 309 parseOptions(argc, argv);
|
/frameworks/base/tools/layoutlib/rename_font/ |
H A D | build_font.py | 64 def main(argv): 65 if len(argv) < 2: 67 for directory in argv: 71 dest_dir = argv[-1] 72 src_dirs = argv[:-1] 227 main(sys.argv[1:])
|
/frameworks/native/cmds/installd/ |
H A D | otapreopt.cpp | 109 int Main(int argc, char** argv) { argument 110 if (!ReadArguments(argc, argv)) { 298 bool ReadArguments(int argc, char** argv) { argument 302 const char* target_slot_arg = argv[1]; 315 if (argv[2] == nullptr) { 320 if (std::string("dexopt").compare(argv[2]) == 0) { 337 return ReadArgumentsV2(argc, argv, false); 339 return ReadArgumentsV1(argc, argv); 344 if (!ParseUInt(argv[2], &version)) { 345 LOG(ERROR) << "Could not parse version: " << argv[ 359 ReadArgumentsV2(int argc ATTRIBUTE_UNUSED, char** argv, bool versioned) argument 442 ReadArgumentsV1(int argc ATTRIBUTE_UNUSED, char** argv) argument 1132 otapreopt_main(const int argc, char *argv[]) argument 1160 main(const int argc, char *argv[]) argument [all...] |
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestBassBoostPath.cpp | 248 int main(int argc, char* const argv[]) argument 250 const char *programName = argv[0]; 264 if (argc >= 2 && !strcmp(argv[1], "--always-on")) { 267 ++argv; 287 // intentionally not checking that argv[2], the bassboost strength, is between 0 and 1000 288 TestBassBoostPathFromFD(sl, argv[1], (int16_t)atoi(argv[2]), alwaysOn);
|
H A D | slesTestVirtualizerPath.cpp | 250 int main(int argc, char* const argv[]) argument 252 const char *programName = argv[0]; 266 if (argc >= 2 && !strcmp(argv[1], "--always-on")) { 269 ++argv; 289 // intentionally not checking that argv[2], the virtualizer strength, is between 0 and 1000 290 TestVirtualizerPathFromFD(sl, argv[1], (int16_t)atoi(argv[2]), alwaysOn);
|
H A D | slesTestSendToPresetReverb.cpp | 326 int main(int argc, char* const argv[]) argument 328 const char *programName = argv[0]; 346 const char *arg = argv[i]; 379 TestSendToPresetReverb(sl, argv[i], atoi(argv[i+1]), (SLmillibel)atoi(argv[i+2]), 380 (SLmillibel)atoi(argv[i+3]), alwaysOn, useFd, loop);
|
/frameworks/native/cmds/rawbu/ |
H A D | backup.cpp | 659 int main (int argc, char **argv) argument 664 fprintf(stderr, "error -- %s must run as root\n", argv[0]); 670 android::show_help(argv[0]); 674 if (0 == strcmp(argv[1], "restore")) { 676 } else if (0 == strcmp(argv[1], "help")) { 677 android::show_help(argv[0]); 679 } else if (0 != strcmp(argv[1], "backup")) { 680 fprintf(stderr, "Unknown command: %s\n", argv[1]); 681 android::show_help(argv[0]); 692 ret = getopt(argc, argv, "a [all...] |