Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DIUserManager.aidl44 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()
DUserManager.java2014 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()
3031 public @Nullable UserHandle createProfile(@NonNull String name, @NonNull String userType, in createProfile()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java891 public int[] getProfileIds(@UserIdInt int userId, @Nullable String userType, in getProfileIds()
908 private List<UserInfo> getProfilesLU(@UserIdInt int userId, @Nullable String userType, in getProfilesLU()
934 private IntArray getProfileIdsLU(@UserIdInt int userId, @Nullable String userType, in getProfileIdsLU()
1345 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType()
1405 boolean isUserTypeSubtypeOfFull(String userType) { in isUserTypeSubtypeOfFull()
1411 boolean isUserTypeSubtypeOfProfile(String userType) { in isUserTypeSubtypeOfProfile()
1417 boolean isUserTypeSubtypeOfSystem(String userType) { in isUserTypeSubtypeOfSystem()
2366 private int getNumberOfUsersOfType(String userType) { in getNumberOfUsersOfType()
2391 public boolean canAddMoreProfilesToUser(String userType, @UserIdInt int userId, in canAddMoreProfilesToUser()
3264 String userType = null; in readUserLP() local
[all …]
DUserSystemPackageInstaller.java494 @Nullable Set<String> getInstallablePackagesForUserType(String userType) { in getInstallablePackagesForUserType()
547 @NonNull Set<String> getWhitelistedPackagesForUserType(String userType) { in getWhitelistedPackagesForUserType()
632 long getUserTypeMask(String userType) { in getUserTypeMask()
DUserTypeFactory.java574 private static void validateUserTypeIsProfile(String userType, in validateUserTypeIsProfile()
DUserManagerInternal.java191 public abstract UserInfo createUserEvenWhenDisallowed(String name, String userType, in createUserEvenWhenDisallowed()
DPackageManagerShellCommand.java2567 String userType = null; in runCreateUser() local
/frameworks/base/core/java/android/content/pm/
DUserInfo.java188 public String userType; field in UserInfo
251 public UserInfo(int id, String name, String iconPath, int flags, String userType) { in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java377 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()
DUserSystemPackageInstallerTest.java164 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
178 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
DUserManagerServiceUserInfoTest.java244 private UserInfo createUser(@UserIdInt int userId, @UserInfoFlag int flags, String userType) { in createUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthCredentialView.java407 private static @StringRes int getLastAttemptBeforeWipeMessageRes( in getLastAttemptBeforeWipeMessageRes()
460 private static @StringRes int getNowWipingMessageRes(@UserType int userType) { in getNowWipingMessageRes()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java675 void showAlmostAtWipeDialog(int attempts, int remaining, int userType) { in showAlmostAtWipeDialog()
694 void showWipeDialog(int attempts, int userType) { in showWipeDialog()
DKeyguardSecurityContainerController.java471 int userType = USER_TYPE_PRIMARY; in reportFailedUnlockAttempt() local
/frameworks/base/telecomm/java/android/telecom/
DCallerInfo.java132 public long userType; field in CallerInfo
/frameworks/base/core/java/com/android/server/
DSystemConfig.java1429 final String userType = parser.getAttributeValue(null, "user-type"); in readInstallInUserType() local
1441 final String userType = parser.getAttributeValue(null, "user-type"); in readInstallInUserType() local
/frameworks/opt/car/services/src/com/android/internal/car/
DCarServiceHelperService.java661 public UserInfo createUserEvenWhenDisallowed(String name, String userType, int flags) { in createUserEvenWhenDisallowed()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java660 @Nullable String userType) { in setUpUser()