Home
last modified time | relevance | path

Searched refs:getDefaultUserType (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DUserInfo.java312 this(id, name, iconPath, flags, getDefaultUserType(flags)); in UserInfo()
338 public static @NonNull String getDefaultUserType(@UserInfoFlag int userInfoFlag) { in getDefaultUserType() method in UserInfo
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserTypeTest.java300 UserInfo.getDefaultUserType(FLAG_RESTRICTED)); in testGetDefaultUserType()
304 UserInfo.getDefaultUserType(FLAG_GUEST | FLAG_EPHEMERAL)); in testGetDefaultUserType()
308 () -> UserInfo.getDefaultUserType(FLAG_MANAGED_PROFILE | FLAG_GUEST)); in testGetDefaultUserType()
312 UserInfo.getDefaultUserType(FLAG_EPHEMERAL)); in testGetDefaultUserType()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/data/repository/
DUserRepositoryImplTest.kt272 if (isGuest) UserManager.USER_TYPE_FULL_GUEST else UserInfo.getDefaultUserType(flags), in <lambda>()
/frameworks/base/core/java/android/os/
DUserManager.java4258 return createUser(name, UserInfo.getDefaultUserType(flags), flags); in createUser()
4497 return createProfileForUser(name, UserInfo.getDefaultUserType(flags), flags, in createProfileForUser()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAttentionHelperTest.java2642 UserInfo.getDefaultUserType(UserInfo.FLAG_MANAGED_PROFILE)))); in testBeepVolume_politeNotif_workProfile()
2684 UserInfo.getDefaultUserType(UserInfo.FLAG_MANAGED_PROFILE)))); in testBeepVolume_politeNotif_workProfile_disabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java1552 userType = UserInfo.getDefaultUserType(flags); in setUpUser()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java3108 userType = UserInfo.getDefaultUserType(flags); in runCreateUser()
DUserManagerService.java4481 userData.info.userType = UserInfo.getDefaultUserType(flags); in upgradeIfNecessaryLP()