Home
last modified time | relevance | path

Searched refs:isUserTypeEnabled (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/os/
DIUserManager.aidl68 boolean isUserTypeEnabled(in String userType); in isUserTypeEnabled() method
DUserManager.java5249 public boolean isUserTypeEnabled(@NonNull String userType) { in isUserTypeEnabled() method in UserManager
5251 return mService.isUserTypeEnabled(userType); in isUserTypeEnabled()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2860 return isUserTypeEnabled(USER_TYPE_PROFILE_PRIVATE) in canAddPrivateProfile()
3638 if (!isUserTypeEnabled(userTypeDetails)) { in canAddMoreUsersOfType()
3657 if (type == null || !isUserTypeEnabled(type)) { in getRemainingCreatableUserCount()
3728 public boolean isUserTypeEnabled(String userType) { in isUserTypeEnabled() method in UserManagerService
3731 return userTypeDetails != null && isUserTypeEnabled(userTypeDetails); in isUserTypeEnabled()
3735 private boolean isUserTypeEnabled(@NonNull UserTypeDetails userTypeDetails) { in isUserTypeEnabled() method in UserManagerService
3777 if (type == null || !isUserTypeEnabled(type)) { in getRemainingCreatableProfileCount()
5430 if (!isUserTypeEnabled(userTypeDetails)) {
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java247 mUserManager.isUserTypeEnabled(UserManager.USER_TYPE_PROFILE_COMMUNAL)); in testCommunalProfile()
1953 mUserManager.isUserTypeEnabled(UserManager.USER_TYPE_PROFILE_CLONE)); in assumeCloneEnabled()
/frameworks/base/core/api/
Dtest-current.txt2511 …GE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isUserTypeEnabled(@NonNull Str…