Home
last modified time | relevance | path

Searched defs:userType (Results 1 – 25 of 41) sorted by relevance

12

/aosp12/frameworks/base/core/java/android/os/
H A DIUserManager.aidl44 UserInfo createUserWithThrow(in String name, in String userType, int flags); in createUserWithThrow()
45 UserInfo preCreateUserWithThrow(in String userType); in preCreateUserWithThrow()
46 … UserInfo createProfileForUserWithThrow(in String name, in String userType, int flags, int userId, in createProfileForUserWithThrow()
49 String[] getPreInstallableSystemPackages(in String userType); in getPreInstallableSystemPackages()
62 boolean canAddMoreProfilesToUser(in String userType, int userId, boolean allowedToRemoveOne); in canAddMoreProfilesToUser()
66 boolean isUserOfType(int userId, in String userType); in isUserOfType()
107 …UserInfo createProfileForUserEvenWhenDisallowedWithThrow(in String name, in String userType, int f… in createProfileForUserEvenWhenDisallowedWithThrow()
H A DUserManager.java2014 public boolean isUserOfType(@NonNull String userType) { in isUserOfType()
2027 public static boolean isUserTypeManagedProfile(String userType) { in isUserTypeManagedProfile()
2035 public static boolean isUserTypeGuest(String userType) { in isUserTypeGuest()
2044 public static boolean isUserTypeRestricted(String userType) { in isUserTypeRestricted()
2052 public static boolean isUserTypeDemo(String userType) { in isUserTypeDemo()
2060 public static boolean isUserTypeCloneProfile(String userType) { in isUserTypeCloneProfile()
2069 public static int getUserTypeForStatsd(@NonNull String userType) { in getUserTypeForStatsd()
2919 public @Nullable UserInfo createUser(@Nullable String name, @NonNull String userType, in createUser()
2958 public @NonNull UserInfo preCreateUser(@NonNull String userType) in preCreateUser()
3083 public UserInfo createProfileForUser(String name, @NonNull String userType, in createProfileForUser()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/password/
H A DConfirmDeviceCredentialBaseFragment.java240 final int userType = getUserTypeForWipe(); in updateErrorMessage() local
268 protected abstract int getLastTryErrorMessage(int userType); in getLastTryErrorMessage()
270 private int getWipeMessage(int userType) { in getWipeMessage()
H A DConfirmLockPattern.java555 protected int getLastTryErrorMessage(int userType) { in getLastTryErrorMessage()
H A DConfirmLockPassword.java262 protected int getLastTryErrorMessage(int userType) { in getLastTryErrorMessage()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
H A DCarDevicePolicyServiceTest.java105 @CarDevicePolicyManager.UserType int carDpmUserType, @NonNull String userType) { in createUserOkTest()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java1346 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType()
1406 boolean isUserTypeSubtypeOfFull(String userType) { in isUserTypeSubtypeOfFull()
1412 boolean isUserTypeSubtypeOfProfile(String userType) { in isUserTypeSubtypeOfProfile()
1418 boolean isUserTypeSubtypeOfSystem(String userType) { in isUserTypeSubtypeOfSystem()
2367 private int getNumberOfUsersOfType(String userType) { in getNumberOfUsersOfType()
3265 String userType = null; in readUserLP() local
3453 @NonNull String userType, in createProfileForUserEvenWhenDisallowedWithThrow()
3486 "cannot pre-create user of type " + userType); in preCreateUserWithThrow() local
3960 private @Nullable UserData getPreCreatedUserLU(String userType) { in getPreCreatedUserLU()
5808 int getMaxUsersOfTypePerParent(String userType) { in getMaxUsersOfTypePerParent()
[all …]
H A DUserSystemPackageInstaller.java494 @Nullable Set<String> getInstallablePackagesForUserType(String userType) { in getInstallablePackagesForUserType()
547 @NonNull Set<String> getWhitelistedPackagesForUserType(String userType) { in getWhitelistedPackagesForUserType()
632 long getUserTypeMask(String userType) { in getUserTypeMask()
/aosp12/packages/services/Car/car-internal-lib/src/com/android/car/internal/
H A DICarServiceHelper.aidl58 UserInfo createUserEvenWhenDisallowed(String name, String userType, int flags); in createUserEvenWhenDisallowed()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A DAbstractICarServiceHelperStub.java73 public UserInfo createUserEvenWhenDisallowed(String name, String userType, int flags) { in createUserEvenWhenDisallowed()
/aosp12/packages/services/Car/service/src/com/android/car/admin/
H A DCarDevicePolicyService.java78 String userType = UserManager.USER_TYPE_FULL_SECONDARY; in createUser() local
/aosp12/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
H A DContactInfo.java61 public @UserType long userType; field in ContactInfo
/aosp12/frameworks/base/core/java/android/content/pm/
H A DUserInfo.java188 public String userType; field in UserInfo
251 public UserInfo(int id, String name, String iconPath, int flags, String userType) { in UserInfo()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerTest.java377 private void createUserWithTypeAndCheckFlags(String userType, in createUserWithTypeAndCheckFlags()
1088 private UserInfo createUser(String name, String userType, int flags) { in createUser()
1096 private UserInfo createProfileForUser(String name, String userType, int userHandle) { in createProfileForUser()
1100 private UserInfo createProfileForUser(String name, String userType, int userHandle, in createProfileForUser()
1110 private UserInfo createProfileEvenWhenDisallowedForUser(String name, String userType, in createProfileEvenWhenDisallowedForUser()
H A DUserSystemPackageInstallerTest.java164 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
178 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
H A DUserManagerServiceUserInfoTest.java244 private UserInfo createUser(@UserIdInt int userId, @UserInfoFlag int flags, String userType) { in createUser()
/aosp12/packages/services/Car/car-test-lib/src/android/car/test/mocks/
H A DAndroidMockitoHelper.java177 @NonNull String userType, @UserInfoFlag int flags, @UserIdInt int userId) { in mockUmCreateUser()
193 @NonNull String userType, @UserInfoFlag int flags, @NonNull RuntimeException e) { in mockUmCreateUser()
/aosp12/packages/services/Car/service/src/com/android/car/user/
H A DUserPreCreator.java179 String userType = in preCreateUsers() local
H A DCarUserService.java1369 UserInfo createUserEvenWhenDisallowed(@Nullable String name, @NonNull String userType, in createUserEvenWhenDisallowed()
1386 public void createUser(@Nullable String name, @NonNull String userType, @UserInfoFlag int flags, in createUser()
1398 public void createUser(@Nullable String name, @NonNull String userType, @UserInfoFlag int flags, in createUser()
1412 private void handleCreateUser(@Nullable String name, @NonNull String userType, in handleCreateUser()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
H A DCarUserManagerUnitTest.java618 @NonNull String userType, @UserInfoFlag int flags, in expectServiceCreateUserSucceeds()
632 @NonNull String userType, @UserInfoFlag int flags) throws RemoteException { in expectServiceCreateUserFails()
H A DUserPreCreatorTest.java173 String userType = in verifyUserCreated() local
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthCredentialView.java407 private static @StringRes int getLastAttemptBeforeWipeMessageRes( in getLastAttemptBeforeWipeMessageRes()
460 private static @StringRes int getNowWipingMessageRes(@UserType int userType) { in getNowWipingMessageRes()
/aosp12/packages/services/Car/car-lib/src/android/car/
H A DICarUserService.aidl35 void createUser(@nullable String name, String userType, int flags, int timeoutMs, in createUser()
/aosp12/packages/apps/Dialer/java/com/android/incallui/
H A DCallerInfo.java105 public @UserType long userType; field in CallerInfo
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityContainer.java732 void showAlmostAtWipeDialog(int attempts, int remaining, int userType) { in showAlmostAtWipeDialog()
751 void showWipeDialog(int attempts, int userType) { in showWipeDialog()

12