/frameworks/base/libs/hwui/tests/common/ |
D | TestScene.cpp | 26 std::map<std::string, TestScene::Info>& TestScene::testMap() { in testMap() function in android::uirenderer::test::TestScene 27 static std::map<std::string, TestScene::Info> testMap; in testMap() local 28 return testMap; in testMap() 32 testMap()[info.name] = info; in registerScene()
|
D | TestScene.h | 73 static std::map<std::string, Info>& testMap();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/ |
D | MetricUtilitiesTest.java | 115 Map<String, ProviderSession> testMap = new HashMap<>(); in logApiCalledCandidate_invalidProvidersCandidatePositiveSequence_success() local 116 testMap.put("s", null); in logApiCalledCandidate_invalidProvidersCandidatePositiveSequence_success() 117 MetricUtilities.logApiCalledCandidatePhase(testMap, 1, in logApiCalledCandidate_invalidProvidersCandidatePositiveSequence_success() 128 Map<String, ProviderSession> testMap = new HashMap<>(); in logApiCalledCandidateGet_invalidProvidersCandidatePositiveSequence_success() local 129 testMap.put("s", null); in logApiCalledCandidateGet_invalidProvidersCandidatePositiveSequence_success() 130 MetricUtilities.logApiCalledCandidateGetMetric(testMap, 1); in logApiCalledCandidateGet_invalidProvidersCandidatePositiveSequence_success()
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | main.cpp | 85 for (auto&& test : TestScene::testMap()) { in listTests() 181 for (auto& iter : TestScene::testMap()) { in addTestsThatMatchFilter() 383 for (auto& iter : TestScene::testMap()) { in parseOptions() 389 auto pos = TestScene::testMap().find(test); in parseOptions() 390 if (pos == TestScene::testMap().end()) { in parseOptions() 399 for (auto& iter : TestScene::testMap()) { in parseOptions()
|
/frameworks/base/errorprone/tests/java/com/google/errorprone/bugpatterns/android/ |
D | EfficientCollectionsCheckerTest.java | 37 public void testMap() { in testMap() method in EfficientCollectionsCheckerTest
|
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgentTest.java | 830 Map<Integer, Rect> testMap = Map.of(WallpaperManager.PORTRAIT, new Rect(1, 2, 3, 4)); in testOnRestore_singleCropHint() local 831 testParseCropHints(testMap); in testOnRestore_singleCropHint() 836 Map<Integer, Rect> testMap = Map.of( in testOnRestore_multipleCropHints() local 840 testParseCropHints(testMap); in testOnRestore_multipleCropHints() 843 private void testParseCropHints(Map<Integer, Rect> testMap) throws Exception { in testParseCropHints() argument 845 mockRestoredStaticWallpaperFile(testMap); in testParseCropHints() 853 boolean result = testMap.entrySet().stream().allMatch(entry -> { in testParseCropHints() 855 return (array.contains(key) && array.get(key).equals(testMap.get(key))); in testParseCropHints() 858 if (!testMap.containsKey(array.keyAt(i))) result = false; in testParseCropHints()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerDataTest.java | 377 HashMap<String, MobileIconGroup> testMap = new HashMap<>(); in networkTypeIcon_hasCarrierIdOverride() local 378 testMap.put(testDataString, NR_5G_PLUS); in networkTypeIcon_hasCarrierIdOverride() 386 mMobileMappingsProxy.setIconMap(testMap); in networkTypeIcon_hasCarrierIdOverride()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayDeviceConfigTest.java | 359 SparseArray<SurfaceControl.RefreshRateRange> testMap = in testThermalRefreshRateThrottlingFromDisplayConfig() local 361 assertNotNull(testMap); in testThermalRefreshRateThrottlingFromDisplayConfig() 362 assertEquals(1, testMap.size()); in testThermalRefreshRateThrottlingFromDisplayConfig() 363 assertEquals(60, testMap.get(Temperature.THROTTLING_EMERGENCY).min, SMALL_DELTA); in testThermalRefreshRateThrottlingFromDisplayConfig() 364 assertEquals(90, testMap.get(Temperature.THROTTLING_EMERGENCY).max, SMALL_DELTA); in testThermalRefreshRateThrottlingFromDisplayConfig()
|