Searched refs:allowedToRemoveOne (Results 1 – 3 of 3) sorted by relevance
67 boolean canAddMoreProfilesToUser(in String userType, int userId, boolean allowedToRemoveOne); in canAddMoreProfilesToUser() argument68 boolean canAddMoreManagedProfiles(int userId, boolean allowedToRemoveOne); in canAddMoreManagedProfiles() argument
4146 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() argument4148 return mService.canAddMoreManagedProfiles(userId, allowedToRemoveOne); in canAddMoreManagedProfiles()
2670 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() argument2672 allowedToRemoveOne); in canAddMoreManagedProfiles()2678 boolean allowedToRemoveOne) { in canAddMoreProfilesToUser() argument2679 return 0 < getRemainingCreatableProfileCount(userType, userId, allowedToRemoveOne); in canAddMoreProfilesToUser()2693 boolean allowedToRemoveOne) { in getRemainingCreatableProfileCount() argument2716 final int profilesRemovedCount = userTypeCount > 0 && allowedToRemoveOne ? 1 : 0; in getRemainingCreatableProfileCount()