Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java161 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 …]
DUserManagerTest.java494 assertThat(userManagerForUser.isUserOfType(userTypeDetails.getName())).isTrue(); in testProfileTypeInformation()
/frameworks/base/core/java/android/os/
DIUserManager.aidl66 boolean isUserOfType(int userId, in String userType); in isUserOfType() method
DUserManager.java2014 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/
DUserManagerService.java1345 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType() method in UserManagerService
/frameworks/base/core/api/
Dsystem-current.txt8646 …esPermission(android.Manifest.permission.MANAGE_USERS) public boolean isUserOfType(@NonNull String…