Searched refs:isSplitSystemUser (Results 1 – 14 of 14) sorted by relevance
187 return userId == UserHandle.USER_SYSTEM && UserManager.isSplitSystemUser(); in isSystemOnly()206 boolean hideSystemUser = UserManager.isSplitSystemUser(); in supportsSwitchToByUser()215 if (UserManager.isSplitSystemUser()) { in canHaveProfile()
88 if (keyguardUserId == UserHandle.USER_SYSTEM && UserManager.isSplitSystemUser()) { in show()105 UserManager.isSplitSystemUser() && activeUserId == UserHandle.USER_SYSTEM; in show()
69 if (UserManager.isSplitSystemUser() && newUser.id == UserHandle.USER_SYSTEM) { in UserSwitchingDialog()
14148 if (UserManager.isSplitSystemUser() &&
1121 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 …]
306 return context.userManagerForMock.isSplitSystemUser(); in userManagerIsSplitSystemUser()
197 public boolean isSplitSystemUser() { in isSplitSystemUser() method in DpmMockContext.UserManagerForMock
1888 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()
858 public static boolean isSplitSystemUser() { in isSplitSystemUser() method in UserManager
539 if (UserManager.isSplitSystemUser() && userInfo != null && !userInfo.isGuest()
618 boolean isSystemUser = UserManager.isSplitSystemUser() && userId == UserHandle.USER_SYSTEM; in isLockScreenDisabled()
659 return (UserManager.isSplitSystemUser() || UserManager.isDeviceInDemoMode(mContext)) in mustNotUnlockCurrentUser()
1716 return UserManager.isSplitSystemUser(); in userManagerIsSplitSystemUser()9882 return UserManager.isSplitSystemUser() && callingUserId == UserHandle.USER_SYSTEM; in isSystemOnlyUser()
1402 int parentUserId = UserManager.isSplitSystemUser() in syncSharedAccounts()