Searched refs:allowedToRemoveOne (Results 1 – 3 of 3) sorted by relevance
50 boolean canAddMoreManagedProfiles(int userHandle, boolean allowedToRemoveOne); in canAddMoreManagedProfiles() argument
1648 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() argument1650 return mService.canAddMoreManagedProfiles(userId, allowedToRemoveOne); in canAddMoreManagedProfiles()
1428 public boolean canAddMoreManagedProfiles(int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() argument1439 final int profilesRemovedCount = managedProfilesCount > 0 && allowedToRemoveOne ? 1 : 0; in canAddMoreManagedProfiles()