Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DIUserManager.aidl46 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 …]
DUserManager.java2745 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/
DCarServiceHelperInterface.java49 UserHandle createUserEvenWhenDisallowed(@Nullable String name, @NonNull String userType, in createUserEvenWhenDisallowed()
DCarServiceHelperService.java689 public UserHandle createUserEvenWhenDisallowed(String name, String userType, int flags) { in createUserEvenWhenDisallowed()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserSystemPackageInstallerTest.java166 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
180 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
DUserManagerTest.java244 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()
DUserJourneyLoggerTest.java536 int targetUserId, int userType, int userFlags, int errorCode, int times) { in captureAndAssert()
559 int targetUserId, int userType, int userFlags, int errorCode) { in captureLogAndAssert()
DUserManagerServiceUserInfoTest.java342 private UserInfo createUser(@UserIdInt int userId, @UserInfoFlag int flags, String userType) { in createUser()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java238 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/
DUserSystemPackageInstaller.java517 @Nullable Set<String> getInstallablePackagesForUserType(String userType) { in getInstallablePackagesForUserType()
572 @NonNull Set<String> getWhitelistedPackagesForUserType(String userType) { in getWhitelistedPackagesForUserType()
657 long getUserTypeMask(String userType) { in getUserTypeMask()
DUserJourneyLogger.java227 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()
DUserManagerService.java1119 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 …]
DUserTypeFactory.java632 private static void validateUserTypeIsProfile(String userType, in validateUserTypeIsProfile()
DUserManagerInternal.java279 @Nullable String name, @NonNull String userType, @UserInfo.UserInfoFlag int flags, in createUserEvenWhenDisallowed()
DPackageManagerShellCommand.java2924 String userType = null; in runCreateUser() local
/frameworks/base/telecomm/java/android/telecom/
DCallerInfo.java132 public long userType; field in CallerInfo
/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/
DCarServiceHelperServiceUpdatableImpl.java356 public UserHandle createUserEvenWhenDisallowed(String name, String userType, int flags) { in createUserEvenWhenDisallowed()
/frameworks/base/services/core/java/com/android/server/
DSystemConfig.java1639 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/
DKeyguardSecurityContainerController.java1107 int userType = USER_TYPE_PRIMARY; in reportFailedUnlockAttempt() local
DKeyguardSecurityContainer.java750 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/
DUserControllerTest.java1064 @Nullable String userType) { in setUpUser()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueueImpl.java1558 … int userType = FrameworkStatsLog.USER_LIFECYCLE_JOURNEY_REPORTED__USER_TYPE__TYPE_UNKNOWN; in logBootCompletedBroadcastCompletionLatencyIfPossible() local
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java2013 final String userType = isUserSecure(userId) ? "secured" : "unsecured"; in unlockUserKey() local