Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java228 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 …]
DUserManagerTest.java1021 assertThat(userManagerForUser.isUserOfType(userTypeDetails.getName())).isTrue(); in testProfileTypeInformation()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java157 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/
DUninstallAlertFragment.java84 if (customUserManager.isUserOfType(USER_TYPE_PROFILE_MANAGED) in onCreateGuidance()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallUninstalling.java89 if (customUserManager.isUserOfType(UserManager.USER_TYPE_PROFILE_CLONE)) { in onCreate()
/frameworks/base/core/java/android/os/
DIUserManager.aidl77 boolean isUserOfType(int userId, in String userType); in isUserOfType() method
DUserManager.java3048 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/
DUninstallRepository.kt334 return customUserManager!!.isUserOfType(UserManager.USER_TYPE_PROFILE_CLONE) in isCloneProfile()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2152 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType() method in UserManagerService
/frameworks/base/core/api/
Dsystem-current.txt11275 …REATE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isUserOfType(@NonNull String…