/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | AggregatePostProcessorTest.java | 90 processedMetrics.containsKey( in testSingularDoubleMetric() 100 processedMetrics.containsKey( in testSingularDoubleMetric() 110 processedMetrics.containsKey( in testSingularDoubleMetric() 120 processedMetrics.containsKey( in testSingularDoubleMetric() 130 processedMetrics.containsKey( in testSingularDoubleMetric() 140 processedMetrics.containsKey( in testSingularDoubleMetric() 180 processedMetrics.containsKey( in testListDoubleMetric() 190 processedMetrics.containsKey(listDoubleKey + STATS_KEY_SEPARATOR + STATS_KEY_MAX)); in testListDoubleMetric() 199 processedMetrics.containsKey(listDoubleKey + STATS_KEY_SEPARATOR + STATS_KEY_MEAN)); in testListDoubleMetric() 208 processedMetrics.containsKey(listDoubleKey + STATS_KEY_SEPARATOR + STATS_KEY_VAR)); in testListDoubleMetric() [all …]
|
D | BasePostProcessorTest.java | 130 assertTrue(finalMetrics.containsKey("test")); in testPostProcessing() 134 assertTrue(finalMetrics.containsKey("test2")); in testPostProcessing() 156 assertTrue(processedMetrics.containsKey("test")); in testPerTestPostProcessing() 161 assertTrue(processedMetrics.containsKey("test2")); in testPerTestPostProcessing() 200 assertTrue(processedMetrics.containsKey("test")); in testAllTestMetricsPostProcessing() 208 assertTrue(processedMetrics.containsKey("test-agg")); in testAllTestMetricsPostProcessing()
|
D | AveragePostProcessorTest.java | 68 assertTrue(result.containsKey("key1")); in testAverage_double() 69 assertTrue(result.containsKey("key1" + AveragePostProcessor.AVERAGE_KEY_TAG)); in testAverage_double() 91 assertTrue(result.containsKey("key1")); in testAverage_long() 92 assertTrue(result.containsKey("key1" + AveragePostProcessor.AVERAGE_KEY_TAG)); in testAverage_long()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | BaseTestSuiteTest.java | 243 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadTests() 244 assertTrue(configMap.containsKey("arm64-v8a suite/stub2")); in testLoadTests() 245 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadTests() 246 assertTrue(configMap.containsKey("armeabi-v7a suite/stub2")); in testLoadTests() 260 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadTests_suite2() 261 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadTests_suite2() 303 assertTrue(configMap.containsKey("arm64-v8a suite/stubAbi")); in testLoadTestsForMultiAbi() 304 assertTrue(configMap.containsKey("armeabi-v7a suite/stubAbi")); in testLoadTestsForMultiAbi() 328 assertTrue(configMap.containsKey("arm64-v8a suite/stub-parameterized")); in testLoadTests_parameterizedModule() 329 assertTrue(configMap.containsKey("arm64-v8a suite/stub-parameterized[instant]")); in testLoadTests_parameterizedModule() [all …]
|
D | GranularRetriableTestWrapperTest.java | 346 assertTrue(testResults.containsKey(fakeTestCase)); in testRun_withMultipleRun() 347 assertTrue(testResults.containsKey(fakeTestCase2)); in testRun_withMultipleRun() 348 assertTrue(testResults.containsKey(fakeTestCase3)); in testRun_withMultipleRun() 361 .containsKey(fakeTestCase3)); in testRun_withMultipleRun() 369 .containsKey(fakeTestCase3)); in testRun_withMultipleRun() 405 assertTrue(testResults.containsKey(fakeTestCase)); in testRun_withMultipleRun_becomePass() 406 assertTrue(testResults.containsKey(fakeTestCase2)); in testRun_withMultipleRun_becomePass() 407 assertTrue(testResults.containsKey(fakeTestCase3)); in testRun_withMultipleRun_becomePass() 420 .containsKey(fakeTestCase3)); in testRun_withMultipleRun_becomePass() 428 .containsKey(fakeTestCase3)); in testRun_withMultipleRun_becomePass() [all …]
|
D | TestMappingSuiteRunnerTest.java | 186 assertTrue(configMap.containsKey(ABI_1 + " instrument")); in testLoadTests_testMappingsZip() 187 assertTrue(configMap.containsKey(ABI_1 + " suite/stub1")); in testLoadTests_testMappingsZip() 188 assertTrue(configMap.containsKey(ABI_1 + " suite/stub2")); in testLoadTests_testMappingsZip() 189 assertTrue(configMap.containsKey(ABI_2 + " instrument")); in testLoadTests_testMappingsZip() 190 assertTrue(configMap.containsKey(ABI_2 + " suite/stub1")); in testLoadTests_testMappingsZip() 191 assertTrue(configMap.containsKey(ABI_2 + " suite/stub2")); in testLoadTests_testMappingsZip() 200 assertTrue(testSouceCount.containsKey(config.getName())); in testLoadTests_testMappingsZip() 262 assertTrue(configMap.containsKey(ABI_1 + " suite/stub2")); in testLoadTests_testMappingsZipFoundTestsWithKeywords() 263 assertTrue(configMap.containsKey(ABI_2 + " suite/stub2")); in testLoadTests_testMappingsZipFoundTestsWithKeywords() 272 assertTrue(testSouceCount.containsKey(config.getName())); in testLoadTests_testMappingsZipFoundTestsWithKeywords() [all …]
|
D | TfSuiteRunnerTest.java | 110 assertTrue(configMap.containsKey("suite/stub1")); in testLoadTests() 111 assertTrue(configMap.containsKey("suite/stub2")); in testLoadTests() 125 assertTrue(configMap.containsKey("suite/stub1")); in testLoadTests_suite2() 178 assertTrue(configMap.containsKey("suite/stub1")); in testLoadSuite() 179 assertTrue(configMap.containsKey("suite/stub2")); in testLoadSuite() 181 assertTrue(configMap.containsKey("suite/sub-suite")); in testLoadSuite() 294 assertTrue(configMap.containsKey("arm64-v8a suite/stubAbi")); in testLoadTestsForMultiAbi() 295 assertTrue(configMap.containsKey("armeabi-v7a suite/stubAbi")); in testLoadTestsForMultiAbi()
|
D | AtestRunnerTest.java | 89 assertTrue(configMap.containsKey(String.format(TEST_NAME_FMT, "tf/fake"))); in testLoadTests_one() 100 assertTrue(configMap.containsKey(String.format(TEST_NAME_FMT, "tf/fake"))); in testLoadTests_two() 101 assertTrue(configMap.containsKey(String.format(TEST_NAME_FMT, "tf/func"))); in testLoadTests_two() 114 assertTrue(configMap.containsKey(testName)); in testLoadTests_filter() 134 assertTrue(configMap.containsKey(testName)); in testLoadTests_ignoreFilter()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | CpuStatsCollectorTest.java | 158 assertTrue(cpuStats.containsKey("Total")); in testCpuStatsParser_single() 159 assertTrue(cpuStats.containsKey("cpu0")); in testCpuStatsParser_single() 160 assertTrue(cpuStats.containsKey("cpu1")); in testCpuStatsParser_single() 235 assertTrue(cpuStats.containsKey("Total")); in testCpuStatsParser_single_non_aggregate() 236 assertTrue(cpuStats.containsKey("cpu0")); in testCpuStatsParser_single_non_aggregate() 237 assertTrue(cpuStats.containsKey("cpu1")); in testCpuStatsParser_single_non_aggregate() 275 assertTrue(stats.containsKey("Total")); in testCpuStatsParser_multi() 276 assertTrue(stats.containsKey("cpu0")); in testCpuStatsParser_multi() 277 assertTrue(stats.containsKey("cpu1")); in testCpuStatsParser_multi() 318 assertTrue(stats.containsKey("Total")); in testCpuStatsParser_multi_non_aggregate() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollectorTest.java | 431 assertTrue(allValues.get(0).containsKey("onteststart")); in testActualRunAnnotated_include() 432 assertTrue(allValues.get(0).containsKey("ontestend")); in testActualRunAnnotated_include() 434 assertTrue(allValues.get(1).containsKey("onteststart")); in testActualRunAnnotated_include() 435 assertTrue(allValues.get(1).containsKey("ontestend")); in testActualRunAnnotated_include() 437 assertFalse(allValues.get(2).containsKey("onteststart")); in testActualRunAnnotated_include() 438 assertFalse(allValues.get(2).containsKey("ontestend")); in testActualRunAnnotated_include() 479 assertFalse(allValues.get(0).containsKey("onteststart")); in testActualRunAnnotated_exclude() 480 assertFalse(allValues.get(0).containsKey("ontestend")); in testActualRunAnnotated_exclude() 482 assertFalse(allValues.get(1).containsKey("onteststart")); in testActualRunAnnotated_exclude() 483 assertFalse(allValues.get(1).containsKey("ontestend")); in testActualRunAnnotated_exclude() [all …]
|
D | ScheduleMultipleDeviceMetricCollectorTest.java | 175 assertTrue(metricsCollected.containsKey("jankinfo1")); in testMultipleMetricCollector_success() 176 assertTrue(metricsCollected.containsKey("meminfo1")); in testMultipleMetricCollector_success() 177 assertTrue(metricsCollected.containsKey("fragmentation1")); in testMultipleMetricCollector_success() 242 assertTrue(metricsCollected.containsKey("meminfo1")); in testMultipleMetricCollector_collectorNotFound()
|
D | ScheduledDeviceMetricCollectorTest.java | 91 assertTrue(metrics.containsKey("key1")); in testSetupAndPeriodicRunSingleDevice() 92 assertTrue(metrics.containsKey("key2")); in testSetupAndPeriodicRunSingleDevice() 93 assertTrue(metrics.containsKey("key3")); in testSetupAndPeriodicRunSingleDevice()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ArgsOptionParserTest.java | 766 assertTrue(object.mMyOption.containsKey(expKey)); in testParseBestEffort_mapOption() 768 assertTrue(object.mMyOption.containsKey(expKey2)); in testParseBestEffort_mapOption() 789 assertTrue(object.mMyOption.containsKey(expKey)); in testParseBestEffort_mapOption_singleValue() 811 assertTrue(object.mMyOption.containsKey(expKey)); in testParseBestEffort_mapOption_escaping() 833 assertTrue(object.mMyOption.containsKey(expKey)); in testParseBestEffort_mapOption_singleValue_escaping() 858 assertTrue(object.mMyOption.containsKey(expKey)); in testParseBestEffort_mapOption_bothFormat() 860 assertTrue(object.mMyOption.containsKey(expKey2)); in testParseBestEffort_mapOption_bothFormat() 1027 EasyMock.expect(c.containsKey("foo")).andStubReturn(true); in testKeyStore_string() 1105 EasyMock.expect(c.containsKey("foobar")).andStubReturn(true); in testKeyStore_stringWithUnavalableKey() 1131 EasyMock.expect(c.containsKey("foobar")).andStubReturn(true); in testKeyStore_mapOptions() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestRunResultTest.java | 202 assertTrue(testRes.getLoggedFiles().containsKey("insideTestCase")); in testLogSavedFile_runLogs() 203 assertTrue(testRes.getLoggedFiles().containsKey("insideTestCase2")); in testLogSavedFile_runLogs() 206 assertTrue(result.getRunLoggedFiles().containsKey("outsideTestCase")); in testLogSavedFile_runLogs() 207 assertTrue(result.getRunLoggedFiles().containsKey("outsideTestCase2")); in testLogSavedFile_runLogs() 281 assertTrue(testResult.containsKey(testcase1)); in testMergeRetriedRunResults_fullMergeLogicCheck() 282 assertTrue(testResult.containsKey(testcase2)); in testMergeRetriedRunResults_fullMergeLogicCheck() 283 assertTrue(testResult.containsKey(testcase3)); in testMergeRetriedRunResults_fullMergeLogicCheck() 341 assertTrue(testRunResult.containsKey(testcase)); in testMergeRetriedRunResults_checkMergingStackTraces() 409 assertTrue(runMetrics.containsKey("metric1")); in testMergeRetriedRunResults_CheckMergeMapAttributes() 411 assertTrue(runMetrics.containsKey("metric2")); in testMergeRetriedRunResults_CheckMergeMapAttributes() [all …]
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | ProcrankItem.java | 95 if (!mProcrankLines.containsKey(pid)) { in getProcessName() 106 if (!mProcrankLines.containsKey(pid)) { in getVss() 117 if (!mProcrankLines.containsKey(pid)) { in getRss() 128 if (!mProcrankLines.containsKey(pid)) { in getPss() 139 if (!mProcrankLines.containsKey(pid)) { in getUss()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | AppTransitionTests.java | 539 if (cmpNameAppMap.containsKey(delayItem.getComponentName())) { in analyzeColdLaunchDelay() 542 if (appKeyTransitionDelayMap.containsKey(appName)) { in analyzeColdLaunchDelay() 574 if (appToHomeKeyTransitionDelayMap.containsKey(prevAppName)) { in analyzeHotLaunchDelay() 588 if (cmpNameAppMap.containsKey(delayItem.getComponentName())) { in analyzeHotLaunchDelay() 594 if (appKeyTransitionDelayMap.containsKey(appName)) { in analyzeHotLaunchDelay() 622 if (appKeyTransitionDelayMap.containsKey(prevAppName)) { in analyzeAppToRecentsDelay() 635 if (cmpNameAppMap.containsKey(delayItem.getComponentName())) { in analyzeAppToRecentsDelay() 661 if (isRecentsBefore && cmpNameAppMap.containsKey(delayItem.getComponentName())) { in analyzeRecentsToAppDelay() 666 if (appKeyTransitionDelayMap.containsKey(appName)) { in analyzeRecentsToAppDelay() 689 if (actionDelayListMap.containsKey(Integer.toString(delayItem.getActionId()))) { in analyzeLatencyInfo()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackTest.java | 482 if (resultsDictionary.containsKey(metricsKey)) { in runGlitchesTest() 725 if (results.containsKey(key)) { in populateResultData() 730 if (results.containsKey(key)) { in populateResultData() 735 if (results.containsKey(key)) { in populateResultData() 740 if (results.containsKey(key)) { in populateResultData() 745 if (results.containsKey(key)) { in populateResultData() 750 if (results.containsKey(key)) { in populateResultData() 755 if (results.containsKey(key)) { in populateResultData() 813 if (map.containsKey(key)) { in getDeviceFilename() 822 if (!map.containsKey(key)) { in uploadLog()
|
/tools/loganalysis/tests/src/com/android/loganalysis/util/ |
D | RegexTrieTest.java | 273 assertTrue(map.containsKey(cp1)); in testCompPattern_hashmap() 274 assertTrue(map.containsKey(cp2)); in testCompPattern_hashmap() 275 assertFalse(map.containsKey(cpOther)); in testCompPattern_hashmap() 279 assertTrue(map.containsKey(cp1)); in testCompPattern_hashmap() 280 assertTrue(map.containsKey(cp2)); in testCompPattern_hashmap() 281 assertTrue(map.containsKey(cpOther)); in testCompPattern_hashmap()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RegexTrieTest.java | 273 assertTrue(map.containsKey(cp1)); in testCompPattern_hashmap() 274 assertTrue(map.containsKey(cp2)); in testCompPattern_hashmap() 275 assertFalse(map.containsKey(cpOther)); in testCompPattern_hashmap() 279 assertTrue(map.containsKey(cp1)); in testCompPattern_hashmap() 280 assertTrue(map.containsKey(cp2)); in testCompPattern_hashmap() 281 assertTrue(map.containsKey(cpOther)); in testCompPattern_hashmap()
|
/tools/tradefederation/contrib/src/com/android/regression/tests/ |
D | Metrics.java | 146 if (!after.mRunMetrics.containsKey(name)) { in crossValidate() 152 if (!mRunMetrics.containsKey(name)) { in crossValidate() 158 if (!after.mTestMetrics.containsKey(id)) { in crossValidate() 167 if (!mTestMetrics.containsKey(id)) { in crossValidate()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/monitor/ |
D | InvocationsMonitor.java | 66 if (mInvocationInfo.containsKey(invocationId)) { in trackInvocation() 82 if (!mInvocationInfo.containsKey(id)) { in notifyLocalSharding() 97 if (mInvocationInfo.containsKey(invocationId)) { in untrackInvocation()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/ |
D | JSONFileKeyStoreClientTest.java | 98 assertFalse("Key should not exist in null key store", mKeyStore.containsKey("test")); in testContainsKeyinNullKeyStore() 106 mKeyStore.containsKey("invalid key")); in testDoesNotContainMissingKey() 113 assertTrue("Failed to fetch valid key in key store", mKeyStore.containsKey("key1")); in testContainsValidKey()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | MultiMap.java | 63 public boolean containsKey(K key) { in containsKey() method in MultiMap 64 return mInternalMap.containsKey(key); in containsKey() 210 if (uniqueMap.containsKey(proposedKey)) { in addUniqueEntry()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | SuiteModuleLoader.java | 536 if (duplicateModule.containsKey(family)) { in getModuleParameters() 572 if (mModuleOptions.containsKey(name)) { in setUpConfig() 575 if (mModuleOptions.containsKey(id)) { in setUpConfig() 578 if (mModuleOptions.containsKey(fullId)) { in setUpConfig() 595 if (mTestOptions.containsKey(className)) { in setUpConfig()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZipToolsTest.java | 195 if (!sizes.containsKey(imagesKey)) { in testReadZFile() 199 assertTrue(sizes.containsKey(imagesKey)); in testReadZFile() 215 if (sizes.containsKey(n)) { in assertSize()
|