Searched refs:isUserOfType (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 161 mUserManagerService.isUserOfType(UserHandle.USER_SYSTEM, USER_TYPE_SYSTEM_HEADLESS) in testIsUserOfType() 162 || mUserManagerService.isUserOfType(UserHandle.USER_SYSTEM, USER_TYPE_FULL_SYSTEM)); in testIsUserOfType() 168 assertTrue(mUserManagerService.isUserOfType(testId, typeName)); in testIsUserOfType() 225 assertTrue(mUserManagerService.isUserOfType(100, USER_TYPE_PROFILE_MANAGED)); in testUpgradeIfNecessaryLP_9() 228 assertTrue(mUserManagerService.isUserOfType(101, USER_TYPE_FULL_GUEST)); in testUpgradeIfNecessaryLP_9() 230 assertTrue(mUserManagerService.isUserOfType(102, USER_TYPE_FULL_RESTRICTED)); in testUpgradeIfNecessaryLP_9() 233 assertTrue(mUserManagerService.isUserOfType(103, USER_TYPE_FULL_SECONDARY)); in testUpgradeIfNecessaryLP_9() 236 assertTrue(mUserManagerService.isUserOfType(104, USER_TYPE_SYSTEM_HEADLESS)); in testUpgradeIfNecessaryLP_9() 238 assertTrue(mUserManagerService.isUserOfType(105, USER_TYPE_FULL_SYSTEM)); in testUpgradeIfNecessaryLP_9() 240 assertTrue(mUserManagerService.isUserOfType(106, USER_TYPE_FULL_DEMO)); in testUpgradeIfNecessaryLP_9() [all …]
|
D | UserManagerTest.java | 494 assertThat(userManagerForUser.isUserOfType(userTypeDetails.getName())).isTrue(); in testProfileTypeInformation()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 66 boolean isUserOfType(int userId, in String userType); in isUserOfType() method
|
D | UserManager.java | 2014 public boolean isUserOfType(@NonNull String userType) { in isUserOfType() method in UserManager 2016 return mService.isUserOfType(mUserId, userType); in isUserOfType()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1345 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType() method in UserManagerService
|
/frameworks/base/core/api/ |
D | system-current.txt | 8646 …esPermission(android.Manifest.permission.MANAGE_USERS) public boolean isUserOfType(@NonNull String…
|