/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | ResultHandler.java | 182 XmlPullParser parser = factory.newPullParser(); in getResultFromDir() local 183 parser.setInput(new FileReader(resultFile)); in getResultFromDir() 185 parser.nextTag(); in getResultFromDir() 186 parser.require(XmlPullParser.START_TAG, NS, RESULT_TAG); in getResultFromDir() 188 parser.getAttributeValue(NS, START_TIME_ATTR))); in getResultFromDir() 189 invocation.setTestPlan(parser.getAttributeValue(NS, SUITE_PLAN_ATTR)); in getResultFromDir() 190 invocation.setCommandLineArgs(parser.getAttributeValue(NS, COMMAND_LINE_ARGS)); in getResultFromDir() 191 String deviceList = parser.getAttributeValue(NS, DEVICES_ATTR); in getResultFromDir() 196 parser.nextTag(); in getResultFromDir() 197 parser.require(XmlPullParser.START_TAG, NS, BUILD_TAG); in getResultFromDir() [all …]
|
D | ReportLog.java | 140 static Metric parse(XmlPullParser parser) in parse() argument 142 parser.require(XmlPullParser.START_TAG, null, METRIC_TAG); in parse() 143 String source = parser.getAttributeValue(null, SOURCE_ATTR); in parse() 144 String message = parser.getAttributeValue(null, MESSAGE_ATTR); in parse() 146 parser.getAttributeValue(null, SCORETYPE_ATTR)); in parse() 148 parser.getAttributeValue(null, SCOREUNIT_ATTR)); in parse() 150 while (parser.nextTag() == XmlPullParser.START_TAG) { in parse() 151 parser.require(XmlPullParser.START_TAG, null, VALUE_TAG); in parse() 152 valuesList.add(parser.nextText()); in parse() 153 parser.require(XmlPullParser.END_TAG, null, VALUE_TAG); in parse() [all …]
|
D | DynamicConfig.java | 127 XmlPullParser parser = XmlPullParserFactory.newInstance().newPullParser(); in createConfigMap() local 128 parser.setInput(new InputStreamReader(fileStream)); in createConfigMap() 129 parser.nextTag(); in createConfigMap() 130 parser.require(XmlPullParser.START_TAG, NS, CONFIG_TAG); in createConfigMap() 132 while (parser.nextTag() == XmlPullParser.START_TAG) { in createConfigMap() 133 parser.require(XmlPullParser.START_TAG, NS, ENTRY_TAG); in createConfigMap() 134 String key = parser.getAttributeValue(NS, KEY_ATTR); in createConfigMap() 136 while (parser.nextTag() == XmlPullParser.START_TAG) { in createConfigMap() 137 parser.require(XmlPullParser.START_TAG, NS, VALUE_TAG); in createConfigMap() 138 valueList.add(parser.nextText()); in createConfigMap() [all …]
|
/test/vts-testcase/hal/script/ |
D | launch_hal_test.py | 55 parser = argparse.ArgumentParser(description='Initiate a test case.') 56 parser.add_argument( 62 parser.add_argument( 68 parser.add_argument( 74 parser.add_argument( 80 parser.add_argument( 86 parser.add_argument( 93 parser.add_argument( 98 parser.add_argument( 103 parser.add_argument( [all …]
|
D | update_hal_adapter_tests.py | 37 parser = argparse.ArgumentParser( 39 parser.add_argument( 42 args = parser.parse_args()
|
/test/framework/harnesses/host_controller/ |
D | main.py | 95 parser = argparse.ArgumentParser() 96 parser.add_argument("--config-file", 100 parser.add_argument("--poll", action="store_true", 103 parser.add_argument("--use-tfc", action="store_true", 105 parser.add_argument("--vti", 108 parser.add_argument("--script", 111 parser.add_argument("--serial", 116 parser.add_argument("--loop", 125 parser.add_argument("--console", action="store_true", 128 parser.add_argument("--password", [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CertificationResultXml.java | 94 public void parseSuiteAttributes(XmlPullParser parser, IInvocationContext context) in parseSuiteAttributes() argument 96 mSuiteName = parser.getAttributeValue(NS, SUITE_NAME_ATTR); in parseSuiteAttributes() 99 mSuiteVersion = parser.getAttributeValue(NS, SUITE_VERSION_ATTR); in parseSuiteAttributes() 102 mSuitePlan = parser.getAttributeValue(NS, SUITE_PLAN_ATTR); in parseSuiteAttributes() 105 mSuiteBuild = parser.getAttributeValue(NS, SUITE_BUILD_ATTR); in parseSuiteAttributes() 108 mReferenceUrl = parser.getAttributeValue(NS, REFERENCE_URL_ATTR); in parseSuiteAttributes() 112 mLogUrl = parser.getAttributeValue(NS, LOG_URL_ATTR); in parseSuiteAttributes() 138 public void parseBuildInfoAttributes(XmlPullParser parser, IInvocationContext context) in parseBuildInfoAttributes() argument 140 for (int index = 0; index < parser.getAttributeCount(); index++) { in parseBuildInfoAttributes() 141 String key = parser.getAttributeName(index); in parseBuildInfoAttributes() [all …]
|
/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/vts/script/ |
D | create-test-project.py | 207 parser = argparse.ArgumentParser(description='Initiate a test case.') 208 parser.add_argument( 213 parser.add_argument( 218 parser.add_argument( 223 parser.add_argument( 229 args = parser.parse_args()
|
/test/suite_harness/tools/dex-tools/ |
D | README.txt | 3 This project contains the source code and tests for a dex file parser. 4 The parser is able to read a dex file and to create a datastructure based on it. 18 doc : dex file spec on which this parser is based 20 src : sourcecode of the parser
|
/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/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CertificationChecksumHelperTest.java | 77 CertificationChecksumHelper parser = new CertificationChecksumHelper( in testCreateChecksum() local 80 assertTrue(parser.containsFile(mFakeLogFile, mWorkingDir.getName())); in testCreateChecksum() 83 assertTrue(parser.containsTestResult(entry, run1, FINGERPRINT)); in testCreateChecksum() 87 assertTrue(parser.containsTestResult(entry, run2, FINGERPRINT)); in testCreateChecksum()
|
/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/vts-testcase/kernel/api/proc/ |
D | KernelProcFileTestBase.py | 137 self.parser = yacc.yacc(module=self, write_tables=False, \ 172 return self.parser.parse(file_contents, lexer=self.lexer)
|
/test/mlts/benchmark/results/ |
D | generate_result.py | 396 parser = argparse.ArgumentParser() 397 parser.add_argument('input', help='input csv filename') 398 parser.add_argument('output', help='output html filename') 399 args = parser.parse_args()
|