Searched refs:getOverlayInfosForTarget (Results 1 – 11 of 11) sorted by relevance
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/theme/ |
D | ThemeOverlayManagerTest.java | 78 when(mOverlayManager.getOverlayInfosForTarget(getEnabledTargetPackageId(), in setUp() 82 when(mOverlayManager.getOverlayInfosForTarget(getDisabledTargetPackageId(), in setUp() 91 final List<OverlayInfo> infos = manager.getOverlayInfosForTarget(docsuiPkgId, mUserHandle); in testOverlayPackagesForDocumentsUI_shouldBeNonStatic() 120 verify(mOverlayManager, times(1)).getOverlayInfosForTarget(getEnabledTargetPackageId(), in testApplyOverlays_shouldGetOverlayInfo() 141 assertThat(mOverlayManager.getOverlayInfosForTarget(getDisabledTargetPackageId(), in testDefaultDisabled_applyOverlays_shouldEnabled() 158 assertThat(mOverlayManager.getOverlayInfosForTarget(getEnabledTargetPackageId(), in testDefaultEnabled_applyOverlays_shouldDisabled()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | OverlayManagerCompat.java | 76 List<OverlayInfo> overlayInfos = getOverlayInfosForTarget(targetPackageName, in getEnabledPackageName() 120 overlaysByTarget.put(target, getOverlayInfosForTarget(target, userId)); in ensureCategoryMapForUser() 127 private List<OverlayInfo> getOverlayInfosForTarget(String targetPackageName, int userId) { in getOverlayInfosForTarget() method in OverlayManagerCompat 128 return mOverlayManager.getOverlayInfosForTarget(targetPackageName, UserHandle.of(userId)); in getOverlayInfosForTarget() 133 for (OverlayInfo overlayInfo : getOverlayInfosForTarget(target, UserHandle.myUserId())) { in addAllEnabledOverlaysForTarget()
|
D | OverlayThemeExtractor.java | 48 om.getOverlayInfosForTarget(ANDROID_PACKAGE, user).forEach(addToMap); in OverlayThemeExtractor() 49 om.getOverlayInfosForTarget(SYSUI_PACKAGE, user).forEach(addToMap); in OverlayThemeExtractor() 50 om.getOverlayInfosForTarget(SETTINGS_PACKAGE, user).forEach(addToMap); in OverlayThemeExtractor() 51 om.getOverlayInfosForTarget(ResourceConstants.getLauncherPackage(context), user) in OverlayThemeExtractor() 53 om.getOverlayInfosForTarget(context.getPackageName(), user).forEach(addToMap); in OverlayThemeExtractor()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | ThemePreferenceControllerTest.java | 86 when(mOverlayManager.getOverlayInfosForTarget(any(), anyInt())) in testAvailable_false() 95 when(mOverlayManager.getOverlayInfosForTarget(any(), anyInt())) in testAvailable_true() 148 when(mOverlayManager.getOverlayInfosForTarget(any(), anyInt())).thenReturn( in getCurrentTheme_withEnabledState() 162 when(mOverlayManager.getOverlayInfosForTarget(any(), anyInt())).thenReturn( in testGetCurrentTheme_withoutEnabledState()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/display/ |
D | ThemePreferenceControllerTest.java | 87 when(mMockOverlayManager.getOverlayInfosForTarget(any(), anyInt())).thenReturn( in testUpdateState() 126 when(mMockOverlayManager.getOverlayInfosForTarget(any(), anyInt())).thenReturn( in testUpdateState_withStaticOverlay()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/theme/ |
D | ThemeOverlayManager.java | 75 return mOverlayManager.getOverlayInfosForTarget(mTargetPackageId, mUserHandle); in getOverlayInfo()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ThemePreferenceController.java | 156 infos = mOverlayService.getOverlayInfosForTarget("android", UserHandle.myUserId()); in getAvailableThemes()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | OverlayCategoryPreferenceController.java | 185 .getOverlayInfosForTarget(OVERLAY_TARGET_PACKAGE, USER_SYSTEM); in getOverlayInfos()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | ThemePreferenceController.java | 156 infos = mOverlayService.getOverlayInfosForTarget("android", UserHandle.myUserId()); in getAvailableThemes()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | OverlayCategoryPreferenceController.java | 185 .getOverlayInfosForTarget(OVERLAY_TARGET_PACKAGE, USER_SYSTEM); in getOverlayInfos()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | OverlayCategoryPreferenceControllerTest.java | 81 return when(mOverlayManager.getOverlayInfosForTarget(eq("android"), anyInt())) in mockCurrentOverlays()
|