/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 …]
|
/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()
|
H A D | UserJourneyLoggerTest.java | 536 int targetUserId, int userType, int userFlags, int errorCode, int times) { in captureAndAssert() 559 int targetUserId, int userType, int userFlags, int errorCode) { in captureLogAndAssert()
|
H A D | UserManagerServiceUserInfoTest.java | 342 private UserInfo createUser(@UserIdInt int userId, @UserInfoFlag int flags, String userType) { in createUser()
|
/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 …]
|
H A D | UserTypeFactory.java | 632 private static void validateUserTypeIsProfile(String userType, in validateUserTypeIsProfile()
|
H A D | UserManagerInternal.java | 279 @Nullable String name, @NonNull String userType, @UserInfo.UserInfoFlag int flags, in createUserEvenWhenDisallowed()
|
H A D | PackageManagerShellCommand.java | 2924 String userType = null; in runCreateUser() local
|
/aosp14/frameworks/base/telecomm/java/android/telecom/ |
H A D | CallerInfo.java | 132 public long userType; field in CallerInfo
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | SystemConfig.java | 1639 final String userType = parser.getAttributeValue(null, "user-type"); in readInstallInUserType() local 1651 final String userType = parser.getAttributeValue(null, "user-type"); in readInstallInUserType() local
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardSecurityContainer.java | 750 void showAlmostAtWipeDialog(int attempts, int remaining, int userType) { in showAlmostAtWipeDialog() 773 void showWipeDialog(int attempts, int userType) { in showWipeDialog()
|
H A D | KeyguardSecurityContainerController.java | 1107 int userType = USER_TYPE_PRIMARY; in reportFailedUnlockAttempt() local
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | UserControllerTest.java | 1064 @Nullable String userType) { in setUpUser()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BroadcastQueueImpl.java | 1558 … int userType = FrameworkStatsLog.USER_LIFECYCLE_JOURNEY_REPORTED__USER_TYPE__TYPE_UNKNOWN; in logBootCompletedBroadcastCompletionLatencyIfPossible() local
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | LockSettingsService.java | 2013 final String userType = isUserSecure(userId) ? "secured" : "unsecured"; in unlockUserKey() local
|