/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/ |
D | XmlDefsParser.java | 48 final String defName = attributes.getValue("name"); in startElement() 50 attributes.getValue("package")); in startElement() 51 def.setClassName(attributes.getValue("class")); in startElement() 52 def.setRunner(attributes.getValue("runner")); in startElement() 53 def.setContinuous("true".equals(attributes.getValue("continuous"))); in startElement() 54 def.setCoverageTarget(attributes.getValue("coverage_target")); in startElement()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/ |
D | JarSigningTest.java | 68 assertEquals("1.0", manifest.getMainAttributes().getValue("Manifest-Version")); in signEmptyJar() 69 assertEquals("Me", manifest.getMainAttributes().getValue("Created-By")); in signEmptyJar() 70 assertEquals("Me", manifest.getMainAttributes().getValue("Built-By")); in signEmptyJar() 97 assertEquals("1.0", manifest.getMainAttributes().getValue("Manifest-Version")); in signJarWithPrexistingSimpleTextFilePre18() 98 assertEquals("Merry", manifest.getMainAttributes().getValue("Built-By")); in signJarWithPrexistingSimpleTextFilePre18() 99 assertEquals("Christmas", manifest.getMainAttributes().getValue("Created-By")); in signJarWithPrexistingSimpleTextFilePre18() 104 assertEquals("OOQgIEXBissIvva3ydRoaXk29Rk=", attrs.getValue("SHA1-Digest")); in signJarWithPrexistingSimpleTextFilePre18() 111 assertEquals("1.0", signature.getMainAttributes().getValue("Signature-Version")); in signJarWithPrexistingSimpleTextFilePre18() 112 assertEquals("1.0 (Android)", signature.getMainAttributes().getValue("Created-By")); in signJarWithPrexistingSimpleTextFilePre18() 119 signature.getMainAttributes().getValue("SHA1-Digest-Manifest")); in signJarWithPrexistingSimpleTextFilePre18() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardListener.java | 175 mMasterListener.testStarted(testEntry.getKey(), testEntry.getValue().getStartTime()); in forwardTestResults() 176 switch (testEntry.getValue().getStatus()) { in forwardTestResults() 179 testEntry.getValue().getStackTrace()); in forwardTestResults() 183 testEntry.getValue().getStackTrace()); in forwardTestResults() 192 forwardLogAssociation(testEntry.getValue().getLoggedFiles(), mMasterListener); in forwardTestResults() 194 if (!testEntry.getValue().getStatus().equals(TestStatus.INCOMPLETE)) { in forwardTestResults() 197 testEntry.getValue().getEndTime(), in forwardTestResults() 198 testEntry.getValue().getProtoMetrics()); in forwardTestResults() 208 ((ILogSaverListener) listener).logAssociation(logFile.getKey(), logFile.getValue()); in forwardLogAssociation()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationXmlParser.java | 102 final String objectTypeName = attributes.getValue("type"); in startElement() 119 String deviceName = attributes.getValue("name"); in startElement() 175 String optionName = attributes.getValue("name"); in startElement() 180 String optionKey = attributes.getValue("key"); in startElement() 184 String optionValue = attributes.getValue("value"); in startElement() 200 String description = attributes.getValue("description"); in startElement() 210 String includeName = attributes.getValue("name"); in startElement() 228 final String templateName = attributes.getValue("name"); in startElement() 239 includeName = attributes.getValue("default"); in startElement() 276 String isFakeString = attributes.getValue(IS_FAKE_ATTR); in addObject() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | BugreportCollectorTest.java | 163 "value", mTestCapture.getValue().get("key").getMeasurements().getSingleString()); in testPassThrough() 165 "value", mRunCapture.getValue().get("key2").getMeasurements().getSingleString()); in testPassThrough() 184 "value", mTestCapture.getValue().get("key").getMeasurements().getSingleString()); in testTestFailed() 186 "value", mRunCapture.getValue().get("key2").getMeasurements().getSingleString()); in testTestFailed() 205 "value", mTestCapture.getValue().get("key").getMeasurements().getSingleString()); in testTestEnded() 207 "value", mRunCapture.getValue().get("key2").getMeasurements().getSingleString()); in testTestEnded() 228 "value", mTestCapture.getValue().get("key").getMeasurements().getSingleString()); in testWaitForDevice() 230 "value", mRunCapture.getValue().get("key2").getMeasurements().getSingleString()); in testWaitForDevice() 249 "value", mTestCapture.getValue().get("key").getMeasurements().getSingleString()); in testTestEnded_firstCase() 251 "value", mRunCapture.getValue().get("key2").getMeasurements().getSingleString()); in testTestEnded_firstCase() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunner.java | 84 if (option.getValue() != null && !option.getValue().isEmpty()) { in loadTests() 85 moduleArg = String.format("%s:%s", moduleArg, option.getValue()); in loadTests()
|
D | ModuleDefinition.java | 539 ((ILogSaverListener) listener).logAssociation(logFile.getKey(), logFile.getValue()); in reportFinalResults() 548 listener.testStarted(testEntry.getKey(), testEntry.getValue().getStartTime()); in forwardTestResults() 549 switch (testEntry.getValue().getStatus()) { in forwardTestResults() 551 listener.testFailed(testEntry.getKey(), testEntry.getValue().getStackTrace()); in forwardTestResults() 555 testEntry.getKey(), testEntry.getValue().getStackTrace()); in forwardTestResults() 569 testEntry.getValue().getLoggedFiles().entrySet()) { in forwardTestResults() 572 .logAssociation(logFile.getKey(), logFile.getValue()); in forwardTestResults() 577 testEntry.getValue().getEndTime(), in forwardTestResults() 578 testEntry.getValue().getProtoMetrics()); in forwardTestResults()
|
D | ITestSuite.java | 273 config.getValue(), in loadAndFilter() 280 if (!filterByRunnerType(config.getValue(), mAllowedRunners)) { in loadAndFilter() 285 filterPreparers(config.getValue(), mAllowedPreparers); in loadAndFilter() 286 filteredConfig.put(config.getKey(), config.getValue()); in loadAndFilter() 312 ValidateSuiteConfigHelper.validateConfig(config.getValue()); in createExecutionList() 314 getPreparerPerDevice(config.getValue()); in createExecutionList() 318 config.getValue().getTests(), in createExecutionList() 320 config.getValue().getMultiTargetPreparers(), in createExecutionList() 321 config.getValue()); in createExecutionList()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | FilePullerDeviceMetricCollector.java | 98 processMetricFile(pulledMetrics.getKey(), pulledMetrics.getValue(), data); in processMetricRequest() 105 processMetricDirectory(pulledMetrics.getKey(), pulledMetrics.getValue(), data); in processMetricRequest() 118 File attemptPull = device.pullFile(entry.getValue()); in pullMetricFile() 122 String.format("rm -f %s", entry.getValue())); in pullMetricFile() 130 entry.getValue(), device.getSerialNumber()); in pullMetricFile()
|
D | AtraceRunMetricCollector.java | 180 Double.toString(resultAggregate.getValue().mean() in aggregateMetrics() 181 * resultAggregate.getValue().size())); in aggregateMetrics() 183 Double.toString(resultAggregate.getValue().mean())); in aggregateMetrics() 185 Double.toString(resultAggregate.getValue().max())); in aggregateMetrics() 187 Double.toString(resultAggregate.getValue().min())); in aggregateMetrics()
|
D | ProcessMaxMemoryCollector.java | 138 .setNumericValues(values.getValue().build())) in onEnd() 150 .setNumericValues(values.getValue().build())) in onEnd() 162 Measurements.newBuilder().setSingleInt(pss.getValue()).build()); in onEnd() 169 Measurements.newBuilder().setSingleInt(uss.getValue()).build()); in onEnd()
|
/tools/tradefederation/core/prod-tests/src/com/android/build/tests/ |
D | ImageStats.java | 181 ret.put(p, e.getValue()); in processAggregationPatterns() 247 total += stat.getValue(); in performAggregation() 252 String label = getAggregationLabel(m, pattern.getValue()); in performAggregation() 257 size += stat.getValue(); in performAggregation() 273 if (mMinReportSize > 0 && e.getValue() < mMinReportSize) { in performAggregation() 276 e.getKey(), e.getValue(), mMinReportSize); in performAggregation() 279 ret.put(e.getKey(), Long.toString(e.getValue())); in performAggregation()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | TestRunResult.java | 113 TestStatus status = testEntry.getValue().getStatus(); in getTestsInState() 263 String combinedValue = combineValues(existingValue, entry.getValue()); in testRunEnded() 397 TestResult newResult = TestResult.clone(testResultEntry.getValue()); in merge() 409 if (testResultEntry.getValue().getStackTrace() != null) { in merge() 415 testResultEntry.getValue().getStackTrace()); in merge() 419 testResultEntry.getValue().getStackTrace()); in merge() 422 existingResult.setStatus(testResultEntry.getValue().getStatus()); in merge() 423 existingResult.setEndTime(testResultEntry.getValue().getEndTime()); in merge()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/ |
D | HelloWorldMultiTargetPreparer.java | 46 entry.getKey().getSerialNumber(), entry.getValue().getBuildId()); in setUp() 59 entry.getKey().getSerialNumber(), entry.getValue().getBuildId()); in tearDown()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | RegexTrie.java | 211 wildcardValue = child.getValue().getValue(); in recursiveRetrieve() 226 return child.getValue().recursiveRetrieve(captures, nextKeys); in recursiveRetrieve() 284 private V getValue() { in getValue() method in RegexTrie
|
/tools/loganalysis/src/com/android/loganalysis/util/ |
D | RegexTrie.java | 211 wildcardValue = child.getValue().getValue(); in recursiveRetrieve() 226 return child.getValue().recursiveRetrieve(captures, nextKeys); in recursiveRetrieve() 284 private V getValue() { in getValue() method in RegexTrie
|
/tools/apksig/src/main/java/com/android/apksig/internal/jar/ |
D | ManifestWriter.java | 45 String manifestVersion = attributes.getValue(Attributes.Name.MANIFEST_VERSION); in writeMainSection() 113 String attrValue = attribute.getValue().toString(); in getAttributesSortedByName() 123 String attrValue = attribute.getValue(); in writeAttributes()
|
D | ManifestParser.java | 280 public String getValue() { in getValue() method in ManifestParser.Attribute 308 sectionName = firstAttr.getValue(); in Section() 357 return attr.getValue(); in getAttributeValue()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | Camera2LatencyTest.java | 83 Matcher matcher = STATS_REGEX.matcher(metric.getValue()); in parseResults() 88 CLog.w(String.format("Stats not in correct format: %s", metric.getValue())); in parseResults()
|
D | CameraBurstStartupTest.java | 71 Matcher matcher = STATS_REGEX.matcher(metric.getValue()); in parseResults() 78 CLog.w(String.format("Stats not in correct format: %s", metric.getValue())); in parseResults()
|
D | CameraShotLatencyTest.java | 80 Matcher matcher = STATS_REGEX.matcher(metric.getValue()); in parseResults() 86 CLog.w(String.format("Stats not in correct format: %s", metric.getValue())); in parseResults()
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | MemoryHealthItem.java | 90 out.put(entry.getKey(), processToJson(entry.getValue())); in mapToJson() 102 out.put(entry.getKey(), entry.getValue()); in processToJson()
|
D | DumpsysPackageStatsItem.java | 38 appVersions.put(entry.getKey(), entry.getValue().toJson()); in toJson()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GoogleBenchmarkResultParserTest.java | 115 HashMap<String, Metric> resultTest1 = capture1.getValue(); in testParseSimpleFile() 124 HashMap<String, Metric> resultTest2 = capture2.getValue(); in testParseSimpleFile() 132 HashMap<String, Metric> resultTest3 = capture3.getValue(); in testParseSimpleFile() 163 HashMap<String, Metric> results = capture.getValue(); in testParseSimpleFile_twoTests() 236 HashMap<String, Metric> results = capture.getValue(); in testParseSimpleFile_withWarning()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceUtilStatsMonitor.java | 169 if (!goneSerialEntry.getValue().addMissingSample(serial)) { in run() 198 long allocSamples = deviceRecordEntry.getValue().getNumAllocations(); in getUtilizationStats() 199 long numSamples = deviceRecordEntry.getValue().getTotalSamples(); in getUtilizationStats()
|