Home
last modified time | relevance | path

Searched refs:isSplitSystemUser (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DUserInfo.java187 return userId == UserHandle.USER_SYSTEM && UserManager.isSplitSystemUser(); in isSystemOnly()
206 boolean hideSystemUser = UserManager.isSplitSystemUser(); in supportsSwitchToByUser()
215 if (UserManager.isSplitSystemUser()) { in canHaveProfile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBouncer.java88 if (keyguardUserId == UserHandle.USER_SYSTEM && UserManager.isSplitSystemUser()) { in show()
105 UserManager.isSplitSystemUser() && activeUserId == UserHandle.USER_SYSTEM; in show()
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java69 if (UserManager.isSplitSystemUser() && newUser.id == UserHandle.USER_SYSTEM) { in UserSwitchingDialog()
DActivityManagerService.java14148 if (UserManager.isSplitSystemUser() &&
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java1121 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(true); in checkDeviceOwnerWithMultipleDeviceAdmins()
1162 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(true); in testDeviceOwnerMigration()
2544 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(false); in setup_DeviceAdminFeatureOff()
2581 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(false); in setup_ManagedProfileFeatureOff()
2600 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(true); in testIsProvisioningAllowed_ManagedProfileFeatureOff()
2622 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(true); in testCheckProvisioningPreCondition_ManagedProfileFeatureOff()
2637 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(false); in setup_nonSplitUser_firstBoot_primaryUser()
2675 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(false); in setup_nonSplitUser_afterDeviceSetup_primaryUser()
2852 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(true); in setup_splitUser_firstBoot_systemUser()
2891 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(true); in setup_splitUser_afterDeviceSetup_systemUser()
[all …]
DDevicePolicyManagerServiceTestable.java306 return context.userManagerForMock.isSplitSystemUser(); in userManagerIsSplitSystemUser()
DDpmMockContext.java197 public boolean isSplitSystemUser() { in isSplitSystemUser() method in DpmMockContext.UserManagerForMock
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1888 final boolean splitSystemUser = UserManager.isSplitSystemUser(); in upgradeIfNecessaryLP()
1937 if (!UserManager.isSplitSystemUser()) { in fallbackToSingleUserLP()
2424 if (isRestricted && !UserManager.isSplitSystemUser() in createUserInternalUnchecked()
2429 if (isRestricted && UserManager.isSplitSystemUser()) { in createUserInternalUnchecked()
2441 if (!UserManager.isSplitSystemUser() && (flags & UserInfo.FLAG_EPHEMERAL) != 0 in createUserInternalUnchecked()
2449 if (UserManager.isSplitSystemUser() in createUserInternalUnchecked()
/frameworks/base/core/java/android/os/
DUserManager.java858 public static boolean isSplitSystemUser() { in isSplitSystemUser() method in UserManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java539 if (UserManager.isSplitSystemUser() && userInfo != null && !userInfo.isGuest()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java618 boolean isSystemUser = UserManager.isSplitSystemUser() && userId == UserHandle.USER_SYSTEM; in isLockScreenDisabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java659 return (UserManager.isSplitSystemUser() || UserManager.isDeviceInDemoMode(mContext)) in mustNotUnlockCurrentUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1716 return UserManager.isSplitSystemUser(); in userManagerIsSplitSystemUser()
9882 return UserManager.isSplitSystemUser() && callingUserId == UserHandle.USER_SYSTEM; in isSystemOnlyUser()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1402 int parentUserId = UserManager.isSplitSystemUser() in syncSharedAccounts()