Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DIUserManager.aidl45 UserInfo createUserWithThrow(in String name, in String userType, int flags); in createUserWithThrow()
46 UserInfo preCreateUserWithThrow(in String userType); in preCreateUserWithThrow()
47 … UserInfo createProfileForUserWithThrow(in String name, in String userType, int flags, int userId, in createProfileForUserWithThrow()
50 String[] getPreInstallableSystemPackages(in String userType); in getPreInstallableSystemPackages()
63 boolean isUserTypeEnabled(in String userType); in isUserTypeEnabled()
64 boolean canAddMoreUsersOfType(in String userType); in canAddMoreUsersOfType()
65 int getRemainingCreatableUserCount(in String userType); in getRemainingCreatableUserCount()
66 int getRemainingCreatableProfileCount(in String userType, int userId); in getRemainingCreatableProfileCount()
67 boolean canAddMoreProfilesToUser(in String userType, int userId, boolean allowedToRemoveOne); in canAddMoreProfilesToUser()
71 boolean isUserOfType(int userId, in String userType); in isUserOfType()
[all …]
DUserManager.java2302 public boolean isUserOfType(@NonNull String userType) { in isUserOfType()
2315 public static boolean isUserTypeManagedProfile(@Nullable String userType) { in isUserTypeManagedProfile()
2323 public static boolean isUserTypeGuest(@Nullable String userType) { in isUserTypeGuest()
2332 public static boolean isUserTypeRestricted(@Nullable String userType) { in isUserTypeRestricted()
2340 public static boolean isUserTypeDemo(@Nullable String userType) { in isUserTypeDemo()
2348 public static boolean isUserTypeCloneProfile(@Nullable String userType) { in isUserTypeCloneProfile()
2357 public static int getUserTypeForStatsd(@NonNull String userType) { in getUserTypeForStatsd()
3320 public @Nullable UserInfo createUser(@Nullable String name, @NonNull String userType, in createUser()
3390 public @NonNull UserInfo preCreateUser(@NonNull String userType) in preCreateUser()
3475 public @Nullable UserHandle createProfile(@NonNull String name, @NonNull String userType, in createProfile()
[all …]
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/
DCarServiceHelperInterface.java46 UserHandle createUserEvenWhenDisallowed(@Nullable String name, @NonNull String userType, in createUserEvenWhenDisallowed()
DCarServiceHelperService.java582 public UserHandle createUserEvenWhenDisallowed(String name, String userType, int flags) { in createUserEvenWhenDisallowed()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java935 public int[] getProfileIds(@UserIdInt int userId, @Nullable String userType, in getProfileIds()
952 private List<UserInfo> getProfilesLU(@UserIdInt int userId, @Nullable String userType, in getProfilesLU()
978 private IntArray getProfileIdsLU(@UserIdInt int userId, @Nullable String userType, in getProfileIdsLU()
1393 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType()
1462 boolean isUserTypeSubtypeOfFull(String userType) { in isUserTypeSubtypeOfFull()
1468 boolean isUserTypeSubtypeOfProfile(String userType) { in isUserTypeSubtypeOfProfile()
1474 boolean isUserTypeSubtypeOfSystem(String userType) { in isUserTypeSubtypeOfSystem()
2589 public int getRemainingCreatableUserCount(String userType) { in getRemainingCreatableUserCount()
2633 private int getNumberOfUsersOfType(String userType) { in getNumberOfUsersOfType()
2655 public boolean canAddMoreUsersOfType(String userType) { in canAddMoreUsersOfType()
[all …]
DUserSystemPackageInstaller.java515 @Nullable Set<String> getInstallablePackagesForUserType(String userType) { in getInstallablePackagesForUserType()
568 @NonNull Set<String> getWhitelistedPackagesForUserType(String userType) { in getWhitelistedPackagesForUserType()
653 long getUserTypeMask(String userType) { in getUserTypeMask()
DUserTypeFactory.java578 private static void validateUserTypeIsProfile(String userType, in validateUserTypeIsProfile()
DUserManagerInternal.java176 public abstract UserInfo createUserEvenWhenDisallowed(String name, String userType, in createUserEvenWhenDisallowed()
DPackageManagerShellCommand.java2792 String userType = null; in runCreateUser() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthCredentialView.java430 private String getLastAttemptBeforeWipeMessage( in getLastAttemptBeforeWipeMessage()
515 private String getNowWipingMessage(@UserType int userType) { in getNowWipingMessage()
521 private String getNowWipingUpdatableStringId(@UserType int userType) { in getNowWipingUpdatableStringId()
530 private String getNowWipingDefaultMessage(@UserType int userType) { in getNowWipingDefaultMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java221 final String userType = UserManager.USER_TYPE_FULL_SECONDARY; in testAddTooManyUsers() local
442 private void createUserWithTypeAndCheckFlags(String userType, in createUserWithTypeAndCheckFlags()
1184 private UserInfo createUser(String name, String userType, int flags) { in createUser()
1192 private UserInfo createProfileForUser(String name, String userType, int userHandle) { in createProfileForUser()
1196 private UserInfo createProfileForUser(String name, String userType, int userHandle, in createProfileForUser()
1206 private UserInfo createProfileEvenWhenDisallowedForUser(String name, String userType, in createProfileEvenWhenDisallowedForUser()
DUserSystemPackageInstallerTest.java166 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
180 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
DUserManagerServiceUserInfoTest.java246 private UserInfo createUser(@UserIdInt int userId, @UserInfoFlag int flags, String userType) { in createUser()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java206 public String userType; field in UserInfo
269 public UserInfo(int id, String name, String iconPath, int flags, String userType) { in UserInfo()
/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/
DCarServiceHelperServiceUpdatableImpl.java308 public UserHandle createUserEvenWhenDisallowed(String name, String userType, int flags) { in createUserEvenWhenDisallowed()
/frameworks/base/telecomm/java/android/telecom/
DCallerInfo.java132 public long userType; field in CallerInfo
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainerController.java993 int userType = USER_TYPE_PRIMARY; in reportFailedUnlockAttempt() local
DKeyguardSecurityContainer.java731 void showAlmostAtWipeDialog(int attempts, int remaining, int userType) { in showAlmostAtWipeDialog()
754 void showWipeDialog(int attempts, int userType) { in showWipeDialog()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java1653 final String userType = parser.getAttributeValue(null, "user-type"); in readInstallInUserType() local
1665 final String userType = parser.getAttributeValue(null, "user-type"); in readInstallInUserType() local
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java862 @Nullable String userType) { in setUpUser()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java1992 … int userType = FrameworkStatsLog.USER_LIFECYCLE_JOURNEY_REPORTED__USER_TYPE__TYPE_UNKNOWN; in logBootCompletedBroadcastCompletionLatencyIfPossible() local