/test/app_compat/csuite/tools/script/ |
D | generate_module.py | 212 parser = argparse.ArgumentParser() 213 parser.add_argument( 218 parser.add_argument( 223 parser.add_argument( 228 parser.add_argument( 238 return parser.parse_args(args) 242 parser = parse_args(sys.argv[1:]) 243 generate_all_modules_from_config(parser.package_list, parser.root_dir, 244 parser.build_module_template, 245 parser.test_module_template)
|
/test/vts/utils/python/coverage/ |
D | parser_test.py | 23 from vts.utils.python.coverage import parser 147 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 156 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 166 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 172 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 173 self.assertRaises(parser.FileFormatError, p.ReadInt) 180 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 185 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 195 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 211 p = parser.GcovStreamParserUtil(self.stream, MAGIC) [all …]
|
D | gcda_parser_test.py | 54 parser = gcda_parser.GCDAParser(self.stream) 55 parser.file_summary = fs 56 func = parser.ReadFunction(5) 75 parser = gcda_parser.GCDAParser(self.stream) 76 parser.file_summary = fs 77 parser.ReadCounts(func) 111 parser = gcda_parser.GCDAParser(self.stream) 112 parser.file_summary = fs 113 parser.ReadCounts(func)
|
D | gcno_parser_test.py | 60 parser = gcno_parser.GCNOParser(self.stream) 61 summary = parser.ReadFunction() 76 parser = gcno_parser.GCNOParser(self.stream) 77 parser.ReadBlocks(n_blocks, func) 101 parser = gcno_parser.GCNOParser(self.stream) 103 parser.ReadArcs(n_arcs * 2 + 1, func) 141 parser = gcno_parser.GCNOParser(self.stream) 142 parser.ReadArcs(4 * 2 + 1, func) 180 parser = gcno_parser.GCNOParser(self.stream) 181 parser.ReadLines(n_arcs + name_length + 3, func)
|
D | gcda_parser.py | 31 from vts.utils.python.coverage import parser 34 class GCDAParser(parser.GcovStreamParserUtil): 108 except parser.FileFormatError: 116 raise parser.FileFormatError(
|
D | sancov_parser.py | 25 import parser 81 raise parser.FileFormatError('Empty file.') 90 raise parser.FileFormatError('Invalid magic.')
|
D | gcno_parser.py | 38 from vts.utils.python.coverage import parser 41 class GCNOParser(parser.GcovStreamParserUtil): 104 except parser.FileFormatError: 106 raise parser.FileFormatError("Invalid file.")
|
D | coverage_utils.py | 33 from vts.utils.python.coverage.parser import FileFormatError 721 parser = argparse.ArgumentParser(description="Coverage process tool.") variable 722 parser.add_argument( 727 parser.add_argument( 732 parser.add_argument( 734 parser.add_argument( 739 parser.add_argument( 744 args = parser.parse_args()
|
D | coverage_report_test.py | 41 parser = gcda_parser.GCDAParser(file) 42 parser.Parse(gcno_summary)
|
D | sancov_parser_test.py | 24 import parser 48 with self.assertRaises(parser.FileFormatError) as context:
|
/test/vti/test_serving/gae/testing/ |
D | e2e_test.py | 108 parser = argparse.ArgumentParser( variable 111 parser.add_argument( 115 parser.add_argument( 119 parser.add_argument( 124 args = parser.parse_args()
|
/test/app_compat/csuite/pylib/ |
D | csuite_test.py | 55 parser = argparse.ArgumentParser(add_help=add_help) 57 parser.add_argument('-s', '--serial', help='the device serial') 58 parser.add_argument( 63 return parser
|
/test/app_compat/csuite/harness/src/main/java/com/android/tradefed/util/ |
D | PublicApkUtil.java | 125 AaptParser parser = AaptParser.parse(apk); in getApkListFromDirectory() local 126 if (parser == null) { in getApkListFromDirectory() 133 parser.getPackageName(), in getApkListFromDirectory() 134 parser.getVersionName(), in getApkListFromDirectory() 135 parser.getVersionCode(), in getApkListFromDirectory()
|
/test/vts-testcase/performance/binder_benchmark/ |
D | BinderPerformanceTest.py | 124 parser = benchmark_parser.GoogleBenchmarkJsonParser( 126 label_result = parser.GetArguments() 127 value_result = parser.GetRealTime() 129 self.addTableToResult(table_name, parser.ToTable())
|
/test/vts-testcase/performance/hwbinder_benchmark/ |
D | HwBinderPerformanceTest.py | 131 parser = benchmark_parser.GoogleBenchmarkJsonParser( 133 label_result = parser.GetArguments() 134 value_result = parser.GetRealTime() 136 self.addTableToResult(table_name, parser.ToTable())
|
/test/mlts/benchmark/results/ |
D | generate_result.py | 156 parser = BenchmarkResultParser(csvfile) 159 benchmark_info = parser.next() 162 while parser.next(): 163 results.append(parser.read_benchmark_result()) 537 parser = argparse.ArgumentParser() 538 parser.add_argument('input', help='input csv filename') 539 parser.add_argument('output', help='output html filename') 540 args = parser.parse_args()
|
/test/app_compat/csuite/integration_tests/ |
D | csuite_test_utils.py | 268 parser = argparse.ArgumentParser(parents=[csuite_test.create_arg_parser()]) 269 parser.add_argument( 274 parser.add_argument( 278 args, unittest_argv = parser.parse_known_args(sys.argv)
|
/test/vts/utils/python/library/ |
D | ar_parser.py | 90 with elf_parser.ElfParser(archive_path, offset) as parser: 91 symbols.extend(parser.ListGlobalSymbols())
|
/test/mlts/benchmark/tools/ |
D | tensor_utils.py | 550 parser = argparse.ArgumentParser(description='Utilities for parsing intermediate tensors.') variable 551 parser.add_argument('android_build_top', help='Your Android build top path.') 552 parser.add_argument('dump_dir', help='The dump dir pulled from the device.') 553 parser.add_argument('--model_name', help='NNAPI model name. Run all models if not specified.') 554 parser.add_argument('--output_file_path', help='Animation HTML path.') 555 …parser.add_argument('--no_parallel', help='Run on a single process instead of multiple processes.') 556 args = parser.parse_args()
|
/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/ |
D | KernelProcFileTestBase.py | 136 self.parser = yacc.yacc(module=self, write_tables=False, \ 174 return self.parser.parse(file_contents, lexer=self.lexer)
|
/test/vts/drivers/resource/resource_manager/ |
D | VtsResourceManager.cpp | 543 parse_fn parser = in FmqProto2Cpp() local 545 if (!parser) return false; // Error logged in helper function. in FmqProto2Cpp() 549 (*parser)(fmq_request.write_data(i), &write_data[i], ""); in FmqProto2Cpp() 660 set_result_fn parser = in FmqCpp2Proto() local 662 if (!parser) return false; // Error logged in helper function. in FmqCpp2Proto() 667 (*parser)(item, read_data[i]); in FmqCpp2Proto()
|
/test/vts-testcase/vndk/abi/ |
D | vts_vndk_abi_test.py | 91 def _DiffElfSymbols(self, dump_obj, parser): argument 106 lib_symbols = parser.ListGlobalDynamicSymbols(include_weak=True)
|
D | VtsVndkAbiTest.py | 97 def _DiffElfSymbols(self, dump_obj, parser): argument 112 lib_symbols = parser.ListGlobalDynamicSymbols(include_weak=True)
|
/test/vti/dashboard/src/main/java/com/android/vts/proto/ |
D | VtsReportMessage.java | 2124 public static com.google.protobuf.Parser<AndroidDeviceInfoMessage> parser() { in parser() method in VtsReportMessage.AndroidDeviceInfoMessage 3121 public static com.google.protobuf.Parser<AndroidBuildInfo> parser() { in parser() method in VtsReportMessage.AndroidBuildInfo 3630 public static com.google.protobuf.Parser<VtsHostInfo> parser() { in parser() method in VtsReportMessage.VtsHostInfo 6420 public static com.google.protobuf.Parser<TestCaseReportMessage> parser() { in parser() method in VtsReportMessage.TestCaseReportMessage 8090 public static com.google.protobuf.Parser<ProfilingReportMessage> parser() { in parser() method in VtsReportMessage.ProfilingReportMessage 9011 public static com.google.protobuf.Parser<SystraceReportMessage> parser() { in parser() method in VtsReportMessage.SystraceReportMessage 10613 public static com.google.protobuf.Parser<CoverageReportMessage> parser() { in parser() method in VtsReportMessage.CoverageReportMessage 11604 public static com.google.protobuf.Parser<HalInterfaceMessage> parser() { in parser() method in VtsReportMessage.HalInterfaceMessage 12662 public static com.google.protobuf.Parser<ApiCoverageReportMessage> parser() { in parser() method in VtsReportMessage.ApiCoverageReportMessage 13425 public static com.google.protobuf.Parser<LogMessage> parser() { in parser() method in VtsReportMessage.LogMessage [all …]
|
D | TestSuiteResultMessageProto.java | 4439 public static com.google.protobuf.Parser<TestSuiteResultMessage> parser() { in parser() method in TestSuiteResultMessageProto.TestSuiteResultMessage
|