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.java180 return userId == UserHandle.USER_SYSTEM && UserManager.isSplitSystemUser(); in isSystemOnly()
200 boolean hideSystemUser = UserManager.isSplitSystemUser(); in supportsSwitchToByUser()
209 if (UserManager.isSplitSystemUser()) { in canHaveProfile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBouncer.java83 if (keyguardUserId == UserHandle.USER_SYSTEM && UserManager.isSplitSystemUser()) { in show()
100 !(UserManager.isSplitSystemUser() && activeUserId == UserHandle.USER_SYSTEM) in show()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java959 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(true); in checkDeviceOwnerWithMultipleDeviceAdmins()
1000 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(true); in testDeviceOwnerMigration()
1931 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(false); in testIsProvisioningAllowed_DeviceAdminFeatureOff()
1949 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(false); in testIsProvisioningAllowed_ManagedProfileFeatureOff()
1963 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(true); in testIsProvisioningAllowed_ManagedProfileFeatureOff()
1974 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(false); in testIsProvisioningAllowed_nonSplitUser_firstBoot_primaryUser()
1993 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(false); in testIsProvisioningAllowed_nonSplitUser_afterDeviceSetup_primaryUser()
2012 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(true); in testIsProvisioningAllowed_splitUser_firstBoot_systemUser()
2032 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(true); in testIsProvisioningAllowed_splitUser_afterDeviceSetup_systemUser()
2052 when(mContext.userManagerForMock.isSplitSystemUser()).thenReturn(true); in testIsProvisioningAllowed_splitUser_firstBoot_primaryUser()
[all …]
DDevicePolicyManagerServiceTestable.java287 return context.userManagerForMock.isSplitSystemUser(); in userManagerIsSplitSystemUser()
DDpmMockContext.java169 public boolean isSplitSystemUser() { in isSplitSystemUser() method in DpmMockContext.UserManagerForMock
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java69 if (UserManager.isSplitSystemUser() && newUser.id == UserHandle.USER_SYSTEM) { in UserSwitchingDialog()
DActivityManagerService.java13322 if (UserManager.isSplitSystemUser()) { in systemReady()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1756 final boolean splitSystemUser = UserManager.isSplitSystemUser(); in upgradeIfNecessaryLP()
1788 if (!UserManager.isSplitSystemUser()) { in fallbackToSingleUserLP()
2225 if (isRestricted && !UserManager.isSplitSystemUser() in createUserInternalUnchecked()
2230 if (isRestricted && UserManager.isSplitSystemUser()) { in createUserInternalUnchecked()
2242 if (!UserManager.isSplitSystemUser() && (flags & UserInfo.FLAG_EPHEMERAL) != 0 in createUserInternalUnchecked()
2250 if (UserManager.isSplitSystemUser() in createUserInternalUnchecked()
DPackageManagerService.java1968 if (!UserManager.isSplitSystemUser()) { in enableSystemUserPackages()
/frameworks/base/core/java/android/os/
DUserManager.java747 public static boolean isSplitSystemUser() { in isSplitSystemUser() method in UserManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java516 if (UserManager.isSplitSystemUser() && userInfo != null && !userInfo.isGuest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java629 return (UserManager.isSplitSystemUser() || UserManager.isDeviceInDemoMode(mContext)) in mustNotUnlockCurrentUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1494 return UserManager.isSplitSystemUser(); in userManagerIsSplitSystemUser()
8583 return UserManager.isSplitSystemUser() && callingUserId == UserHandle.USER_SYSTEM; in isSystemOnlyUser()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java757 int parentUserId = UserManager.isSplitSystemUser() in syncSharedAccounts()