Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DIUserManager.aidl50 boolean canAddMoreManagedProfiles(int userHandle, boolean allowedToRemoveOne); in canAddMoreManagedProfiles() argument
DUserManager.java1648 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() argument
1650 return mService.canAddMoreManagedProfiles(userId, allowedToRemoveOne); in canAddMoreManagedProfiles()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1428 public boolean canAddMoreManagedProfiles(int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() argument
1439 final int profilesRemovedCount = managedProfilesCount > 0 && allowedToRemoveOne ? 1 : 0; in canAddMoreManagedProfiles()