Searched refs:allowedToRemoveOne (Results 1 – 3 of 3) sorted by relevance
72 boolean canAddMoreProfilesToUser(in String userType, int userId, boolean allowedToRemoveOne); in canAddMoreProfilesToUser() argument73 boolean canAddMoreManagedProfiles(int userId, boolean allowedToRemoveOne); in canAddMoreManagedProfiles() argument
5209 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() argument5211 return mService.canAddMoreManagedProfiles(userId, allowedToRemoveOne); in canAddMoreManagedProfiles()
3749 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() argument3751 allowedToRemoveOne); in canAddMoreManagedProfiles()3757 boolean allowedToRemoveOne) { in canAddMoreProfilesToUser() argument3758 return 0 < getRemainingCreatableProfileCount(userType, userId, allowedToRemoveOne) in canAddMoreProfilesToUser()3773 boolean allowedToRemoveOne) { in getRemainingCreatableProfileCount() argument3797 final int profilesRemovedCount = userTypeCount > 0 && allowedToRemoveOne ? 1 : 0; in getRemainingCreatableProfileCount()