Searched refs:isUserOfType (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 150 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()
|
D | UserManagerTest.java | 360 assertThat(userManagerForUser.isUserOfType(userTypeDetails.getName())).isTrue(); in testProfileTypeInformation()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 65 boolean isUserOfType(int userId, in String userType); in isUserOfType() method
|
D | UserManager.java | 1879 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/ |
D | UserManagerService.java | 1266 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType() method in UserManagerService
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 7463 …esPermission(android.Manifest.permission.MANAGE_USERS) public boolean isUserOfType(@NonNull String…
|
/frameworks/base/api/ |
D | system-current.txt | 8564 …esPermission(android.Manifest.permission.MANAGE_USERS) public boolean isUserOfType(@NonNull String…
|