Searched refs:isSplitSystemUser (Results 1 – 14 of 14) sorted by relevance
180 return userId == UserHandle.USER_SYSTEM && UserManager.isSplitSystemUser(); in isSystemOnly()200 boolean hideSystemUser = UserManager.isSplitSystemUser(); in supportsSwitchToByUser()209 if (UserManager.isSplitSystemUser()) { in canHaveProfile()
83 if (keyguardUserId == UserHandle.USER_SYSTEM && UserManager.isSplitSystemUser()) { in show()100 !(UserManager.isSplitSystemUser() && activeUserId == UserHandle.USER_SYSTEM) in show()
959 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 …]
287 return context.userManagerForMock.isSplitSystemUser(); in userManagerIsSplitSystemUser()
169 public boolean isSplitSystemUser() { in isSplitSystemUser() method in DpmMockContext.UserManagerForMock
69 if (UserManager.isSplitSystemUser() && newUser.id == UserHandle.USER_SYSTEM) { in UserSwitchingDialog()
13322 if (UserManager.isSplitSystemUser()) { in systemReady()
1756 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()
1968 if (!UserManager.isSplitSystemUser()) { in enableSystemUserPackages()
747 public static boolean isSplitSystemUser() { in isSplitSystemUser() method in UserManager
516 if (UserManager.isSplitSystemUser() && userInfo != null && !userInfo.isGuest()
629 return (UserManager.isSplitSystemUser() || UserManager.isDeviceInDemoMode(mContext)) in mustNotUnlockCurrentUser()
1494 return UserManager.isSplitSystemUser(); in userManagerIsSplitSystemUser()8583 return UserManager.isSplitSystemUser() && callingUserId == UserHandle.USER_SYSTEM; in isSystemOnlyUser()
757 int parentUserId = UserManager.isSplitSystemUser() in syncSharedAccounts()