/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/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()
|
D | QtaguidItem.java | 121 if (!mRows.containsKey(uid)) { in updateRow() 134 return mRows.containsKey(uid); in contains()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | BaseTestSuiteTest.java | 187 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadTests() 188 assertTrue(configMap.containsKey("arm64-v8a suite/stub2")); in testLoadTests() 189 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadTests() 190 assertTrue(configMap.containsKey("armeabi-v7a suite/stub2")); in testLoadTests() 204 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadTests_suite2() 205 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadTests_suite2() 247 assertTrue(configMap.containsKey("arm64-v8a suite/stubAbi")); in testLoadTestsForMultiAbi() 248 assertTrue(configMap.containsKey("armeabi-v7a suite/stubAbi")); in testLoadTestsForMultiAbi()
|
D | TestMappingSuiteRunnerTest.java | 150 assertTrue(configMap.containsKey(ABI_1 + " instrument")); in testLoadTests_testMappingsZip() 151 assertTrue(configMap.containsKey(ABI_1 + " suite/stub1")); in testLoadTests_testMappingsZip() 152 assertTrue(configMap.containsKey(ABI_1 + " suite/stub2")); in testLoadTests_testMappingsZip() 153 assertTrue(configMap.containsKey(ABI_2 + " instrument")); in testLoadTests_testMappingsZip() 154 assertTrue(configMap.containsKey(ABI_2 + " suite/stub1")); in testLoadTests_testMappingsZip() 155 assertTrue(configMap.containsKey(ABI_2 + " suite/stub2")); in testLoadTests_testMappingsZip() 207 assertTrue(configMap.containsKey(ABI_1 + " suite/stubAbi")); in testLoadTestsForMultiAbi() 208 assertTrue(configMap.containsKey(ABI_2 + " suite/stubAbi")); in testLoadTestsForMultiAbi()
|
D | TfSuiteRunnerTest.java | 108 assertTrue(configMap.containsKey("suite/stub1")); in testLoadTests() 109 assertTrue(configMap.containsKey("suite/stub2")); in testLoadTests() 123 assertTrue(configMap.containsKey("suite/stub1")); in testLoadTests_suite2() 176 assertTrue(configMap.containsKey("suite/stub1")); in testLoadSuite() 177 assertTrue(configMap.containsKey("suite/stub2")); in testLoadSuite() 179 assertTrue(configMap.containsKey("suite/sub-suite")); in testLoadSuite() 289 assertTrue(configMap.containsKey("arm64-v8a suite/stubAbi")); in testLoadTestsForMultiAbi() 290 assertTrue(configMap.containsKey("armeabi-v7a suite/stubAbi")); in testLoadTestsForMultiAbi()
|
D | AtestRunnerTest.java | 88 assertTrue(configMap.containsKey(String.format(TEST_NAME_FMT, "tf/fake"))); in testLoadTests_one() 98 assertTrue(configMap.containsKey(String.format(TEST_NAME_FMT, "tf/fake"))); in testLoadTests_two() 99 assertTrue(configMap.containsKey(String.format(TEST_NAME_FMT, "tf/func"))); in testLoadTests_two() 111 assertTrue(configMap.containsKey(testName)); in testLoadTests_filter() 130 assertTrue(configMap.containsKey(testName)); in testLoadTests_ignoreFilter()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestRunResultTest.java | 160 assertTrue(testRes.getLoggedFiles().containsKey("insideTestCase")); in testLogSavedFile_runLogs() 161 assertTrue(testRes.getLoggedFiles().containsKey("insideTestCase2")); in testLogSavedFile_runLogs() 164 assertTrue(result.getRunLoggedFiles().containsKey("outsideTestCase")); in testLogSavedFile_runLogs() 165 assertTrue(result.getRunLoggedFiles().containsKey("outsideTestCase2")); in testLogSavedFile_runLogs() 235 assertTrue(testResult.containsKey(testcase1)); in testMergeRetriedRunResults_fullMergeLogicCheck() 236 assertTrue(testResult.containsKey(testcase2)); in testMergeRetriedRunResults_fullMergeLogicCheck() 237 assertTrue(testResult.containsKey(testcase3)); in testMergeRetriedRunResults_fullMergeLogicCheck() 291 assertTrue(testRunResult.containsKey(testcase)); in testMergeRetriedRunResults_checkMergingStackTraces() 355 assertTrue(runMetrics.containsKey("metric1")); in testMergeRetriedRunResults_CheckMergeMapAttributes() 357 assertTrue(runMetrics.containsKey("metric2")); in testMergeRetriedRunResults_CheckMergeMapAttributes() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/ |
D | JSONFileKeyStoreClientTest.java | 88 assertFalse("Key should not exist in null key store", mKeyStore.containsKey("test")); in testContainsKeyinNullKeyStore() 95 mKeyStore.containsKey("invalid key")); in testDoesNotContainMissingKey() 101 assertTrue("Failed to fetch valid key in key store", mKeyStore.containsKey("key1")); in testContainsValidKey()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/ |
D | Metrics.java | 147 if (!after.mRunMetrics.containsKey(name)) { in crossValidate() 153 if (!mRunMetrics.containsKey(name)) { in crossValidate() 159 if (!after.mTestMetrics.containsKey(id)) { in crossValidate() 168 if (!mTestMetrics.containsKey(id)) { in crossValidate()
|
/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 | ScheduledDeviceMetricCollectorTest.java | 91 assertTrue(metrics.containsKey("key1")); in testSetupAndPeriodicRunSingleDevice() 92 assertTrue(metrics.containsKey("key2")); in testSetupAndPeriodicRunSingleDevice() 93 assertTrue(metrics.containsKey("key3")); in testSetupAndPeriodicRunSingleDevice()
|
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()
|
/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()
|
D | EmmaXmlReporterParserTest.java | 116 Assert.assertTrue(error, map.containsKey(expectedKey)); in assertMapHasValue() 134 Assert.assertTrue(error, map.containsKey(expectedKey)); in assertMapHasValueArray()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | MultiMap.java | 51 public boolean containsKey(K key) { in containsKey() method in MultiMap 52 return mInternalMap.containsKey(key); in containsKey() 186 if (uniqueMap.containsKey(proposedKey)) { in addUniqueEntry()
|
D | CircularAtraceUtil.java | 59 } else if (deviceBufferMap.containsKey(device)) { in startTrace() 84 if (!deviceBufferMap.containsKey(device)) { in endTrace()
|
D | DirectedGraph.java | 50 if (neighbors.containsKey(vertex)) { in addVertice() 60 return neighbors.containsKey(vertex); in contains()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ArgsOptionParserTest.java | 751 assertTrue(object.mMyOption.containsKey(expKey)); in testParseBestEffort_mapOption() 753 assertTrue(object.mMyOption.containsKey(expKey2)); in testParseBestEffort_mapOption() 774 assertTrue(object.mMyOption.containsKey(expKey)); in testParseBestEffort_mapOption_singleValue() 796 assertTrue(object.mMyOption.containsKey(expKey)); in testParseBestEffort_mapOption_escaping() 818 assertTrue(object.mMyOption.containsKey(expKey)); in testParseBestEffort_mapOption_singleValue_escaping() 843 assertTrue(object.mMyOption.containsKey(expKey)); in testParseBestEffort_mapOption_bothFormat() 845 assertTrue(object.mMyOption.containsKey(expKey2)); in testParseBestEffort_mapOption_bothFormat() 1012 EasyMock.expect(c.containsKey("foo")).andStubReturn(true); in testKeyStore_string() 1090 EasyMock.expect(c.containsKey("foobar")).andStubReturn(true); in testKeyStore_stringWithUnavalableKey() 1116 EasyMock.expect(c.containsKey("foobar")).andStubReturn(true); in testKeyStore_mapOptions() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/keystore/ |
D | IKeyStoreClient.java | 37 public boolean containsKey(String key); in containsKey() method
|
D | StubKeyStoreClient.java | 29 public boolean containsKey(String key) { in containsKey() method in StubKeyStoreClient
|
D | DryRunKeyStore.java | 27 public boolean containsKey(String key) { in containsKey() method in DryRunKeyStore
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/ |
D | CompanionDeviceTracker.java | 64 if (mDeviceMapping.containsKey(device)) { in allocateCompanionDevice() 81 if (!mDeviceMapping.containsKey(device)) { in freeCompanionDevice()
|
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
D | AppTransitionTests.java | 456 if (cmpNameAppMap.containsKey(delayItem.getComponentName())) { in analyzeColdLaunchDelay() 459 if (appKeyTransitionDelayMap.containsKey(appName)) { in analyzeColdLaunchDelay() 491 if (appToHomeKeyTransitionDelayMap.containsKey(prevAppName)) { in analyzeHotLaunchDelay() 505 if (cmpNameAppMap.containsKey(delayItem.getComponentName())) { in analyzeHotLaunchDelay() 511 if (appKeyTransitionDelayMap.containsKey(appName)) { in analyzeHotLaunchDelay() 539 if (appKeyTransitionDelayMap.containsKey(prevAppName)) { in analyzeAppToRecentsDelay() 552 if (cmpNameAppMap.containsKey(delayItem.getComponentName())) { in analyzeAppToRecentsDelay() 578 if (isRecentsBefore && cmpNameAppMap.containsKey(delayItem.getComponentName())) { in analyzeRecentsToAppDelay() 583 if (appKeyTransitionDelayMap.containsKey(appName)) { in analyzeRecentsToAppDelay() 606 if (actionDelayListMap.containsKey(Integer.toString(delayItem.getActionId()))) { in analyzeLatencyInfo()
|