Searched refs:argv (Results 76 - 100 of 227) sorted by relevance

12345678910

/frameworks/base/core/java/com/android/internal/os/
H A DRuntimeInit.java223 * 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 DslesTestLoopUri.cpp286 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 DslesTestPlayUri.cpp320 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 DslesTestPlayStreamType.cpp235 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 DbinderThroughputTest.cpp267 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 Dip-up-vpn.c67 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 Drtp_test.cpp37 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 DTestHelpers.cpp42 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 Dpublic_attr_map.py27 with open(sys.argv[1], 'rt') as f:
H A Dfix_resources.py57 if len(sys.argv) < 2:
61 res_path = os.path.abspath(sys.argv[1])
/frameworks/wilhelm/tests/listening/
H A DseekTorture.c28 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 Dgetch.c56 int main(int argc, char *argv[])
/frameworks/wilhelm/tools/mphtogen/
H A Dmphtogen.c52 int main(int argc, char **argv) argument
/frameworks/av/media/libaaudio/examples/write_sine/src/
H A Dwrite_sine_callback.cpp35 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 DMain.cpp128 int main(int argc, const char** argv) { argument
136 if (!validateFile(argv[i])) {
/frameworks/minikin/app/
H A DHyphTool.cpp38 int main(int argc, char** argv) { argument
46 char* asciiword = argv[1];
/frameworks/rs/tests/cpp_api/cppstrided/
H A Dcompute.cpp6 int main(int argc, char** argv) argument
13 int tempStride = atoi(argv[1]);
/frameworks/webview/chromium/tools/
H A Dmemreport.py130 def main(argv):
135 main(sys.argv)
/frameworks/base/libs/hwui/tests/macrobench/
H A Dmain.cpp179 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 Dbuild_font.py64 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 Dotapreopt.cpp109 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 DslesTestBassBoostPath.cpp248 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 DslesTestVirtualizerPath.cpp250 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 DslesTestSendToPresetReverb.cpp326 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 Dbackup.cpp659 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...]

Completed in 407 milliseconds

12345678910