| /frameworks/base/core/java/android/os/ |
| 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 …]
|
| D | UserManager.java | 2745 public boolean isUserOfType(@NonNull String userType) { in isUserOfType() 2758 public static boolean isUserTypeManagedProfile(@Nullable String userType) { in isUserTypeManagedProfile() 2766 public static boolean isUserTypeGuest(@Nullable String userType) { in isUserTypeGuest() 2775 public static boolean isUserTypeRestricted(@Nullable String userType) { in isUserTypeRestricted() 2783 public static boolean isUserTypeDemo(@Nullable String userType) { in isUserTypeDemo() 2791 public static boolean isUserTypeCloneProfile(@Nullable String userType) { in isUserTypeCloneProfile() 3876 public @Nullable UserInfo createUser(@Nullable String name, @NonNull String userType, in createUser() 3952 public @NonNull UserInfo preCreateUser(@NonNull String userType) in preCreateUser() 4057 public @Nullable UserHandle createProfile(@NonNull String name, @NonNull String userType, in createProfile() 4109 public @Nullable UserInfo createProfileForUser(String name, @NonNull String userType, in createProfileForUser() [all …]
|
| /frameworks/opt/car/services/builtInServices/src/com/android/internal/car/ |
| D | CarServiceHelperInterface.java | 49 UserHandle createUserEvenWhenDisallowed(@Nullable String name, @NonNull String userType, in createUserEvenWhenDisallowed()
|
| D | CarServiceHelperService.java | 689 public UserHandle createUserEvenWhenDisallowed(String name, String userType, int flags) { in createUserEvenWhenDisallowed()
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
| D | UserSystemPackageInstallerTest.java | 166 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local 180 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
|
| D | UserManagerTest.java | 244 final String userType = UserManager.USER_TYPE_FULL_SECONDARY; in testAddTooManyUsers() local 620 private void createUserWithTypeAndCheckFlags(String userType, in createUserWithTypeAndCheckFlags() 1505 private UserInfo createUser(String name, String userType, int flags) { in createUser() 1513 private UserInfo createProfileForUser(String name, String userType, int userHandle) { in createProfileForUser() 1517 private UserInfo createProfileForUser(String name, String userType, int userHandle, in createProfileForUser() 1527 private UserInfo createProfileEvenWhenDisallowedForUser(String name, String userType, in createProfileEvenWhenDisallowedForUser()
|
| 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()
|
| D | UserManagerServiceUserInfoTest.java | 342 private UserInfo createUser(@UserIdInt int userId, @UserInfoFlag int flags, String userType) { in createUser()
|
| /frameworks/base/core/java/android/content/pm/ |
| 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()
|
| /frameworks/base/services/core/java/com/android/server/pm/ |
| 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()
|
| 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()
|
| D | UserManagerService.java | 1119 public int[] getProfileIds(@UserIdInt int userId, @Nullable String userType, in getProfileIds() 1136 private List<UserInfo> getProfilesLU(@UserIdInt int userId, @Nullable String userType, in getProfilesLU() 1162 private IntArray getProfileIdsLU(@UserIdInt int userId, @Nullable String userType, in getProfileIdsLU() 1677 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType() 1748 boolean isUserTypeSubtypeOfFull(String userType) { in isUserTypeSubtypeOfFull() 1754 boolean isUserTypeSubtypeOfProfile(String userType) { in isUserTypeSubtypeOfProfile() 1760 boolean isUserTypeSubtypeOfSystem(String userType) { in isUserTypeSubtypeOfSystem() 3086 public int getRemainingCreatableUserCount(String userType) { in getRemainingCreatableUserCount() 3130 private int getNumberOfUsersOfType(String userType) { in getNumberOfUsersOfType() 3152 public boolean canAddMoreUsersOfType(String userType) { in canAddMoreUsersOfType() [all …]
|
| D | UserTypeFactory.java | 632 private static void validateUserTypeIsProfile(String userType, in validateUserTypeIsProfile()
|
| D | UserManagerInternal.java | 279 @Nullable String name, @NonNull String userType, @UserInfo.UserInfoFlag int flags, in createUserEvenWhenDisallowed()
|
| D | PackageManagerShellCommand.java | 2924 String userType = null; in runCreateUser() local
|
| /frameworks/base/telecomm/java/android/telecom/ |
| D | CallerInfo.java | 132 public long userType; field in CallerInfo
|
| /frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/ |
| D | CarServiceHelperServiceUpdatableImpl.java | 356 public UserHandle createUserEvenWhenDisallowed(String name, String userType, int flags) { in createUserEvenWhenDisallowed()
|
| /frameworks/base/services/core/java/com/android/server/ |
| 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
|
| /frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
| D | KeyguardSecurityContainerController.java | 1107 int userType = USER_TYPE_PRIMARY; in reportFailedUnlockAttempt() local
|
| D | KeyguardSecurityContainer.java | 750 void showAlmostAtWipeDialog(int attempts, int remaining, int userType) { in showAlmostAtWipeDialog() 773 void showWipeDialog(int attempts, int userType) { in showWipeDialog()
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
| D | UserControllerTest.java | 1064 @Nullable String userType) { in setUpUser()
|
| /frameworks/base/services/core/java/com/android/server/am/ |
| D | BroadcastQueueImpl.java | 1558 … int userType = FrameworkStatsLog.USER_LIFECYCLE_JOURNEY_REPORTED__USER_TYPE__TYPE_UNKNOWN; in logBootCompletedBroadcastCompletionLatencyIfPossible() local
|
| /frameworks/base/services/core/java/com/android/server/locksettings/ |
| D | LockSettingsService.java | 2013 final String userType = isUserSecure(userId) ? "secured" : "unsecured"; in unlockUserKey() local
|