Searched refs:canAddMoreManagedProfiles (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceCreateProfileTest.java | 211 if (!mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeProfile() 221 while (mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeProfile() 228 mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeProfile() 236 if (!mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeDisabledProfile() 247 while (mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeDisabledProfile() 254 mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeDisabledProfile() 300 Mockito.doReturn(false).when(userManagerServiceSpy).canAddMoreManagedProfiles( in testCreateManagedProfileForUser_maxManagedUsersException()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 73 boolean canAddMoreManagedProfiles(int userId, boolean allowedToRemoveOne); in canAddMoreManagedProfiles() method
|
D | UserManager.java | 5209 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() method in UserManager 5211 return mService.canAddMoreManagedProfiles(userId, allowedToRemoveOne); in canAddMoreManagedProfiles()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 3545 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, true)) in setup_DeviceAdminFeatureOff() 3581 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, true)) in setup_ManagedProfileFeatureOff() 3616 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, false)) in setup_firstBoot_systemUser() 3662 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, false)) in setup_systemUserSetupComplete_systemUser() 3680 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in setup_withDo_systemUser_ManagedProfile() 3831 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, false)) in setup_firstBoot_headlessSystemUserMode() 3854 when(getServices().userManager.canAddMoreManagedProfiles(CALLER_USER_HANDLE, false)) in testIsProvisioningAllowed_firstBoot_secondaryUser() 3872 when(getServices().userManager.canAddMoreManagedProfiles(CALLER_USER_HANDLE, in setup_provisionManagedProfileWithDeviceOwner_primaryUser() 3908 when(getServices().userManager.canAddMoreManagedProfiles(CALLER_USER_HANDLE, in setup_provisionManagedProfileOneAlreadyExist_primaryUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 3749 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() method in UserManagerService
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 17279 if (!mUserManager.canAddMoreManagedProfiles(
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 36558 Landroid/os/IUserManager$Stub$Proxy;->canAddMoreManagedProfiles(IZ)Z 36682 Landroid/os/IUserManager;->canAddMoreManagedProfiles(IZ)Z 39390 Landroid/os/UserManager;->canAddMoreManagedProfiles(IZ)Z
|