Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 25 of 28) sorted by relevance

12

/cts/apps/CameraITS/tools/
Dconvert_yuv_to_jpg.py27 if len(sys.argv) != 5:
28 print "Usage: python %s <filename.yuv> <w> <h> <layout>"%(sys.argv[0])
30 fname, w,h = sys.argv[1], int(sys.argv[2]), int(sys.argv[3])
31 layout = sys.argv[4]
Dget_camera_ids.py24 for s in sys.argv[1:]:
Dconfig.py46 args = [s for s in sys.argv if s[:6] not in \
Drun_all_tests.py74 for s in sys.argv[1:]:
124 sys.argv[1:] + [camera_id_arg]
Dvalidate_scene.py29 for s in sys.argv[1:]:
/cts/tools/dasm/src/java_cup/
DMain.java140 public static void main(String argv[]) in main() argument
148 parse_args(argv); in main()
246 protected static void parse_args(String argv[]) in parse_args() argument
248 int len = argv.length; in parse_args()
255 if (argv[i].equals("-package")) in parse_args()
258 if (++i >= len || argv[i].startsWith("-") || in parse_args()
259 argv[i].endsWith(".cup")) in parse_args()
263 emit.package_name = argv[i]; in parse_args()
265 else if (argv[i].equals("-parser")) in parse_args()
268 if (++i >= len || argv[i].startsWith("-") || in parse_args()
[all …]
/cts/tools/utils/
Drerun.py63 def main(argv): argument
64 if len(argv) < 3:
68 ctsPath = os.path.abspath(argv[1])
69 resultXml = os.path.abspath(argv[2])
71 if len(argv) > 3:
72 if argv[3] == "-s":
73 deviceSerial = argv[4]
89 main(sys.argv)
Dandroid_api_description_splitter.py147 if len(sys.argv) < 4:
151 xmlsplitter = XMLSplitter(sys.argv[1], sys.argv[2])
153 xmlsplitter.split(sys.argv[3])
DbuildCts.py62 def __init__(self, argv): argument
64 if len(argv) != 6:
65 print 'Usage: %s <testRoot> <ctsOutputDir> <tempDir> <androidRootDir> <docletPath>' % argv[0]
73 self.test_root = sys.argv[1]
74 self.out_dir = sys.argv[2]
75 self.temp_dir = sys.argv[3]
76 self.android_root = sys.argv[4]
77 self.doclet_path = sys.argv[5]
508 builder = CtsBuilder(sys.argv)
Drm_dup_holo_imgs.py37 def main(argv): argument
70 main(sys.argv)
/cts/suite/audio_quality/test_description/conf/
Ddetect_usb_audio.py24 def main(argv): argument
25 if len(argv) < 2:
31 while current_argv < len(argv):
32 product_list.append(argv[current_argv])
51 main(sys.argv)
/cts/suite/audio_quality/executable/src/
Dmain.cpp58 int main(int argc, char *argv[]) in main() argument
61 fprintf(stderr, "%s [-l log_level][-s serial] test_xml\n", argv[0]); in main()
67 while ((opt = getopt(argc, argv, "l:s:")) != -1) { in main()
76 usage(argv[0]); in main()
81 usage(argv[0]); in main()
85 android::String8 xmlFile(argv[optind]); in main()
/cts/suite/cts/utils/
Dgrapher.py36 def main(argv): argument
37 if len(argv) != 2:
41 (_, tests) = psr.parseReports(os.path.abspath(argv[1]))
83 main(sys.argv)
Dget_csv_report.py189 def main(argv): argument
190 if len(argv) < 3:
193 reportPath = os.path.abspath(argv[1])
194 outputCsv = os.path.abspath(argv[2])
219 main(sys.argv)
/cts/tools/selinux/
DSELinuxNeverallowTestGen.py33 if len(sys.argv) != 3:
36 input_file = sys.argv[1]
37 output_file = sys.argv[2]
/cts/hostsidetests/theme/
Drun_theme_capture_device.py144 def main(argv): argument
145 if len(argv) < 3:
148 themeApkPath = argv[1]
149 outPath = os.path.abspath(argv[2])
170 main(sys.argv)
Dandroid_device.py107 main(sys.argv)
/cts/tests/tests/os/jni/seccomp-tests/
Dlocal-modifications-android.diff55 - int main(int argc, char **argv) { return test_harness_run(argc, argv); }
56 + int seccomp_test_main(int argc, char **argv) { return test_harness_run(argc, argv); } // ANDROID
/cts/suite/audio_quality/test_description/processing/
Dcalc_delay.py64 if len(sys.argv) > 1:
65 durationInSec = float(sys.argv[1])
/cts/tests/tests/nativemedia/xa/src/
DXAObjectCreationTest.cpp139 int main(int argc, char **argv) { in main() argument
140 testing::InitGoogleTest(&argc, argv); in main()
/cts/tests/tests/os/jni/seccomp-tests/tests/
Dtest_harness.h299 int seccomp_test_main(int argc, char **argv) { return test_harness_run(argc, argv); } // ANDROID
493 char __attribute__((unused)) **argv) { in test_harness_run()
/cts/tests/tests/nativemedia/sl/src/
DSLObjectCreationTest.cpp387 int main(int argc, char **argv) { in main() argument
388 testing::InitGoogleTest(&argc, argv); in main()
/cts/apps/CameraITS/pymodules/its/
Ddevice.py167 for s in sys.argv[1:]:
243 for s in sys.argv[1:]:
655 for s in sys.argv[1:]:
Dtarget.py154 for s in sys.argv[1:]:
/cts/apps/cts-usb-accessory/
Dcts-usb-accessory.c182 int main(int argc, char* argv[]) { in main() argument

12