Home
last modified time | relevance | path

Searched refs:isVisibleBackgroundUsersEnabled (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DAppWarnings.java22 import static android.os.UserManager.isVisibleBackgroundUsersEnabled;
130 if (!isVisibleBackgroundUsersEnabled()) { in onSystemReady()
307 if (!isVisibleBackgroundUsersEnabled()) { in removePackageAndHideDialogs()
590 if (!isVisibleBackgroundUsersEnabled()) { in getUserIdForActivity()
613 if (!isVisibleBackgroundUsersEnabled()) { in getUiContextForActivity()
869 if (!isVisibleBackgroundUsersEnabled()) { in readConfigFromFileAmsThread()
DDisplayContent.java296 UserManager.isVisibleBackgroundUsersEnabled();
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/
DCarServiceHelperInterface.java66 boolean isVisibleBackgroundUsersEnabled(); in isVisibleBackgroundUsersEnabled() method
DCarServiceHelperService.java164 UserManager.isVisibleBackgroundUsersEnabled();
803 public boolean isVisibleBackgroundUsersEnabled() { in isVisibleBackgroundUsersEnabled() method in CarServiceHelperService
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceInjectorTest.java163 doReturn(enabled).when(() -> UserManager.isVisibleBackgroundUsersEnabled()); in mockUmIsUsersOnSecondaryDisplaysEnabled()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DHelper.java343 if (!UserManager.isVisibleBackgroundUsersEnabled()) { in getDisplayContext()
/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/
DCarServiceHelperServiceUpdatableImpl.java153 if (mCarServiceHelperInterface.isVisibleBackgroundUsersEnabled()) { in CarServiceHelperServiceUpdatableImpl()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerServiceShellCommand.java488 boolean effective = UserManager.isVisibleBackgroundUsersEnabled(); in runIsVisibleBackgroundUserSupported()
DUserVisibilityMediator.java197 this(UserManager.isVisibleBackgroundUsersEnabled(), in UserVisibilityMediator()
/frameworks/opt/car/services/builtInServices/api/
Dmodule-lib-current.txt23 method public boolean isVisibleBackgroundUsersEnabled();
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java35 import static android.os.UserManager.isVisibleBackgroundUsersEnabled;
1260 if (!isVisibleBackgroundUsersEnabled()) { in enforceValidCallingUser()
/frameworks/base/core/java/android/os/
DUserManager.java3583 public static boolean isVisibleBackgroundUsersEnabled() { in isVisibleBackgroundUsersEnabled() method in UserManager
3607 return isVisibleBackgroundUsersEnabled(); in isVisibleBackgroundUsersSupported()
/frameworks/base/core/java/android/app/
DInstrumentation.java1209 if (!UserManager.isVisibleBackgroundUsersEnabled()) { in setDisplayIfNeeded()
DActivityManager.java5288 if (!UserManager.isVisibleBackgroundUsersEnabled()) { in startUserInBackgroundVisibleOnDisplay()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java2796 doReturn(true).when(() -> UserManager.isVisibleBackgroundUsersEnabled()); in testHasAccessConsidersUserVisibilityForBackgroundVisibleUsers()
2814 doReturn(true).when(() -> UserManager.isVisibleBackgroundUsersEnabled()); in testHasAccessIgnoresUserVisibilityForPrivateDisplay()
DWindowManagerServiceTests.java1488 doReturn(true).when(() -> UserManager.isVisibleBackgroundUsersEnabled()); in testAddOverlayWindowToUnassignedDisplay_notAllowed_ForVisibleBackgroundUsers()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java2330 if (delayUptimeSecs <= 0 || UserManager.isVisibleBackgroundUsersEnabled()) {
4051 return UserManager.isVisibleBackgroundUsersEnabled();
DActivityManagerShellCommand.java2508 if (!UserManager.isVisibleBackgroundUsersEnabled()) {
DActivityManagerService.java5652 if (UserManager.isVisibleBackgroundUsersEnabled() in sendIntentSender()
16962 if (UserManager.isVisibleBackgroundUsersEnabled() && userId != getCurrentUserId()) { in updatePersistentConfigurationWithAttribution()
20747 if (!UserManager.isVisibleBackgroundUsersEnabled()) {
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2447 if (!UserManager.isVisibleBackgroundUsersEnabled()) {
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java560 if (UserManager.isVisibleBackgroundUsersEnabled()) { in AccessibilityManagerService()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java319 && UserManager.isVisibleBackgroundUsersEnabled() in shouldEnableExperimentalConcurrentMultiUserMode()