Searched refs:canAddMoreManagedProfiles (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceCreateProfileTest.java | 208 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/ |
D | IUserManager.aidl | 68 boolean canAddMoreManagedProfiles(int userId, boolean allowedToRemoveOne); in canAddMoreManagedProfiles() method
|
D | UserManager.java | 4146 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/ |
D | DevicePolicyManagerTest.java | 3538 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/ |
D | UserManagerService.java | 2670 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 | 14255 if (!mUserManager.canAddMoreManagedProfiles(
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 37201 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/ |
D | art-profile | 37502 PLcom/android/server/pm/UserManagerService;->canAddMoreManagedProfiles(IZ)Z
|