Searched refs:getOverlayInfosForTarget (Results 1 – 9 of 9) sorted by relevance
/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 | 52 om.getOverlayInfosForTarget(ANDROID_PACKAGE, user).forEach(addToMap); in OverlayThemeExtractor() 53 om.getOverlayInfosForTarget(SYSUI_PACKAGE, user).forEach(addToMap); in OverlayThemeExtractor() 54 om.getOverlayInfosForTarget(SETTINGS_PACKAGE, user).forEach(addToMap); in OverlayThemeExtractor() 55 om.getOverlayInfosForTarget(ResourceConstants.getLauncherPackage(context), user) in OverlayThemeExtractor() 57 om.getOverlayInfosForTarget(context.getPackageName(), user).forEach(addToMap); in OverlayThemeExtractor()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | ThemeOverlayManagerTest.java | 85 when(mOverlayManager.getOverlayInfosForTarget(getEnabledTargetPackageId(), in setUp() 89 when(mOverlayManager.getOverlayInfosForTarget(getDisabledTargetPackageId(), in setUp() 116 verify(mOverlayManager, times(1)).getOverlayInfosForTarget(getEnabledTargetPackageId(), in testApplyOverlays_shouldGetOverlayInfo() 137 assertThat(mOverlayManager.getOverlayInfosForTarget(getDisabledTargetPackageId(), in testDefaultDisabled_applyOverlays_shouldEnabled() 154 assertThat(mOverlayManager.getOverlayInfosForTarget(getEnabledTargetPackageId(), in testDefaultEnabled_applyOverlays_shouldDisabled() 192 mOverlayManager.getOverlayInfosForTarget(getEnabledTargetPackageId(), in testGetValidOverlay_system_valid()
|
/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/legacy_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 | 74 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/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()
|