Home
last modified time | relevance | path

Searched refs:allowedToRemoveOne (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/os/
DIUserManager.aidl72 boolean canAddMoreProfilesToUser(in String userType, int userId, boolean allowedToRemoveOne); in canAddMoreProfilesToUser() argument
73 boolean canAddMoreManagedProfiles(int userId, boolean allowedToRemoveOne); in canAddMoreManagedProfiles() argument
DUserManager.java5209 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() argument
5211 return mService.canAddMoreManagedProfiles(userId, allowedToRemoveOne); in canAddMoreManagedProfiles()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java3749 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() argument
3751 allowedToRemoveOne); in canAddMoreManagedProfiles()
3757 boolean allowedToRemoveOne) { in canAddMoreProfilesToUser() argument
3758 return 0 < getRemainingCreatableProfileCount(userType, userId, allowedToRemoveOne) in canAddMoreProfilesToUser()
3773 boolean allowedToRemoveOne) { in getRemainingCreatableProfileCount() argument
3797 final int profilesRemovedCount = userTypeCount > 0 && allowedToRemoveOne ? 1 : 0; in getRemainingCreatableProfileCount()