Home
last modified time | relevance | path

Searched refs:testMap (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/tests/common/
DTestScene.cpp26 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()
DTestScene.h73 static std::map<std::string, Info>& testMap();
/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/
DMetricUtilitiesTest.java115 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/
Dmain.cpp85 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/
DEfficientCollectionsCheckerTest.java37 public void testMap() { in testMap() method in EfficientCollectionsCheckerTest
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
DWallpaperBackupAgentTest.java830 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/
DNetworkControllerDataTest.java377 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/
DDisplayDeviceConfigTest.java359 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()