Home
last modified time | relevance | path

Searched refs:isUserOfType (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java150 mUserManagerService.isUserOfType(UserHandle.USER_SYSTEM, USER_TYPE_SYSTEM_HEADLESS) in testIsUserOfType()
151 || mUserManagerService.isUserOfType(UserHandle.USER_SYSTEM, USER_TYPE_FULL_SYSTEM)); in testIsUserOfType()
157 assertTrue(mUserManagerService.isUserOfType(testId, typeName)); in testIsUserOfType()
195 assertTrue(mUserManagerService.isUserOfType(100, USER_TYPE_PROFILE_MANAGED)); in testUpgradeIfNecessaryLP_9()
198 assertTrue(mUserManagerService.isUserOfType(101, USER_TYPE_FULL_GUEST)); in testUpgradeIfNecessaryLP_9()
200 assertTrue(mUserManagerService.isUserOfType(102, USER_TYPE_FULL_RESTRICTED)); in testUpgradeIfNecessaryLP_9()
203 assertTrue(mUserManagerService.isUserOfType(103, USER_TYPE_FULL_SECONDARY)); in testUpgradeIfNecessaryLP_9()
206 assertTrue(mUserManagerService.isUserOfType(104, USER_TYPE_SYSTEM_HEADLESS)); in testUpgradeIfNecessaryLP_9()
208 assertTrue(mUserManagerService.isUserOfType(105, USER_TYPE_FULL_SYSTEM)); in testUpgradeIfNecessaryLP_9()
210 assertTrue(mUserManagerService.isUserOfType(106, USER_TYPE_FULL_DEMO)); in testUpgradeIfNecessaryLP_9()
DUserManagerTest.java360 assertThat(userManagerForUser.isUserOfType(userTypeDetails.getName())).isTrue(); in testProfileTypeInformation()
/frameworks/base/core/java/android/os/
DIUserManager.aidl65 boolean isUserOfType(int userId, in String userType); in isUserOfType() method
DUserManager.java1879 public boolean isUserOfType(@NonNull String userType) { in isUserOfType() method in UserManager
1881 return mService.isUserOfType(mUserId, userType); in isUserOfType()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1266 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType() method in UserManagerService
/frameworks/base/non-updatable-api/
Dsystem-current.txt7463 …esPermission(android.Manifest.permission.MANAGE_USERS) public boolean isUserOfType(@NonNull String…
/frameworks/base/api/
Dsystem-current.txt8564 …esPermission(android.Manifest.permission.MANAGE_USERS) public boolean isUserOfType(@NonNull String…