Searched refs:canAddMoreManagedProfiles (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceCreateProfileTest.java | 170 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/ |
D | IUserManager.aidl | 59 boolean canAddMoreManagedProfiles(int userHandle, boolean allowedToRemoveOne); in canAddMoreManagedProfiles() method
|
D | UserManager.java | 2461 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/ |
D | DevicePolicyManagerTest.java | 2745 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/ |
D | UserManagerService.java | 1827 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/ |
D | DevicePolicyManagerService.java | 12023 if (!mUserManager.canAddMoreManagedProfiles(callingUserId, canRemoveProfile)) { in checkManagedProfileProvisioningPreCondition()
|
/frameworks/base/services/ |
D | art-profile | 11764 PLcom/android/server/pm/UserManagerService;->canAddMoreManagedProfiles(IZ)Z
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 54777 Landroid/os/IUserManager$Stub$Proxy;->canAddMoreManagedProfiles(IZ)Z 54903 Landroid/os/IUserManager;->canAddMoreManagedProfiles(IZ)Z 57886 Landroid/os/UserManager;->canAddMoreManagedProfiles(IZ)Z
|
D | boot-image-profile.txt | 12345 HPLandroid/os/UserManager;->canAddMoreManagedProfiles(IZ)Z
|