Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/
DLauncherUserInfo.java134 public Builder(@NonNull String userType, int userSerialNumber, @NonNull Bundle config) { in Builder()
140 public Builder(@NonNull String userType, int userSerialNumber) { in Builder()
156 private LauncherUserInfo(@NonNull String userType, int userSerialNumber, in LauncherUserInfo()
DUserInfo.java252 public String userType; field in UserInfo
321 public UserInfo(int id, String name, String iconPath, int flags, String userType) { in UserInfo()
/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()
68 boolean isUserTypeEnabled(in String userType); in isUserTypeEnabled()
69 boolean canAddMoreUsersOfType(in String userType); in canAddMoreUsersOfType()
70 int getRemainingCreatableUserCount(in String userType); in getRemainingCreatableUserCount()
71 int getRemainingCreatableProfileCount(in String userType, int userId); in getRemainingCreatableProfileCount()
72 boolean canAddMoreProfilesToUser(in String userType, int userId, boolean allowedToRemoveOne); in canAddMoreProfilesToUser()
77 boolean isUserOfType(int userId, in String userType); in isUserOfType()
[all …]
DUserManager.java3169 public boolean isUserOfType(@NonNull String userType) { in isUserOfType()
3183 public static boolean isUserTypeManagedProfile(@Nullable String userType) { in isUserTypeManagedProfile()
3192 public static boolean isUserTypeGuest(@Nullable String userType) { in isUserTypeGuest()
3202 public static boolean isUserTypeRestricted(@Nullable String userType) { in isUserTypeRestricted()
3211 public static boolean isUserTypeDemo(@Nullable String userType) { in isUserTypeDemo()
3220 public static boolean isUserTypeCloneProfile(@Nullable String userType) { in isUserTypeCloneProfile()
3230 public static boolean isUserTypeCommunalProfile(@Nullable String userType) { in isUserTypeCommunalProfile()
3241 public static boolean isUserTypePrivateProfile(@Nullable String userType) { in isUserTypePrivateProfile()
3253 public static boolean isUserTypeSupervisingProfile(@Nullable String userType) { in isUserTypeSupervisingProfile()
4446 public @Nullable UserInfo createUser(@Nullable String name, @NonNull String userType, in createUser()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/data/repository/
DProfileTypeRepositoryImpl.kt45 val userType = userManager.getUserInfo(userId).userType in getProfileType() constant
/frameworks/base/core/tests/mockingcoretests/src/android/content/pm/
DUserInfoTest.java203 private UserInfo createTestUserInfo(String userType, @UserInfoFlag int flags) { in createTestUserInfo()
208 private UserInfo createUser(@UserIdInt int userId, @UserInfoFlag int flags, String userType) { in createUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTask.kt33 val userType: UserType, constant in com.android.systemui.mediaprojection.appselector.data.RecentTask
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DBackgroundUserSoundNotifierTest.java346 private UserInfo createUser(String name, String userType, int flags) { in createUser()
354 private UserInfo createProfileForUser(String name, String userType, int userHandle, in createProfileForUser()
/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
DUserJourneyLoggerTest.java632 int targetUserId, int userType, int userFlags, int errorCode, int times) { in captureAndAssert()
655 int targetUserId, int userType, int userFlags, int errorCode) { in captureLogAndAssert()
DUserManagerTest.java462 final String userType = UserManager.USER_TYPE_FULL_SECONDARY; in testAddTooManyUsers() local
911 private void createUserWithTypeAndCheckFlags(String userType, in createUserWithTypeAndCheckFlags()
2160 private UserInfo createUser(String name, String userType, int flags) { in createUser()
2168 private UserInfo createProfileForUser(String name, String userType, int userHandle) { in createProfileForUser()
2172 private UserInfo createProfileForUser(String name, String userType, int userHandle, in createProfileForUser()
2182 private UserInfo createProfileEvenWhenDisallowedForUser(String name, String userType, in createProfileEvenWhenDisallowedForUser()
DUserManagerServiceUserInfoTest.java310 private UserInfo createUser(@UserIdInt int userId, @UserInfoFlag int flags, String userType) { in createUser()
/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.java228 public static int getUserTypeForStatsd(@NonNull String userType) { in getUserTypeForStatsd()
279 int userType, int userFlags, @UserJourneyErrorCode int errorCode) { in logUserLifecycleJourneyReported()
296 int targetUserId, int userType, int userFlags, int errorCode, long elapsedTime) { in writeUserLifecycleJourneyReported()
DUserManagerService.java1611 public int[] getProfileIds(@UserIdInt int userId, @Nullable String userType, in getProfileIds()
1628 private List<UserInfo> getProfilesLU(@UserIdInt int userId, @Nullable String userType, in getProfilesLU()
1655 private IntArray getProfileIdsLU(@UserIdInt int userId, @Nullable String userType, in getProfileIdsLU()
2332 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType()
2403 boolean isUserTypeSubtypeOfFull(String userType) { in isUserTypeSubtypeOfFull()
2409 boolean isUserTypeSubtypeOfProfile(String userType) { in isUserTypeSubtypeOfProfile()
2415 boolean isUserTypeSubtypeOfSystem(String userType) { in isUserTypeSubtypeOfSystem()
3922 public int getRemainingCreatableUserCount(String userType) { in getRemainingCreatableUserCount()
3966 private int getNumberOfUsersOfType(String userType) { in getNumberOfUsersOfType()
3988 public boolean canAddMoreUsersOfType(String userType) { in canAddMoreUsersOfType()
[all …]
DUserTypeFactory.java800 private static void validateUserTypeIsProfile(String userType, in validateUserTypeIsProfile()
DUserManagerInternal.java283 @Nullable String name, @NonNull String userType, @UserInfo.UserInfoFlag int flags, in createUserEvenWhenDisallowed()
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/
DCarServiceHelperInterface.java42 UserHandle createUserEvenWhenDisallowed(@Nullable String name, @NonNull String userType, in createUserEvenWhenDisallowed()
/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.java390 public UserHandle createUserEvenWhenDisallowed(String name, String userType, int flags) { in createUserEvenWhenDisallowed()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java1587 private void setUpAndStartProfileInBackground(int userId, String userType) throws Exception { in setUpAndStartProfileInBackground()
1652 @Nullable String userType) { in setUpUser()
/frameworks/base/services/core/java/com/android/server/
DSystemConfig.java1946 final String userType = parser.getAttributeValue(null, "user-type"); in readInstallInUserType() local
1958 final String userType = parser.getAttributeValue(null, "user-type"); in readInstallInUserType() local
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java785 void showAlmostAtWipeDialog(int attempts, int remaining, int userType) { in showAlmostAtWipeDialog()
808 void showWipeDialog(int attempts, int userType) { in showWipeDialog()
DKeyguardSecurityContainerController.java1216 int userType = USER_TYPE_PRIMARY; in showMessageForFailedUnlockAttempt() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java704 int userType = UserIconInfo.TYPE_MAIN; in getBadgedIcon() local

12