/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | AggregatePostProcessorTest.java | 93 processedMetrics.containsKey( in testSingularDoubleMetric() 103 processedMetrics.containsKey( in testSingularDoubleMetric() 113 processedMetrics.containsKey( in testSingularDoubleMetric() 123 processedMetrics.containsKey( in testSingularDoubleMetric() 133 processedMetrics.containsKey( in testSingularDoubleMetric() 143 processedMetrics.containsKey( in testSingularDoubleMetric() 153 processedMetrics.containsKey( in testSingularDoubleMetric() 195 processedMetrics.containsKey( in testListDoubleMetric() 205 processedMetrics.containsKey(listDoubleKey + STATS_KEY_SEPARATOR + STATS_KEY_MAX)); in testListDoubleMetric() 214 processedMetrics.containsKey(listDoubleKey + STATS_KEY_SEPARATOR + STATS_KEY_MEAN)); in testListDoubleMetric() [all …]
|
D | BasePostProcessorTest.java | 212 assertTrue(finalMetrics.containsKey("test")); in testRunLevelPostProcessing() 216 assertTrue(finalMetrics.containsKey("test2")); in testRunLevelPostProcessing() 246 assertTrue(finalMetrics.containsKey(TestablePostProcessor.FILE_PREFIX + RUN_DATA_NAME_1)); in testRunLogsPostProcessing_processRunLogs() 301 assertTrue(finalMetrics.containsKey(TestablePostProcessor.FILE_PREFIX + RUN_DATA_NAME_1)); in testRunLevelPostProcessing_processRunLogsOnly() 302 assertTrue(finalMetrics.containsKey(TestablePostProcessor.FILE_PREFIX + RUN_DATA_NAME_2)); in testRunLevelPostProcessing_processRunLogsOnly() 304 assertFalse(finalMetrics.containsKey(TestablePostProcessor.FILE_PREFIX + TEST_DATA_NAME_1)); in testRunLevelPostProcessing_processRunLogsOnly() 305 assertFalse(finalMetrics.containsKey(TestablePostProcessor.FILE_PREFIX + TEST_DATA_NAME_2)); in testRunLevelPostProcessing_processRunLogsOnly() 325 assertTrue(processedMetrics.containsKey("test")); in testPerTestPostProcessing() 330 assertTrue(processedMetrics.containsKey("test2")); in testPerTestPostProcessing() 371 processedMetrics.containsKey(TestablePostProcessor.FILE_PREFIX + TEST_DATA_NAME_1)); in testPerTestLogPostProcessing_processTestLogs() [all …]
|
D | StatsdEventMetricPostProcessorTest.java | 111 assertTrue(parsedMetrics.containsKey(crashKey)); in testFormattingSingleAtom() 117 assertTrue(parsedMetrics.containsKey(crashWithForegroundStateKey)); in testFormattingSingleAtom() 144 assertTrue(parsedMetrics.containsKey(crashWithForegroundStateKey)); in testFormattingMultipleAtomTypes() 151 assertTrue(parsedMetrics.containsKey(startupInstancesKey)); in testFormattingMultipleAtomTypes() 157 assertTrue(parsedMetrics.containsKey(startupMillisKey)); in testFormattingMultipleAtomTypes() 176 assertTrue(parsedMetrics.containsKey(startupMillisKey)); in testCsvForRepeatedKeys() 205 assertTrue(parsedMetrics.containsKey(package1Key)); in testNewKeysForAtomsOfSameTypeAndDifferentValues() 211 assertTrue(parsedMetrics.containsKey(package2Key)); in testNewKeysForAtomsOfSameTypeAndDifferentValues() 233 assertTrue(parsedMetrics.containsKey(crashTimestampKey)); in testAccessingEventMetricDataField() 255 assertTrue(parsedMetrics.containsKey(attributionChainKey)); in testAccessingRepeatedField() [all …]
|
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 | 284 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadTests() 285 assertTrue(configMap.containsKey("arm64-v8a suite/stub2")); in testLoadTests() 286 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadTests() 287 assertTrue(configMap.containsKey("armeabi-v7a suite/stub2")); in testLoadTests() 301 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadTests_suite2() 302 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadTests_suite2() 404 assertTrue(configMap.containsKey("arm64-v8a suite/stubAbi")); in testLoadTestsForMultiAbi() 405 assertTrue(configMap.containsKey("armeabi-v7a suite/stubAbi")); in testLoadTestsForMultiAbi() 429 assertTrue(configMap.containsKey("arm64-v8a suite/stub-parameterized")); in testLoadTests_parameterizedModule() 430 assertTrue(configMap.containsKey("arm64-v8a suite/stub-parameterized[instant]")); in testLoadTests_parameterizedModule() [all …]
|
D | TfSuiteRunnerTest.java | 118 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadTests() 119 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadTests() 120 assertTrue(configMap.containsKey("arm64-v8a suite/stub2")); in testLoadTests() 121 assertTrue(configMap.containsKey("armeabi-v7a suite/stub2")); in testLoadTests() 135 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadTests_suite2() 136 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadTests_suite2() 189 assertTrue(configMap.containsKey("arm64-v8a suite/stub1")); in testLoadSuite() 190 assertTrue(configMap.containsKey("armeabi-v7a suite/stub1")); in testLoadSuite() 191 assertTrue(configMap.containsKey("arm64-v8a suite/stub2")); in testLoadSuite() 192 assertTrue(configMap.containsKey("armeabi-v7a suite/stub2")); in testLoadSuite() [all …]
|
D | GranularRetriableTestWrapperTest.java | 369 assertTrue(testResults.containsKey(fakeTestCase)); in testRun_withMultipleRun() 370 assertTrue(testResults.containsKey(fakeTestCase2)); in testRun_withMultipleRun() 371 assertTrue(testResults.containsKey(fakeTestCase3)); in testRun_withMultipleRun() 384 .containsKey(fakeTestCase3)); in testRun_withMultipleRun() 392 .containsKey(fakeTestCase3)); in testRun_withMultipleRun() 428 assertTrue(testResults.containsKey(fakeTestCase)); in testRun_withMultipleRun_becomePass() 429 assertTrue(testResults.containsKey(fakeTestCase2)); in testRun_withMultipleRun_becomePass() 430 assertTrue(testResults.containsKey(fakeTestCase3)); in testRun_withMultipleRun_becomePass() 443 .containsKey(fakeTestCase3)); in testRun_withMultipleRun_becomePass() 451 .containsKey(fakeTestCase3)); in testRun_withMultipleRun_becomePass() [all …]
|
D | AtestRunnerTest.java | 97 assertTrue(configMap.containsKey(String.format(TEST_NAME_FMT, "tf/fake"))); in testLoadTests_one() 108 assertTrue(configMap.containsKey(String.format(TEST_NAME_FMT, "tf/fake"))); in testLoadTests_two() 109 assertTrue(configMap.containsKey(String.format(TEST_NAME_FMT, "tf/func"))); in testLoadTests_two() 122 assertTrue(configMap.containsKey(testName)); in testLoadTests_filter() 141 assertTrue(configMap.containsKey(testName)); in testLoadTests_WithTFConfigSpecified() 157 assertTrue(configMap.containsKey(testName)); in testLoadTests_WithModuleAndTFConfigSpecified() 159 assertTrue(configMap.containsKey(testName)); in testLoadTests_WithModuleAndTFConfigSpecified() 176 assertTrue(configMap.containsKey(testName)); in testLoadTests_WithModuleConfigSpecified() 191 assertTrue(configMap.containsKey(testName)); in testLoadTests_ignoreFilter()
|
D | TestMappingSuiteRunnerTest.java | 272 assertTrue(configMap.containsKey(ABI_1 + " suite/stub1")); in testLoadTests_testMappingsZip() 273 assertTrue(configMap.containsKey(ABI_1 + " suite/stub2")); in testLoadTests_testMappingsZip() 274 assertTrue(configMap.containsKey(ABI_2 + " suite/stub1")); in testLoadTests_testMappingsZip() 275 assertTrue(configMap.containsKey(ABI_2 + " suite/stub2")); in testLoadTests_testMappingsZip() 283 assertTrue(testSouceCount.containsKey(config.getName())); in testLoadTests_testMappingsZip() 345 assertTrue(configMap.containsKey(ABI_1 + " suite/stub2")); in testLoadTests_testMappingsZipFoundTestsWithKeywords() 346 assertTrue(configMap.containsKey(ABI_2 + " suite/stub2")); in testLoadTests_testMappingsZipFoundTestsWithKeywords() 355 assertTrue(testSouceCount.containsKey(config.getName())); in testLoadTests_testMappingsZipFoundTestsWithKeywords() 559 assertTrue(configMap.containsKey(ABI_1 + " suite/stubAbi")); in testLoadTestsForMultiAbi() 560 assertTrue(configMap.containsKey(ABI_2 + " suite/stubAbi")); in testLoadTestsForMultiAbi() [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/device/metric/ |
D | LogcatTimingMetricCollectorTest.java | 105 assertThat(metrics).containsKey("metric1"); in testCollect_oneDevice_perRun() 106 assertThat(metrics).containsKey("metric2"); in testCollect_oneDevice_perRun() 144 .containsKey(String.format(DEVICE_NAME_FORMAT_KEY, "device1", "metric1")); in testCollect_multipleDevice_perRun() 146 .containsKey(String.format(DEVICE_NAME_FORMAT_KEY, "device2", "metric2")); in testCollect_multipleDevice_perRun() 163 assertThat(metrics).containsKey("metric1"); in testCollect_onDevice_twoTests() 164 assertThat(metrics).containsKey("metric2"); in testCollect_onDevice_twoTests() 174 assertThat(metrics).containsKey("metric1"); in testCollect_onDevice_twoTests() 175 assertThat(metrics).containsKey("metric2"); in testCollect_onDevice_twoTests()
|
D | BaseDeviceMetricCollectorTest.java | 468 assertTrue(allValues.get(0).containsKey("onteststart")); in testActualRunAnnotated_include() 469 assertTrue(allValues.get(0).containsKey("ontestend")); in testActualRunAnnotated_include() 471 assertTrue(allValues.get(1).containsKey("onteststart")); in testActualRunAnnotated_include() 472 assertTrue(allValues.get(1).containsKey("ontestend")); in testActualRunAnnotated_include() 474 assertFalse(allValues.get(2).containsKey("onteststart")); in testActualRunAnnotated_include() 475 assertFalse(allValues.get(2).containsKey("ontestend")); in testActualRunAnnotated_include() 521 assertFalse(allValues.get(0).containsKey("onteststart")); in testActualRunAnnotated_exclude() 522 assertFalse(allValues.get(0).containsKey("ontestend")); in testActualRunAnnotated_exclude() 524 assertFalse(allValues.get(1).containsKey("onteststart")); in testActualRunAnnotated_exclude() 525 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()
|
/tools/tradefederation/core/src/com/android/tradefed/config/yaml/ |
D | YamlTestDependencies.java | 47 if (dependencyEntry.containsKey(APKS_KEY)) { in YamlTestDependencies() 52 if (dependencyEntry.containsKey(FILES_KEY)) { in YamlTestDependencies() 57 if (dependencyEntry.containsKey(DEVICE_FILES_KEY)) { in YamlTestDependencies()
|
/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/invocation_interfaces/com/android/tradefed/invoker/ |
D | ExecutionProperties.java | 96 public boolean containsKey(String key) { in containsKey() method in ExecutionProperties 97 return mProperties.containsKey(key); in containsKey()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/ |
D | JSONFileKeyStoreClientTest.java | 102 assertFalse("Key should not exist in null key store", mKeyStore.containsKey("test")); in testContainsKeyinNullKeyStore() 110 mKeyStore.containsKey("invalid key")); in testDoesNotContainMissingKey() 117 assertTrue("Failed to fetch valid key in key store", mKeyStore.containsKey("key1")); in testContainsValidKey()
|
/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/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 | 203 assertTrue(testRes.getLoggedFiles().containsKey("insideTestCase")); in testLogSavedFile_runLogs() 204 assertTrue(testRes.getLoggedFiles().containsKey("insideTestCase2")); in testLogSavedFile_runLogs() 207 assertTrue(result.getRunLoggedFiles().containsKey("outsideTestCase")); in testLogSavedFile_runLogs() 208 assertTrue(result.getRunLoggedFiles().containsKey("outsideTestCase2")); in testLogSavedFile_runLogs() 282 assertTrue(testResult.containsKey(testcase1)); in testMergeRetriedRunResults_fullMergeLogicCheck() 283 assertTrue(testResult.containsKey(testcase2)); in testMergeRetriedRunResults_fullMergeLogicCheck() 284 assertTrue(testResult.containsKey(testcase3)); in testMergeRetriedRunResults_fullMergeLogicCheck() 344 assertTrue(testRunResult.containsKey(testcase)); in testMergeRetriedRunResults_checkMergingStackTraces() 414 assertTrue(runMetrics.containsKey("metric1")); in testMergeRetriedRunResults_CheckMergeMapAttributes() 416 assertTrue(runMetrics.containsKey("metric2")); in testMergeRetriedRunResults_CheckMergeMapAttributes() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | CircularAtraceUtil.java | 59 } else if (deviceBufferMap.containsKey(device)) { in startTrace() 84 if (!deviceBufferMap.containsKey(device)) { in endTrace()
|
/tools/tradefederation/core/test_framework/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/global_configuration/com/android/tradefed/util/keystore/ |
D | IKeyStoreClient.java | 37 public boolean containsKey(String key); in containsKey() method
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | MultiMap.java | 70 public boolean containsKey(K key) { in containsKey() method in MultiMap 71 return mInternalMap.containsKey(key); in containsKey() 217 if (uniqueMap.containsKey(proposedKey)) { in addUniqueEntry()
|