Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceCreateProfileTest.java170 if (!mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeProfile()
176 while (mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeProfile()
183 mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeProfile()
191 if (!mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeDisabledProfile()
198 while (mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeDisabledProfile()
205 mUserManagerService.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in testCanAddMoreManagedProfiles_removeDisabledProfile()
/frameworks/base/core/java/android/os/
DIUserManager.aidl59 boolean canAddMoreManagedProfiles(int userHandle, boolean allowedToRemoveOne); in canAddMoreManagedProfiles() method
DUserManager.java2461 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() method in UserManager
2463 return mService.canAddMoreManagedProfiles(userId, allowedToRemoveOne); in canAddMoreManagedProfiles()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java2745 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, true)) in setup_DeviceAdminFeatureOff()
2782 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, true)) in setup_ManagedProfileFeatureOff()
2838 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, true)) in setup_nonSplitUser_firstBoot_primaryUser()
2876 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, true)) in setup_nonSplitUser_afterDeviceSetup_primaryUser()
2894 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in setup_nonSplitUser_withDo_primaryUser_ManagedProfile()
2896 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, in setup_nonSplitUser_withDo_primaryUser_ManagedProfile()
3053 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, true)) in setup_splitUser_firstBoot_systemUser()
3092 when(getServices().userManager.canAddMoreManagedProfiles(UserHandle.USER_SYSTEM, true)) in setup_splitUser_afterDeviceSetup_systemUser()
3132 when(getServices().userManager.canAddMoreManagedProfiles(DpmMockContext.CALLER_USER_HANDLE, in setup_splitUser_firstBoot_primaryUser()
3169 when(getServices().userManager.canAddMoreManagedProfiles(DpmMockContext.CALLER_USER_HANDLE, in setup_splitUser_afterDeviceSetup_primaryUser()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1827 public boolean canAddMoreManagedProfiles(int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() method in UserManagerService
2703 if (isManagedProfile && !canAddMoreManagedProfiles(parentId, false)) { in createUserInternalUnchecked()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java12023 if (!mUserManager.canAddMoreManagedProfiles(callingUserId, canRemoveProfile)) { in checkManagedProfileProvisioningPreCondition()
/frameworks/base/services/
Dart-profile11764 PLcom/android/server/pm/UserManagerService;->canAddMoreManagedProfiles(IZ)Z
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt54777 Landroid/os/IUserManager$Stub$Proxy;->canAddMoreManagedProfiles(IZ)Z
54903 Landroid/os/IUserManager;->canAddMoreManagedProfiles(IZ)Z
57886 Landroid/os/UserManager;->canAddMoreManagedProfiles(IZ)Z
Dboot-image-profile.txt12345 HPLandroid/os/UserManager;->canAddMoreManagedProfiles(IZ)Z