Home
last modified time | relevance | path

Searched refs:mOverlayManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayManagerTest.java84 OverlayManager mOverlayManager; field in ThemeOverlayManagerTest
91 mManager = new ThemeOverlayManager(mOverlayManager, MoreExecutors.directExecutor(), in setup()
93 when(mOverlayManager.getOverlayInfosForTarget(ANDROID_PACKAGE, UserHandle.SYSTEM)) in setup()
111 when(mOverlayManager.getOverlayInfosForTarget(SYSUI_PACKAGE, UserHandle.SYSTEM)) in setup()
117 when(mOverlayManager.getOverlayInfosForTarget(SETTINGS_PACKAGE, UserHandle.SYSTEM)) in setup()
123 when(mOverlayManager.getOverlayInfosForTarget(LAUNCHER_PACKAGE, UserHandle.SYSTEM)) in setup()
129 when(mOverlayManager.getOverlayInfosForTarget(THEMEPICKER_PACKAGE, UserHandle.SYSTEM)) in setup()
142 verify(mOverlayManager).setEnabledExclusiveInCategory(overlayPackage, TEST_USER); in allCategoriesSpecified_allEnabledExclusively()
152 verify(mOverlayManager).setEnabledExclusiveInCategory( in allCategoriesSpecified_sysuiCategoriesAlsoAppliedToSysuiUser()
155 verify(mOverlayManager, never()).setEnabledExclusiveInCategory( in allCategoriesSpecified_sysuiCategoriesAlsoAppliedToSysuiUser()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayManager.java98 private final OverlayManager mOverlayManager; field in ThemeOverlayManager
105 mOverlayManager = overlayManager; in ThemeOverlayManager()
143 targetPackagesToQuery.forEach(targetPackage -> overlays.addAll(mOverlayManager in applyCurrentUserOverlays()
177 mOverlayManager.setEnabledExclusiveInCategory(pkg, userHandle); in setEnabledAsync()
179 mOverlayManager.setEnabled(pkg, false, userHandle); in setEnabledAsync()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationModeController.java83 private final IOverlayManager mOverlayManager; field in NavigationModeController
152 mOverlayManager = IOverlayManager.Stub.asInterface( in NavigationModeController()
319 defaultOverlays.addAll(Arrays.asList(mOverlayManager.getDefaultOverlayPackages())); in deferGesturalNavOverlayIfNecessary()
384 mOverlayManager.setEnabledExclusiveInCategory(overlayPkg, userId); in setModeOverlay()
401 defaultOverlays = String.join(", ", mOverlayManager.getDefaultOverlayPackages()); in dump()