Home
last modified time | relevance | path

Searched refs:getOverlayInfosForTarget (Results 1 – 11 of 11) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/theme/
DThemeOverlayManagerTest.java78 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/
DOverlayManagerCompat.java76 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()
DOverlayThemeExtractor.java48 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/
DThemePreferenceControllerTest.java86 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/
DThemePreferenceControllerTest.java87 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/
DThemeOverlayManager.java75 return mOverlayManager.getOverlayInfosForTarget(mTargetPackageId, mUserHandle); in getOverlayInfo()
/packages/apps/Settings/src/com/android/settings/display/
DThemePreferenceController.java156 infos = mOverlayService.getOverlayInfosForTarget("android", UserHandle.myUserId()); in getAvailableThemes()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DOverlayCategoryPreferenceController.java185 .getOverlayInfosForTarget(OVERLAY_TARGET_PACKAGE, USER_SYSTEM); in getOverlayInfos()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DThemePreferenceController.java156 infos = mOverlayService.getOverlayInfosForTarget("android", UserHandle.myUserId()); in getAvailableThemes()
/packages/apps/Settings/src/com/android/settings/development/
DOverlayCategoryPreferenceController.java185 .getOverlayInfosForTarget(OVERLAY_TARGET_PACKAGE, USER_SYSTEM); in getOverlayInfos()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DOverlayCategoryPreferenceControllerTest.java81 return when(mOverlayManager.getOverlayInfosForTarget(eq("android"), anyInt())) in mockCurrentOverlays()