Home
last modified time | relevance | path

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

12345

/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/
DXmlDefsParser.java48 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/
DJarSigningTest.java68 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/
DShardListener.java175 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/
DConfigurationXmlParser.java102 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/
DBugreportCollectorTest.java163 "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/
DTestMappingSuiteRunner.java84 if (option.getValue() != null && !option.getValue().isEmpty()) { in loadTests()
85 moduleArg = String.format("%s:%s", moduleArg, option.getValue()); in loadTests()
DModuleDefinition.java539 ((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()
DITestSuite.java273 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/
DFilePullerDeviceMetricCollector.java98 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()
DAtraceRunMetricCollector.java180 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()
DProcessMaxMemoryCollector.java138 .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/
DImageStats.java181 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/
DTestRunResult.java113 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/
DHelloWorldMultiTargetPreparer.java46 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/
DRegexTrie.java211 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/
DRegexTrie.java211 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/
DManifestWriter.java45 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()
DManifestParser.java280 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/
DCamera2LatencyTest.java83 Matcher matcher = STATS_REGEX.matcher(metric.getValue()); in parseResults()
88 CLog.w(String.format("Stats not in correct format: %s", metric.getValue())); in parseResults()
DCameraBurstStartupTest.java71 Matcher matcher = STATS_REGEX.matcher(metric.getValue()); in parseResults()
78 CLog.w(String.format("Stats not in correct format: %s", metric.getValue())); in parseResults()
DCameraShotLatencyTest.java80 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/
DMemoryHealthItem.java90 out.put(entry.getKey(), processToJson(entry.getValue())); in mapToJson()
102 out.put(entry.getKey(), entry.getValue()); in processToJson()
DDumpsysPackageStatsItem.java38 appVersions.put(entry.getKey(), entry.getValue().toJson()); in toJson()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGoogleBenchmarkResultParserTest.java115 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/
DDeviceUtilStatsMonitor.java169 if (!goneSerialEntry.getValue().addMissingSample(serial)) { in run()
198 long allocSamples = deviceRecordEntry.getValue().getNumAllocations(); in getUtilizationStats()
199 long numSamples = deviceRecordEntry.getValue().getTotalSamples(); in getUtilizationStats()

12345