Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DIUserManager.aidl62 boolean canAddMoreProfilesToUser(in String userType, int userId, boolean allowedToRemoveOne); in canAddMoreProfilesToUser() argument
63 boolean canAddMoreManagedProfiles(int userId, boolean allowedToRemoveOne); in canAddMoreManagedProfiles() argument
DUserManager.java3622 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() argument
3624 return mService.canAddMoreManagedProfiles(userId, allowedToRemoveOne); in canAddMoreManagedProfiles()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2384 public boolean canAddMoreManagedProfiles(@UserIdInt int userId, boolean allowedToRemoveOne) { in canAddMoreManagedProfiles() argument
2386 allowedToRemoveOne); in canAddMoreManagedProfiles()
2392 boolean allowedToRemoveOne) { in canAddMoreProfilesToUser() argument
2417 final int profilesRemovedCount = userTypeCount > 0 && allowedToRemoveOne ? 1 : 0; in canAddMoreProfilesToUser()