Home
last modified time | relevance | path

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

/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/
DbuildCts.py55 def __init__(self, argv): argument
57 if not (len(argv) == 6 or len(argv)==7):
58 …rint 'Usage: %s <testRoot> <ctsOutputDir> <tempDir> <androidRootDir> <docletPath> [-pts]' % argv[0]
67 self.test_root = sys.argv[1]
68 self.out_dir = sys.argv[2]
69 self.temp_dir = sys.argv[3]
70 self.android_root = sys.argv[4]
71 self.doclet_path = sys.argv[5]
73 if len(argv) ==7 and sys.argv[6] == "-pts":
167 builder = CtsBuilder(sys.argv)
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])
/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/pts/utils/
Dget_csv_report.py130 def main(argv): argument
131 if len(argv) < 3:
134 reportPath = os.path.abspath(argv[1])
135 outputCsv = os.path.abspath(argv[2])
194 main(sys.argv)
/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.cpp130 int main(int argc, char **argv) { in main() argument
131 testing::InitGoogleTest(&argc, argv); in main()
/cts/tests/tests/nativemedia/sl/src/
DSLObjectCreationTest.cpp369 int main(int argc, char **argv) { in main() argument
370 testing::InitGoogleTest(&argc, argv); in main()
/cts/apps/cts-usb-accessory/
Dcts-usb-accessory.c182 int main(int argc, char* argv[]) { in main() argument