Home
last modified time | relevance | path

Searched defs:userType (Results 1 – 16 of 16) 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()
61 boolean canAddMoreProfilesToUser(in String userType, int userId, boolean allowedToRemoveOne); in canAddMoreProfilesToUser()
65 boolean isUserOfType(int userId, in String userType); in isUserOfType()
103 …UserInfo createProfileForUserEvenWhenDisallowedWithThrow(in String name, in String userType, int f… in createProfileForUserEvenWhenDisallowedWithThrow()
DUserManager.java1879 public boolean isUserOfType(@NonNull String userType) { in isUserOfType()
1892 public static boolean isUserTypeManagedProfile(String userType) { in isUserTypeManagedProfile()
1900 public static boolean isUserTypeGuest(String userType) { in isUserTypeGuest()
1909 public static boolean isUserTypeRestricted(String userType) { in isUserTypeRestricted()
1917 public static boolean isUserTypeDemo(String userType) { in isUserTypeDemo()
1926 public static int getUserTypeForStatsd(@NonNull String userType) { in getUserTypeForStatsd()
2711 public @Nullable UserInfo createUser(@Nullable String name, @NonNull String userType, in createUser()
2749 public @NonNull UserInfo preCreateUser(@NonNull String userType) in preCreateUser()
2822 public @Nullable UserHandle createProfile(@NonNull String name, @NonNull String userType, in createProfile()
2874 public UserInfo createProfileForUser(String name, @NonNull String userType, in createProfileForUser()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java821 public int[] getProfileIds(@UserIdInt int userId, @Nullable String userType, in getProfileIds()
838 private List<UserInfo> getProfilesLU(@UserIdInt int userId, @Nullable String userType, in getProfilesLU()
864 private IntArray getProfileIdsLU(@UserIdInt int userId, @Nullable String userType, in getProfileIdsLU()
1271 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType()
1327 boolean isUserTypeSubtypeOfFull(String userType) { in isUserTypeSubtypeOfFull()
1333 boolean isUserTypeSubtypeOfProfile(String userType) { in isUserTypeSubtypeOfProfile()
1339 boolean isUserTypeSubtypeOfSystem(String userType) { in isUserTypeSubtypeOfSystem()
2249 private int getNumberOfUsersOfType(String userType) { in getNumberOfUsersOfType()
2274 public boolean canAddMoreProfilesToUser(String userType, @UserIdInt int userId, in canAddMoreProfilesToUser()
3046 String userType = null; in readUserLP() local
[all …]
DUserSystemPackageInstaller.java502 @Nullable Set<String> getInstallablePackagesForUserType(String userType) { in getInstallablePackagesForUserType()
565 @NonNull Set<String> getWhitelistedPackagesForUserType(String userType) { in getWhitelistedPackagesForUserType()
650 long getUserTypeMask(String userType) { in getUserTypeMask()
DPackageManagerShellCommand.java2611 String userType = null; in runCreateUser() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java243 private void createUserWithTypeAndCheckFlags(String userType, in createUserWithTypeAndCheckFlags()
944 private UserInfo createUser(String name, String userType, int flags) { in createUser()
952 private UserInfo createProfileForUser(String name, String userType, int userHandle) { in createProfileForUser()
956 private UserInfo createProfileForUser(String name, String userType, int userHandle, in createProfileForUser()
966 private UserInfo createProfileEvenWhenDisallowedForUser(String name, String userType, in createProfileEvenWhenDisallowedForUser()
DUserSystemPackageInstallerTest.java165 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
179 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
DUserManagerServiceUserInfoTest.java223 private UserInfo createUser(@UserIdInt int userId, @UserInfoFlag int flags, String userType) { in createUser()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java186 public String userType; field in UserInfo
249 public UserInfo(int id, String name, String iconPath, int flags, String userType) { in UserInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthCredentialView.java400 private static @StringRes int getLastAttemptBeforeWipeMessageRes( in getLastAttemptBeforeWipeMessageRes()
453 private static @StringRes int getNowWipingMessageRes(@UserType int userType) { in getNowWipingMessageRes()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java579 private void showAlmostAtWipeDialog(int attempts, int remaining, int userType) { in showAlmostAtWipeDialog()
598 private void showWipeDialog(int attempts, int userType) { in showWipeDialog()
636 int userType = USER_TYPE_PRIMARY; in reportFailedUnlockAttempt() local
/frameworks/base/services/core/java/android/os/
DUserManagerInternal.java164 public abstract UserInfo createUserEvenWhenDisallowed(String name, String userType, in createUserEvenWhenDisallowed()
/frameworks/base/telecomm/java/android/telecom/
DCallerInfo.java131 public long userType; field in CallerInfo
/frameworks/base/core/java/com/android/server/
DSystemConfig.java1344 final String userType = parser.getAttributeValue(null, "user-type"); in readInstallInUserType() local
1356 final String userType = parser.getAttributeValue(null, "user-type"); in readInstallInUserType() local
/frameworks/opt/car/services/tests/src/com/android/internal/car/
DCarHelperServiceTest.java1166 String userType = in verifyUserCreated() local
/frameworks/opt/car/services/src/com/android/internal/car/
DCarServiceHelperService.java923 String userType = in preCreateUsers() local