Home
last modified time | relevance | path

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

12345678

/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DRebootReasonCollectorTest.java124 entry.getKey().contains(RebootReasonCollector.METRIC_PREFIX) in testAddingMetrics_singleDevice()
125 && entry.getKey().contains("bootloader_reason") in testAddingMetrics_singleDevice()
126 && entry.getKey().contains("system_reason_1") in testAddingMetrics_singleDevice()
127 && !entry.getKey().contains(DEVICE_SERIAL_1) in testAddingMetrics_singleDevice()
139 entry.getKey().contains(RebootReasonCollector.METRIC_PREFIX) in testAddingMetrics_singleDevice()
140 && entry.getKey().contains("bootloader_reason") in testAddingMetrics_singleDevice()
141 && entry.getKey().contains("system_reason_2") in testAddingMetrics_singleDevice()
142 && !entry.getKey().contains(DEVICE_SERIAL_1) in testAddingMetrics_singleDevice()
154 entry.getKey().equals(RebootReasonCollector.COUNT_KEY) in testAddingMetrics_singleDevice()
232 entry.getKey().contains(RebootReasonCollector.METRIC_PREFIX) in testAddingMetrics_multiDevice()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/postprocessor/
DPerfettoGenericPostProcessor.java346 names.add(node.getKey()); in flattenJson()
385 if (metric.getKey().startsWith(replaceEntry.getKey())) { in replacePrefix()
386 String newKey = metric.getKey().replaceFirst(replaceEntry.getKey(), in replacePrefix()
395 finalMetrics.put(metric.getKey(), metric.getValue()); in replacePrefix()
413 String newKey = String.format("%s_%s", mAllMetricPrefix, metric.getKey()); in replaceAllMetricPrefix()
460 if (mPerfettoPrefixKeyFields.contains(entry.getKey().toString())) { in convertPerfettoProtoMessage()
465 entry.getKey().getName().toString(), entry.getValue().toString())); in convertPerfettoProtoMessage()
470 entry.getKey().toString())) { in convertPerfettoProtoMessage()
475 "%s-%s", entry.getKey().getName().toString(), in convertPerfettoProtoMessage()
484 entry.getKey().getName(), in convertPerfettoProtoMessage()
[all …]
DStatsdGenericPostProcessor.java201 e -> String.join(METRIC_SEP, prefix, e.getKey()), in addPrefixToMetrics()
220 if (FIELDS_TO_SKIP.contains(entry.getKey().getName())) { in convertProtoMessage()
228 String.join(METRIC_SEP, entry.getKey().getName(), metricEntry.getKey()), in convertProtoMessage()
236 ? entry.getKey().getName() in convertProtoMessage()
239 entry.getKey().getName(), in convertProtoMessage()
247 String.join(METRIC_SEP, metricKeyRoot, metricEntry.getKey()), in convertProtoMessage()
259 entry.getKey().getName(), in convertProtoMessage()
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/
DGameQualificationTest.java98 intent.putExtra(argument.getKey(), argument.getValue()); in startApp()
102 intent.putExtra(argument.getKey(), value); in startApp()
107 intent.putExtra(argument.getKey(), value); in startApp()
112 intent.putExtra(argument.getKey(), value); in startApp()
117 intent.putExtra(argument.getKey(), value); in startApp()
122 intent.putExtra(argument.getKey(), value); in startApp()
127 intent.putExtra(argument.getKey(), value); in startApp()
/tools/tradefederation/core/javatests/com/android/tradefed/config/filter/
DCommandOptionsGetterTest.java86 assertEquals("filter-previous-passed", part1.getKey()); in getCommandOptionsValue_multiValue()
90 assertEquals("test-tag", part2.getKey()); in getCommandOptionsValue_multiValue()
112 assertEquals("filter-previous-passed", part1.getKey()); in getCommandOptionsValue_set()
116 assertEquals("test-tag", part2.getKey()); in getCommandOptionsValue_set()
120 assertEquals("auto-collect", part3.getKey()); in getCommandOptionsValue_set()
124 assertEquals("auto-collect", part4.getKey()); in getCommandOptionsValue_set()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayer.java97 TestRunResult module = e.getKey(); in run()
184 listener.testStarted(testEntry.getKey(), testEntry.getValue().getStartTime()); in forwardTestResults()
187 listener.testFailed(testEntry.getKey(), testEntry.getValue().getStackTrace()); in forwardTestResults()
191 testEntry.getKey(), testEntry.getValue().getStackTrace()); in forwardTestResults()
194 listener.testIgnored(testEntry.getKey()); in forwardTestResults()
197 listener.testSkipped(testEntry.getKey(), testEntry.getValue().getSkipReason()); in forwardTestResults()
201 testEntry.getKey(), "Test did not complete due to exception."); in forwardTestResults()
211 .logAssociation(logFile.getKey(), logFile.getValue()); in forwardTestResults()
221 listener.testEnded(testEntry.getKey(), testEntry.getValue().getEndTime(), metrics); in forwardTestResults()
DRetryRescheduler.java276 if (isParameterized(result.getKey())) { in updateRunner()
277 parameterizedMethods.put(result.getKey(), result.getValue()); in updateRunner()
282 addExcludeToConfig(suite, moduleResult, result.getKey().toString()); in updateRunner()
304 addExcludeToConfig(suite, moduleResult, subMap.getKey()); in updateRunner()
368 entry.getKey().getClassName(), in sortMethodToClass()
369 entry.getKey().getTestNameWithoutParams()); in sortMethodToClass()
375 forClass.put(entry.getKey(), entry.getValue()); in sortMethodToClass()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustTestResultParser.java211 listener.testStarted(test.getKey()); in done()
213 listener.testStarted(test.getKey(), startTime); in done()
216 listener.testIgnored(test.getKey()); in done()
219 test.getKey(), mTestTraceCache.getOrDefault(test.getKey(), "")); in done()
223 listener.testFailed(test.getKey(), status); in done()
226 listener.testEnded(test.getKey(), new HashMap<String, Metric>()); in done()
229 test.getKey(), in done()
/tools/tradefederation/core/test_framework/com/android/tradefed/util/clockwork/
DClockworkUtils.java45 entry.getKey().getProperty("ro.build.characteristics"); in setUpMultiDevice()
47 deviceList.add(entry.getKey()); in setUpMultiDevice()
53 companion = entry.getKey(); in setUpMultiDevice()
/tools/tradefederation/contrib/src/com/android/build/tests/
DImageStats.java208 Pattern p = Pattern.compile(e.getKey()); in processAggregationPatterns()
281 Matcher m = pattern.getKey().matcher(stat.getKey()); in performAggregation()
292 if (uncategorizedFiles.contains(stat.getKey())) { in performAggregation()
293 uncategorizedFiles.remove(stat.getKey()); in performAggregation()
309 e.getKey(), e.getValue(), mMinReportSize); in performAggregation()
312 ret.put(e.getKey(), Long.toString(e.getValue())); in performAggregation()
330 compatibleMetrics.put(fileSizeEntry.getKey(), String.valueOf(fileSizeEntry.getValue())); in convertMestricsToString()
/tools/tradefederation/core/global_configuration/com/android/tradefed/host/
DLocalHostResourceManager.java48 File localFile = fetchHostResource(entry.getKey(), entry.getValue()); in setup()
49 mDownloadedHostResources.put(entry.getKey(), localFile); in setup()
66 clearHostResource(entry.getKey(), entry.getValue()); in cleanup()
/tools/tradefederation/core/src/com/android/tradefed/config/filter/
DGlobalTestFilter.java210 if (rep.getKey().equals(DELIMITER_NAME)) { in populateGlobalFilters()
217 if (rep.getKey().equals(INCLUDE_FILTER_OPTION)) { in populateGlobalFilters()
219 } else if (rep.getKey().equals(EXCLUDE_FILTER_OPTION)) { in populateGlobalFilters()
221 } else if (rep.getKey().equals(STRICT_INCLUDE_FILTER_OPTION)) { in populateGlobalFilters()
223 } else if (rep.getKey().equals(DELIMITER_NAME)) { in populateGlobalFilters()
226 CLog.w("Unexpected response key '%s' for global filters", rep.getKey()); in populateGlobalFilters()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java293 mMainListener.testStarted(testEntry.getKey(), testEntry.getValue().getStartTime()); in forwardTestResults()
296 mMainListener.testFailed(testEntry.getKey(), testEntry.getValue().getFailure()); in forwardTestResults()
300 testEntry.getKey(), testEntry.getValue().getFailure()); in forwardTestResults()
303 mMainListener.testIgnored(testEntry.getKey()); in forwardTestResults()
313 testEntry.getKey(), in forwardTestResults()
337 ((ILogSaverListener) listener).logAssociation(logFile.getKey(), logFile.getValue()); in forwardLogAssociation()
/tools/tradefederation/core/src/com/android/tradefed/util/
DMetricUtility.java107 storedMetricsForThisTest.put(entry.getKey(), entry.getValue()); in storeTestMetrics()
140 String test_metric = String.format("%s%s%s", entry.getKey(), in writeResultsToFile()
164 buildStats(entry.getKey(), splitVals, aggregateMetrics); in aggregateMetrics()
300 if (e.getKey() != 50 || percentiles.contains(50)) {
302 STATS_KEY_PERCENTILE_PREFIX + e.getKey().toString(),
347 if (pattern.matcher(metricEntry.getKey()).matches()) {
348 filteredMetrics.put(metricEntry.getKey(), metricEntry.getValue());
/tools/tradefederation/core/src/com/android/tradefed/retry/
DResultAggregator.java174 mDetailedForwarder.logAssociation(assos.getKey(), assos.getValue()); in invocationEnded()
404 mDetailedForwarder.logAssociation(assos.getKey(), assos.getValue()); in testModuleEnded()
474 listener.testStarted(testEntry.getKey(), testEntry.getValue().getStartTime()); in forwardTestResults()
477 listener.testFailed(testEntry.getKey(), testEntry.getValue().getFailure()); in forwardTestResults()
481 testEntry.getKey(), testEntry.getValue().getFailure()); in forwardTestResults()
484 listener.testIgnored(testEntry.getKey()); in forwardTestResults()
488 testEntry.getKey(), in forwardTestResults()
492 listener.testSkipped(testEntry.getKey(), testEntry.getValue().getSkipReason()); in forwardTestResults()
502 .logAssociation(logFile.getKey(), logFile.getValue()); in forwardTestResults()
506 testEntry.getKey(), in forwardTestResults()
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/
DBasePostProcessorTest.java615 e.getKey().contains(TestablePostProcessor.FILE_PREFIX) in testAllTestLogsPostProcessing()
616 && e.getKey().contains(test1.toString()) in testAllTestLogsPostProcessing()
617 && e.getKey().contains(TEST_DATA_NAME_1) in testAllTestLogsPostProcessing()
626 e.getKey().contains(TestablePostProcessor.FILE_PREFIX) in testAllTestLogsPostProcessing()
627 && e.getKey().contains(test2.toString()) in testAllTestLogsPostProcessing()
628 && e.getKey().contains(TEST_DATA_NAME_2) in testAllTestLogsPostProcessing()
695 e.getKey().contains(TestablePostProcessor.FILE_PREFIX) in testLogPostProcessingInMultipleRuns()
696 && e.getKey().contains(test.toString()) in testLogPostProcessingInMultipleRuns()
697 && e.getKey().contains(TEST_DATA_NAME_1))); in testLogPostProcessingInMultipleRuns()
702 e.getKey().contains(TestablePostProcessor.FILE_PREFIX) in testLogPostProcessingInMultipleRuns()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DDynamicShardingConnectionInfoMessage.java65 if (part.getKey().equals(AUTH_SCOPES_KEY)) { in fromMultiPartResponse()
68 if (part.getKey().equals(SERVER_NAME_KEY)) { in fromMultiPartResponse()
77 if (part.getKey().equals(SERVER_PORT_KEY)) { in fromMultiPartResponse()
/tools/tradefederation/core/src/com/android/tradefed/build/
DDeviceFolderBuildInfo.java139 copyFile = FileUtil.createTempDir(fileEntry.getKey()); in addAllFiles()
151 fileEntry.getKey(), FileUtil.getExtension(origFile.getName())); in addAllFiles()
159 setFile(fileEntry.getKey(), copyFile, fileEntry.getValue().getVersion()); in addAllFiles()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationDef.java159 if (entry.getKey().lastModified() > entry.getValue()) { in isStale()
266 String entryName = objClassEntry.getKey(); in createConfiguration()
271 && !allowedObjects.contains(objClassEntry.getKey())) { in createConfiguration()
272 CLog.d("Skipping creation of %s", objClassEntry.getKey()); in createConfiguration()
278 configObject = createObject(objClassEntry.getKey(), configDef.mClassName); in createConfiguration()
420 createObject(objClassEntry.getKey(), configDef.mClassName); in createGlobalConfiguration()
423 config.setConfigurationObjectList(objClassEntry.getKey(), objectList); in createGlobalConfiguration()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DAtraceRunMetricCollector.java179 finalResultMap.put(resultAggregate.getKey() + "_sum", in aggregateMetrics()
182 finalResultMap.put(resultAggregate.getKey() + "_avg", in aggregateMetrics()
184 finalResultMap.put(resultAggregate.getKey() + "_max", in aggregateMetrics()
186 finalResultMap.put(resultAggregate.getKey() + "_min", in aggregateMetrics()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/
DHelloWorldMultiTargetPreparer.java44 entry.getKey().getSerialNumber(), entry.getValue().getBuildId()); in setUp()
56 entry.getKey().getSerialNumber(), entry.getValue().getBuildId()); in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DFilePullerDeviceMetricCollector.java153 processMetricFile(entry.getKey(), entry.getValue(), data); in processMetricRequest()
174 processMetricDirectory(pulledMetrics.getKey(), pulledMetrics.getValue(), data); in processMetricRequest()
196 if (p.matcher(entry.getKey()).find()) { in pullMetricFile()
210 matchedFiles.put(entry.getKey(), attemptPull); in pullMetricFile()
/tools/tradefederation/core/src/com/android/tradefed/config/yaml/
DYamlClassOptionsParser.java58 if (OPTIONS_KEY.equals(entry.getKey())) { in YamlClassOptionsParser()
66 optionVal.getKey(), optionVal.getValue().toString()); in YamlClassOptionsParser()
/tools/carrier_settings/java/
DCarrierProtoUtils.java94 if (baseBuilder.getConfig(j).getKey().equals(patchConfig.getKey())) {
109 Collections.sort(configs, Comparator.comparing(CarrierConfig.Config::getKey));
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DMultiMap.java143 put(entry.getKey(), entry.getValue()); in putAll()
197 addUniqueEntry(uniqueMap, entry.getKey().toString(), value); in getUniqueMap()
200 addUniqueEntry(uniqueMap, String.format("%s%d", entry.getKey(), count), value); in getUniqueMap()

12345678