Home
last modified time | relevance | path

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

/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DUrlReplacement.java91 XmlPullParser parser = XmlPullParserFactory.newInstance().newPullParser(); in init() local
92 parser.setInput(new InputStreamReader(inputStream)); in init()
93 parser.nextTag(); in init()
95 parser.require(XmlPullParser.START_TAG, NS, URL_REPLACEMENT_TAG); in init()
96 parser.nextTag(); in init()
98 parser.require(XmlPullParser.START_TAG, NS, DYNAMIC_CONFIG_URL_TAG); in init()
99 dynamicConfigServerUrl = parser.nextText(); in init()
100 parser.require(XmlPullParser.END_TAG, NS, DYNAMIC_CONFIG_URL_TAG); in init()
102 while (parser.nextTag() == XmlPullParser.START_TAG) { in init()
103 parser.require(XmlPullParser.START_TAG, NS, ENTRY_TAG); in init()
[all …]
DProtoUtils.java42 ITestDevice device, Parser<T> parser, String command) throws Exception { in getProto() argument
45 return parser.parseFrom(receiver.getOutput()); in getProto()
/test/app_compat/csuite/tools/script/
Dgenerate_module.py212 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/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationResultXml.java115 public void parseSuiteAttributes(XmlPullParser parser, IInvocationContext context) in parseSuiteAttributes() argument
117 mSuiteName = parser.getAttributeValue(NS, SUITE_NAME_ATTR); in parseSuiteAttributes()
120 mSuiteVersion = parser.getAttributeValue(NS, SUITE_VERSION_ATTR); in parseSuiteAttributes()
123 mSuitePlan = parser.getAttributeValue(NS, SUITE_PLAN_ATTR); in parseSuiteAttributes()
126 mSuiteBuild = parser.getAttributeValue(NS, SUITE_BUILD_ATTR); in parseSuiteAttributes()
129 mReferenceUrl = parser.getAttributeValue(NS, REFERENCE_URL_ATTR); in parseSuiteAttributes()
133 mLogUrl = parser.getAttributeValue(NS, LOG_URL_ATTR); in parseSuiteAttributes()
165 public void parseBuildInfoAttributes(XmlPullParser parser, IInvocationContext context) in parseBuildInfoAttributes() argument
167 for (int index = 0; index < parser.getAttributeCount(); index++) { in parseBuildInfoAttributes()
168 String key = parser.getAttributeName(index); in parseBuildInfoAttributes()
[all …]
DCompactProtoReporter.java99 ProtoResultParser parser = new ProtoResultParser(fprr, new InvocationContext(), true); in compactAllProtos() local
103 parser.processFileProto(new File(mBaseProtoFile.getAbsolutePath() + index)); in compactAllProtos()
DPreviousResultLoader.java228 ProtoResultParser parser = new ProtoResultParser(results, null, true); in loadPreviousResults() local
231 parser.processFileProto(new File(mProtoPath + index)); in loadPreviousResults()
/test/mlts/benchmark/tools/
Dconvert_binary_to_img.py43 parser = argparse.ArgumentParser() variable
44parser.add_argument('-i','--input', type=str, required=True, help='Path to input binary file. File…
45parser.add_argument('-s','--shape', type=int, required=True, nargs=3, help='Output image shape. e.…
46 args = parser.parse_args()
Dtensor_utils.py550 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.')
555parser.add_argument('--no_parallel', help='Run on a single process instead of multiple processes.')
556 args = parser.parse_args()
/test/dittosuite/
Dditto2cpp.py21 parser = argparse.ArgumentParser(
25 parser.add_argument("-o", "--output", required=True, help="Output file",
27 parser.add_argument("-s", "--sources", required=True, nargs='+',
29 parser.add_argument("-v", "--verbose", help="Verbose output",
31 args = parser.parse_args()
Ddittobench.cpp32 auto& parser = dittosuite::Parser::GetParser(); in main() local
35 ? parser.ParseEmbedded(arguments.embedded_benchmark, arguments.parameters) in main()
36 : parser.ParseFile(arguments.file_path, arguments.parameters); in main()
DDoxyfile324 # Doxygen selects the parser to use depending on the extension of the files it
325 # parses. With this tag you can assign which parser to use for a given
331 # FortranFree, unknown formatted Fortran: Fortran. In the later case the parser
1259 # clang parser (see:
1262 # which doxygen's built-in parser lacks the necessary type information.
1285 # If clang assisted parsing is enabled you can provide the clang parser with the
1291 # will then be passed to the parser. Any options specified with CLANG_OPTIONS
2447 # are typically used for boiler-plate code, and will confuse the parser if not
/test/app_compat/csuite/pylib/
Dcsuite_test.py55 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/vts-testcase/performance/binder_benchmark/
DBinderPerformanceTest.py124 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/
DHwBinderPerformanceTest.py131 parser = benchmark_parser.GoogleBenchmarkJsonParser(
133 label_result = parser.GetArguments()
134 value_result = parser.GetRealTime()
136 self.addTableToResult(table_name, parser.ToTable())
/test/vts/vndk_utils/library/
Dar_parser.py90 with elf_parser.ElfParser(archive_path, offset) as parser:
91 symbols.extend(parser.ListGlobalSymbols())
/test/app_compat/csuite/integration_tests/
Dcsuite_test_utils.py237 parser = argparse.ArgumentParser(parents=[csuite_test.create_arg_parser()])
238 parser.add_argument(
243 parser.add_argument(
247 args, unittest_argv = parser.parse_known_args(sys.argv)
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DDeviceInteractionHelperInstaller.java147 AaptParser parser = parseApk(apkFile); in checkApkFile() local
148 if (parser == null) { in checkApkFile()
152 String apkPackage = parser.getPackageName(); in checkApkFile()
/test/mlts/benchmark/results/
Dgenerate_result.py156 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()
DChart.bundle.min.js10parser,a=e.parser||e.format;return"function"==typeof i?i(t):"string"==typeof t&&"string"==typeof a… property
/test/dittosuite/src/
Dparser.cpp32 static Parser parser; in GetParser() local
33 return parser; in GetParser()
/test/vts/tests/kernel_proc_file_api_test/proc_tests/
DKernelProcFileTestBase.py136 self.parser = yacc.yacc(module=self, write_tables=False, \
174 return self.parser.parse(file_contents, lexer=self.lexer)
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/core/
DDirectoryBasedModuleInfoProviderTest.java127 DirectoryBasedModuleInfoProvider.PackageNameParser parser, Path... paths) in createProviderWithParser() argument
129 DirectoryBasedModuleInfoProvider provider = new DirectoryBasedModuleInfoProvider(parser); in createProviderWithParser()
/test/vts-testcase/vndk/abi/
Dvts_vndk_abi_test.py91 def _DiffElfSymbols(self, dump_obj, parser): argument
106 lib_symbols = parser.ListGlobalDynamicSymbols(include_weak=True)
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DRetryFilterHelper.java158 ArgsOptionParser parser = new ArgsOptionParser(obj); in setCommandLineOptionsFor() local
159 parser.parse(OptionHelper.getValidCliArgs(retryCommandLineArgs, obj)); in setCommandLineOptionsFor()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DSubPlanHelper.java391 ArgsOptionParser parser = new ArgsOptionParser(this); in setupFields() local
392 parser.parse(OptionHelper.getValidCliArgs(retryCommandLineArgs, this)); in setupFields()