/frameworks/base/core/java/android/content/pm/ |
D | LauncherUserInfo.java | 134 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()
|
D | UserInfo.java | 252 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/ |
D | IUserManager.aidl | 46 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 …]
|
D | UserManager.java | 3169 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/ |
D | ProfileTypeRepositoryImpl.kt | 45 val userType = userManager.getUserInfo(userId).userType in getProfileType() constant
|
/frameworks/base/core/tests/mockingcoretests/src/android/content/pm/ |
D | UserInfoTest.java | 203 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/ |
D | RecentTask.kt | 33 val userType: UserType, constant in com.android.systemui.mediaprojection.appselector.data.RecentTask
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | BackgroundUserSoundNotifierTest.java | 346 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/ |
D | UserSystemPackageInstallerTest.java | 166 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local 180 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() local
|
D | UserJourneyLoggerTest.java | 632 int targetUserId, int userType, int userFlags, int errorCode, int times) { in captureAndAssert() 655 int targetUserId, int userType, int userFlags, int errorCode) { in captureLogAndAssert()
|
D | UserManagerTest.java | 462 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()
|
D | UserManagerServiceUserInfoTest.java | 310 private UserInfo createUser(@UserIdInt int userId, @UserInfoFlag int flags, String userType) { in createUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserSystemPackageInstaller.java | 517 @Nullable Set<String> getInstallablePackagesForUserType(String userType) { in getInstallablePackagesForUserType() 572 @NonNull Set<String> getWhitelistedPackagesForUserType(String userType) { in getWhitelistedPackagesForUserType() 657 long getUserTypeMask(String userType) { in getUserTypeMask()
|
D | UserJourneyLogger.java | 228 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()
|
D | UserManagerService.java | 1611 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 …]
|
D | UserTypeFactory.java | 800 private static void validateUserTypeIsProfile(String userType, in validateUserTypeIsProfile()
|
D | UserManagerInternal.java | 283 @Nullable String name, @NonNull String userType, @UserInfo.UserInfoFlag int flags, in createUserEvenWhenDisallowed()
|
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/ |
D | CarServiceHelperInterface.java | 42 UserHandle createUserEvenWhenDisallowed(@Nullable String name, @NonNull String userType, in createUserEvenWhenDisallowed()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallerInfo.java | 132 public long userType; field in CallerInfo
|
/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/ |
D | CarServiceHelperServiceUpdatableImpl.java | 390 public UserHandle createUserEvenWhenDisallowed(String name, String userType, int flags) { in createUserEvenWhenDisallowed()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 1587 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/ |
D | SystemConfig.java | 1946 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/ |
D | KeyguardSecurityContainer.java | 785 void showAlmostAtWipeDialog(int attempts, int remaining, int userType) { in showAlmostAtWipeDialog() 808 void showWipeDialog(int attempts, int userType) { in showWipeDialog()
|
D | KeyguardSecurityContainerController.java | 1216 int userType = USER_TYPE_PRIMARY; in showMessageForFailedUnlockAttempt() local
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 704 int userType = UserIconInfo.TYPE_MAIN; in getBadgedIcon() local
|