/aosp_15_r20/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/users/ |
H A D | UserTypeTest.java | 39 UserType userType = new UserType(mutableUserType); in name_returnsName() local 47 UserType userType = new UserType(mutableUserType); in name_notSet_returnsNull() local 56 UserType userType = new UserType(mutableUserType); in baseType_returnsBaseType() local 64 UserType userType = new UserType(mutableUserType); in baseType_notSet_returnsNull() local 73 UserType userType = new UserType(mutableUserType); in enabled_returnsEnabled() local 81 UserType userType = new UserType(mutableUserType); in enabled_notSet_returnsNull() local 90 UserType userType = new UserType(mutableUserType); in maxAllowed_returnsMaxAllowed() local 98 UserType userType = new UserType(mutableUserType); in maxAllowed_notSet_returnsNull() local 107 UserType userType = new UserType(mutableUserType); in maxAllowedPerParent_returnsMaxAllowedPerParent() local 115 UserType userType = new UserType(mutableUserType); in maxAllowedParParent_notSet_returnsNull() local
|
/aosp_15_r20/frameworks/base/core/java/android/os/ |
H A 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 …]
|
H A D | UserManager.java | 3068 public boolean isUserOfType(@NonNull String userType) { in isUserOfType() 3082 public static boolean isUserTypeManagedProfile(@Nullable String userType) { in isUserTypeManagedProfile() 3091 public static boolean isUserTypeGuest(@Nullable String userType) { in isUserTypeGuest() 3101 public static boolean isUserTypeRestricted(@Nullable String userType) { in isUserTypeRestricted() 3110 public static boolean isUserTypeDemo(@Nullable String userType) { in isUserTypeDemo() 3119 public static boolean isUserTypeCloneProfile(@Nullable String userType) { in isUserTypeCloneProfile() 3129 public static boolean isUserTypeCommunalProfile(@Nullable String userType) { in isUserTypeCommunalProfile() 3140 public static boolean isUserTypePrivateProfile(@Nullable String userType) { in isUserTypePrivateProfile() 4320 public @Nullable UserInfo createUser(@Nullable String name, @NonNull String userType, in createUser() 4396 public @NonNull UserInfo preCreateUser(@NonNull String userType) in preCreateUser() [all …]
|
/aosp_15_r20/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/ |
D | ClearcutEventHelper.java | 46 String userKey, String runId, UserType userType, String subToolName) { in createStartEvent() 76 UserType userType, in createFinishedEvent() 111 String userKey, String runId, UserType userType, String subToolName) { in createRunStartEvent() 141 UserType userType, in creatRunTestFinished() 176 String userKey, String runId, UserType userType, String subToolName) { in createBaseExternalEventBuilder() 196 String userKey, String runId, UserType userType, String subToolName) { in createBaseInternalEventBuilder()
|
/aosp_15_r20/test/robolectric-extensions/clearcut-junit-listener/src/main/java/com/google/asuite/clearcut/junit/listener/ |
H A D | ClearcutEventHelper.java | 50 String userKey, String runId, UserType userType, String subToolName) { in createStartEvent() 80 UserType userType, in createFinishedEvent() 115 String userKey, String runId, UserType userType, String subToolName) { in createRunStartEvent() 158 UserType userType, in creatRunTestFinished() 193 String userKey, String runId, UserType userType, String subToolName) { in createBaseExternalEventBuilder() 213 String userKey, String runId, UserType userType, String subToolName) { in createBaseInternalEventBuilder()
|
/aosp_15_r20/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
H A D | PropertyBoxParserImpl.java | 78 public Class<? extends Box> getClassForFourCc(String type, byte[] userType, String parent) { in getClassForFourCc() 88 public Box createBox(String type, byte[] userType, String parent) { in createBox() 145 private byte[] userType; field in PropertyBoxParserImpl.FourCcToBox 150 public FourCcToBox(String type, byte[] userType, String parent) { in FourCcToBox()
|
/aosp_15_r20/out/soong/.intermediates/packages/apps/Launcher3/Launcher3QuickStepLib/android_common/kapt/gen/stubs/com/android/launcher3/util/ |
D | LauncherLayoutBuilder.java | 77 java.lang.String tag, @org.jetbrains.annotations.Nullable() in addItem() 112 java.lang.String className, @org.jetbrains.annotations.Nullable() in putApp() 121 java.lang.String shortcutId, @org.jetbrains.annotations.Nullable() in putShortcut() 130 java.lang.String className, int spanX, int spanY, @org.jetbrains.annotations.Nullable() in putWidget() 148 java.lang.String tag, @org.jetbrains.annotations.Nullable() in addItem()
|
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/stubs/com/android/systemui/mediaprojection/appselector/data/ |
D | RecentTask.java | 22 …te final com.android.systemui.mediaprojection.appselector.data.RecentTask.UserType userType = null; field in RecentTask 32 …com.android.systemui.mediaprojection.appselector.data.RecentTask.UserType userType, @org.jetbrains… in RecentTask() 80 …com.android.systemui.mediaprojection.appselector.data.RecentTask.UserType userType, @org.jetbrains… in RecentTask() 133 …com.android.systemui.mediaprojection.appselector.data.RecentTask.UserType userType, @org.jetbrains… in copy()
|
D | BadgedAppIconLoader.java | 38 …com.android.systemui.mediaprojection.appselector.data.RecentTask.UserType userType, @org.jetbrains… in loadIcon() 44 …private final int getIconType(com.android.systemui.mediaprojection.appselector.data.RecentTask.Use… in getIconType()
|
/aosp_15_r20/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
H A D | AdbUserParser30.java | 295 UserType userType = new UserType(parseUserType(userTypeString)); in parseUserTypes() local 296 userTypes.put(userType.name(), userType); in parseUserTypes() local 317 UserType.MutableUserType userType = new UserType.MutableUserType(); in parseUserType() local
|
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/stubs/com/android/systemui/biometrics/domain/interactor/ |
D | CredentialInteractorKt.java | 25 …n.DevicePolicyManager devicePolicyManager, com.android.systemui.biometrics.domain.interactor.UserT… in getFinalAttemptMessageOrBlank() 29 …n.DevicePolicyManager devicePolicyManager, com.android.systemui.biometrics.domain.interactor.UserT… in getLastAttemptBeforeWipeMessage() 45 …n.DevicePolicyManager devicePolicyManager, com.android.systemui.biometrics.domain.interactor.UserT… in getNowWipingMessage()
|
/aosp_15_r20/frameworks/base/core/java/android/content/pm/ |
H A 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()
|
/aosp_15_r20/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/ |
D | AndroidMockitoHelper.java | 187 public static void mockUmCreateUser(UserManager um, @Nullable String name, String userType, in mockUmCreateUser() 197 public static void mockUmCreateUser(UserManager um, @Nullable String name, String userType, in mockUmCreateUser() 206 public static void mockUmCreateUser(UserManager um, @Nullable String name, String userType, in mockUmCreateUser() 225 String userType, @UserInfoFlag int flags) { in isNewUserRequest() 614 NewUserRequestMatcher(String name, String userType, int flags) { in NewUserRequestMatcher()
|
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialBaseFragment.java | 354 final int userType = getUserTypeForWipe(); in updateErrorMessage() local 388 protected abstract String getLastTryOverrideErrorMessageId(int userType); in getLastTryOverrideErrorMessageId() 389 protected abstract int getLastTryDefaultErrorMessage(int userType); in getLastTryDefaultErrorMessage() 391 private String getWipeMessage(int userType) { in getWipeMessage()
|
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserManagerService.java | 1580 public int[] getProfileIds(@UserIdInt int userId, @Nullable String userType, in getProfileIds() 1597 private List<UserInfo> getProfilesLU(@UserIdInt int userId, @Nullable String userType, in getProfilesLU() 1624 private IntArray getProfileIdsLU(@UserIdInt int userId, @Nullable String userType, in getProfileIdsLU() 2301 public boolean isUserOfType(@UserIdInt int userId, String userType) { in isUserOfType() 2372 boolean isUserTypeSubtypeOfFull(String userType) { in isUserTypeSubtypeOfFull() 2378 boolean isUserTypeSubtypeOfProfile(String userType) { in isUserTypeSubtypeOfProfile() 2384 boolean isUserTypeSubtypeOfSystem(String userType) { in isUserTypeSubtypeOfSystem() 3839 public int getRemainingCreatableUserCount(String userType) { in getRemainingCreatableUserCount() 3883 private int getNumberOfUsersOfType(String userType) { in getNumberOfUsersOfType() 3905 public boolean canAddMoreUsersOfType(String userType) { in canAddMoreUsersOfType() [all …]
|
H A 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()
|
H A 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()
|
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/data/repository/ |
H A D | ProfileTypeRepositoryImpl.kt | 45 val userType = userManager.getUserInfo(userId).userType in getProfileType() constant
|
/aosp_15_r20/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 1324 UserHandle createUserEvenWhenDisallowed(@Nullable String name, @NonNull String userType, in createUserEvenWhenDisallowed() 1350 String userType = userCreationRequest.isGuest() ? UserManager.USER_TYPE_FULL_GUEST in createUser() local 1366 public void createUser(@Nullable String name, @NonNull String userType, int flags, in createUser() 1372 EventLogHelper.writeCarUserServiceCreateUserReq(UserHelperLite.safeName(name), userType, in createUser() local 1438 private void handleCreateUser(@Nullable String name, @NonNull String userType, in handleCreateUser() 1522 userType, flags); in handleCreateUser() local 1604 private NewUserRequest getCreateUserRequest(String name, String userType, int flags) { in getCreateUserRequest()
|
/aosp_15_r20/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
H A D | UpdateOwnershipEnforcementTestBase.kt | 37 val userType = um.userType in assumeRunOnPrimaryUser() constant
|
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserManagerTest.java | 424 final String userType = UserManager.USER_TYPE_FULL_SECONDARY; in testAddTooManyUsers() local 873 private void createUserWithTypeAndCheckFlags(String userType, in createUserWithTypeAndCheckFlags() 2122 private UserInfo createUser(String name, String userType, int flags) { in createUser() 2130 private UserInfo createProfileForUser(String name, String userType, int userHandle) { in createProfileForUser() 2134 private UserInfo createProfileForUser(String name, String userType, int userHandle, in createProfileForUser() 2144 private UserInfo createProfileEvenWhenDisallowedForUser(String name, String userType, in createProfileEvenWhenDisallowedForUser()
|
/aosp_15_r20/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/ |
H A D | RequiredCreatorTest.java | 25 private String userType; field in RequiredCreatorTest.LoginUserResponse 46 public void setUserType(String userType) { in setUserType()
|
/aosp_15_r20/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
H A D | AbstractBox.java | 53 private byte[] userType; field in AbstractBox 64 protected AbstractBox(String type, byte[] userType) { in AbstractBox()
|
/aosp_15_r20/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | UserInfo.java | 129 public UserInfo(int userId, String userName, int flag, boolean isRunning, String userType) { in UserInfo() 195 public boolean isUserType(UserType userType, int currentUserId) { in isUserType()
|
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowUserManager.java | 278 protected UserHandle createProfile(String name, String userType, Set<String> disallowedPackages) { in createProfile() 300 private static int getDefaultUserTypeFlags(String userType) { in getDefaultUserTypeFlags() 468 protected boolean isUserOfType(String userType) { in isUserOfType() 1211 private void setUserType(String userType) { in setUserType()
|