Home
last modified time | relevance | path

Searched refs:canAddMoreManagedProfiles (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceCreateProfileTest.java208 if (!mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeProfile()
218 while (mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeProfile()
225 mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeProfile()
233 if (!mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeDisabledProfile()
244 while (mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeDisabledProfile()
251 mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeDisabledProfile()
297 Mockito.doReturn(false).when(userManagerServiceSpy).canAddMoreManagedProfiles( in testCreateManagedProfileForUser_maxManagedUsersException()
/frameworks/base/core/java/android/os/
DIUserManager.aidl68 boolean canAddMoreManagedProfiles(int userId, boolean allowedToRemoveOne); in canAddMoreManagedProfiles() method
DUserManager.java4146 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() method in UserManager
4148 return mService.canAddMoreManagedProfiles(userId, allowedToRemoveOne); in canAddMoreManagedProfiles()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java3538 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, true)) in setup_DeviceAdminFeatureOff()
3574 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, true)) in setup_ManagedProfileFeatureOff()
3609 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, false)) in setup_firstBoot_systemUser()
3655 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, false)) in setup_systemUserSetupComplete_systemUser()
3673 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in setup_withDo_systemUser_ManagedProfile()
3824 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, false)) in setup_firstBoot_headlessSystemUserMode()
3847 when(getServices().userManager.canAddMoreManagedProfiles(CALLER_USER_HANDLE, false)) in testIsProvisioningAllowed_firstBoot_secondaryUser()
3865 when(getServices().userManager.canAddMoreManagedProfiles(CALLER_USER_HANDLE, in setup_provisionManagedProfileWithDeviceOwner_primaryUser()
3901 when(getServices().userManager.canAddMoreManagedProfiles(CALLER_USER_HANDLE, in setup_provisionManagedProfileOneAlreadyExist_primaryUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2670 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() method in UserManagerService
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java14255 if (!mUserManager.canAddMoreManagedProfiles(
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37201 Landroid/os/IUserManager$Stub$Proxy;->canAddMoreManagedProfiles(IZ)Z
37325 Landroid/os/IUserManager;->canAddMoreManagedProfiles(IZ)Z
40033 Landroid/os/UserManager;->canAddMoreManagedProfiles(IZ)Z
/frameworks/base/services/
Dart-profile37502 PLcom/android/server/pm/UserManagerService;->canAddMoreManagedProfiles(IZ)Z