/aosp14/frameworks/base/core/java/android/os/ |
H A D | IUserManager.aidl | 46 UserInfo createUserWithThrow(in String name, in String userType, int flags); in createUserWithThrow() 47 UserInfo preCreateUserWithThrow(in String userType); in preCreateUserWithThrow() 48 … UserInfo createProfileForUserWithThrow(in String name, in String userType, int flags, int userId, in createProfileForUserWithThrow() 51 String[] getPreInstallableSystemPackages(in String userType); in getPreInstallableSystemPackages() 67 boolean isUserTypeEnabled(in String userType); in isUserTypeEnabled() 68 boolean canAddMoreUsersOfType(in String userType); in canAddMoreUsersOfType() 69 int getRemainingCreatableUserCount(in String userType); in getRemainingCreatableUserCount() 70 int getRemainingCreatableProfileCount(in String userType, int userId); in getRemainingCreatableProfileCount() 71 boolean canAddMoreProfilesToUser(in String userType, int userId, boolean allowedToRemoveOne); in canAddMoreProfilesToUser() 76 boolean isUserOfType(int userId, in String userType); in isUserOfType() [all …]
|
H A D | UserManager.java | 2760 public boolean isUserOfType(@NonNull String userType) { in isUserOfType() 2773 public static boolean isUserTypeManagedProfile(@Nullable String userType) { in isUserTypeManagedProfile() 2781 public static boolean isUserTypeGuest(@Nullable String userType) { in isUserTypeGuest() 2790 public static boolean isUserTypeRestricted(@Nullable String userType) { in isUserTypeRestricted() 2798 public static boolean isUserTypeDemo(@Nullable String userType) { in isUserTypeDemo() 2806 public static boolean isUserTypeCloneProfile(@Nullable String userType) { in isUserTypeCloneProfile() 3967 public @NonNull UserInfo preCreateUser(@NonNull String userType) in preCreateUser() 4743 public boolean canAddMoreUsers(@NonNull String userType) { in canAddMoreUsers() 4768 public int getRemainingCreatableUserCount(@NonNull String userType) { in getRemainingCreatableUserCount() 4792 public int getRemainingCreatableProfileCount(@NonNull String userType) { in getRemainingCreatableProfileCount() [all …]
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | IUserManager.aidl | 44 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 D | UserManager.java | 2014 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 D | ConfirmDeviceCredentialBaseFragment.java | 240 final int userType = getUserTypeForWipe(); in updateErrorMessage() local 268 protected abstract int getLastTryErrorMessage(int userType); in getLastTryErrorMessage() 270 private int getWipeMessage(int userType) { in getWipeMessage()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/ |
H A D | CarDevicePolicyServiceTest.java | 105 @CarDevicePolicyManager.UserType int carDpmUserType, @NonNull String userType) { in createUserOkTest()
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserManagerService.java | 1346 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 D | UserSystemPackageInstaller.java | 494 @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 D | ICarServiceHelper.aidl | 58 UserInfo createUserEvenWhenDisallowed(String name, String userType, int flags); in createUserEvenWhenDisallowed()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
H A D | AbstractICarServiceHelperStub.java | 73 public UserInfo createUserEvenWhenDisallowed(String name, String userType, int flags) { in createUserEvenWhenDisallowed()
|
/aosp12/packages/services/Car/service/src/com/android/car/admin/ |
H A D | CarDevicePolicyService.java | 78 String userType = UserManager.USER_TYPE_FULL_SECONDARY; in createUser() local
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/ |
H A D | ContactInfo.java | 61 public @UserType long userType; field in ContactInfo
|
/aosp12/frameworks/base/core/java/android/content/pm/ |
H A D | UserInfo.java | 188 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 D | UserManagerTest.java | 377 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 D | UserSystemPackageInstallerTest.java | 164 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local 178 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | UserInfo.java | 238 public String userType; field in UserInfo 307 public UserInfo(int id, String name, String iconPath, int flags, String userType) { in UserInfo()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserSystemPackageInstallerTest.java | 166 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local 180 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
|
H A D | UserManagerTest.java | 246 final String userType = UserManager.USER_TYPE_FULL_SECONDARY; in testAddTooManyUsers() local 622 private void createUserWithTypeAndCheckFlags(String userType, in createUserWithTypeAndCheckFlags() 1607 private UserInfo createUser(String name, String userType, int flags) { in createUser() 1615 private UserInfo createProfileForUser(String name, String userType, int userHandle) { in createProfileForUser() 1619 private UserInfo createProfileForUser(String name, String userType, int userHandle, in createProfileForUser() 1629 private UserInfo createProfileEvenWhenDisallowedForUser(String name, String userType, in createProfileEvenWhenDisallowedForUser()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserJourneyLogger.java | 227 public static int getUserTypeForStatsd(@NonNull String userType) { in getUserTypeForStatsd() 275 int userType, int userFlags, @UserJourneyErrorCode int errorCode) { in logUserLifecycleJourneyReported() 292 int targetUserId, int userType, int userFlags, int errorCode, long elapsedTime) { in writeUserLifecycleJourneyReported()
|
H A D | UserSystemPackageInstaller.java | 517 @Nullable Set<String> getInstallablePackagesForUserType(String userType) { in getInstallablePackagesForUserType() 572 @NonNull Set<String> getWhitelistedPackagesForUserType(String userType) { in getWhitelistedPackagesForUserType() 657 long getUserTypeMask(String userType) { in getUserTypeMask()
|
H A D | UserManagerService.java | 1117 public int[] getProfileIds(@UserIdInt int userId, @Nullable String userType, in getProfileIds() 1160 private IntArray getProfileIdsLU(@UserIdInt int userId, @Nullable String userType, in getProfileIdsLU() 1675 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType() 1746 boolean isUserTypeSubtypeOfFull(String userType) { in isUserTypeSubtypeOfFull() 1752 boolean isUserTypeSubtypeOfProfile(String userType) { in isUserTypeSubtypeOfProfile() 1758 boolean isUserTypeSubtypeOfSystem(String userType) { in isUserTypeSubtypeOfSystem() 3084 public int getRemainingCreatableUserCount(String userType) { in getRemainingCreatableUserCount() 3128 private int getNumberOfUsersOfType(String userType) { in getNumberOfUsersOfType() 3150 public boolean canAddMoreUsersOfType(String userType) { in canAddMoreUsersOfType() 3158 public boolean isUserTypeEnabled(String userType) { in isUserTypeEnabled() [all …]
|
/aosp12/packages/services/Car/car-test-lib/src/android/car/test/mocks/ |
H A D | AndroidMockitoHelper.java | 177 @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 D | UserPreCreator.java | 179 String userType = in preCreateUsers() local
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
H A D | CarUserManagerUnitTest.java | 618 @NonNull String userType, @UserInfoFlag int flags, in expectServiceCreateUserSucceeds() 632 @NonNull String userType, @UserInfoFlag int flags) throws RemoteException { in expectServiceCreateUserFails()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
H A D | AuthCredentialView.java | 407 private static @StringRes int getLastAttemptBeforeWipeMessageRes( in getLastAttemptBeforeWipeMessageRes() 460 private static @StringRes int getNowWipingMessageRes(@UserType int userType) { in getNowWipingMessageRes()
|