Home
last modified time | relevance | path

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

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