Searched refs:isUserOfType (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 228 mUserManagerService.isUserOfType(UserHandle.USER_SYSTEM, USER_TYPE_SYSTEM_HEADLESS) in testIsUserOfType() 229 || mUserManagerService.isUserOfType(UserHandle.USER_SYSTEM, USER_TYPE_FULL_SYSTEM)); in testIsUserOfType() 235 assertTrue(mUserManagerService.isUserOfType(testId, typeName)); in testIsUserOfType() 299 assertTrue(mUserManagerService.isUserOfType(100, USER_TYPE_PROFILE_MANAGED)); in testUpgradeIfNecessaryLP_9() 302 assertTrue(mUserManagerService.isUserOfType(101, USER_TYPE_FULL_GUEST)); in testUpgradeIfNecessaryLP_9() 304 assertTrue(mUserManagerService.isUserOfType(102, USER_TYPE_FULL_RESTRICTED)); in testUpgradeIfNecessaryLP_9() 307 assertTrue(mUserManagerService.isUserOfType(103, USER_TYPE_FULL_SECONDARY)); in testUpgradeIfNecessaryLP_9() 310 assertTrue(mUserManagerService.isUserOfType(104, USER_TYPE_SYSTEM_HEADLESS)); in testUpgradeIfNecessaryLP_9() 312 assertTrue(mUserManagerService.isUserOfType(105, USER_TYPE_FULL_SYSTEM)); in testUpgradeIfNecessaryLP_9() 314 assertTrue(mUserManagerService.isUserOfType(106, USER_TYPE_FULL_DEMO)); in testUpgradeIfNecessaryLP_9() [all …]
|
D | UserManagerTest.java | 1021 assertThat(userManagerForUser.isUserOfType(userTypeDetails.getName())).isTrue(); in testProfileTypeInformation()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/ |
D | UninstallAlertDialogFragment.java | 157 if (customUserManager.isUserOfType(USER_TYPE_PROFILE_MANAGED) in onCreateDialog() 163 } else if (customUserManager.isUserOfType(USER_TYPE_PROFILE_CLONE) in onCreateDialog() 255 if (customUserManager.isUserOfType(UserManager.USER_TYPE_PROFILE_CLONE)) { in isCloneProfile()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAlertFragment.java | 84 if (customUserManager.isUserOfType(USER_TYPE_PROFILE_MANAGED) in onCreateGuidance()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallUninstalling.java | 89 if (customUserManager.isUserOfType(UserManager.USER_TYPE_PROFILE_CLONE)) { in onCreate()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 77 boolean isUserOfType(int userId, in String userType); in isUserOfType() method
|
D | UserManager.java | 3048 public boolean isUserOfType(@NonNull String userType) { in isUserOfType() method in UserManager 3050 return mService.isUserOfType(mUserId, userType); in isUserOfType()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/ |
D | UninstallRepository.kt | 334 return customUserManager!!.isUserOfType(UserManager.USER_TYPE_PROFILE_CLONE) in isCloneProfile()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 2152 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType() method in UserManagerService
|
/frameworks/base/core/api/ |
D | system-current.txt | 11275 …REATE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isUserOfType(@NonNull String…
|