Home
last modified time | relevance | path

Searched refs:mUserType (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/core/java/android/os/
H A DNewUserRequest.java40 private final String mUserType; field in NewUserRequest
50 mUserType = builder.mUserType; in NewUserRequest()
101 return mUserType; in getUserType()
143 + ", mUserType='" + mUserType + '\'' in toString()
159 private String mUserType = UserManager.USER_TYPE_FULL_SECONDARY; field in NewUserRequest.Builder
212 mUserType = type; in setUserType()
277 if (mUserType == null) { in checkIfPropertiesAreCompatible()
282 if (mAdmin && !mUserType.equals(UserManager.USER_TYPE_FULL_SECONDARY)) { in checkIfPropertiesAreCompatible()
283 throw new IllegalStateException("Admin user can't be of type: " + mUserType); in checkIfPropertiesAreCompatible()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DSystemService.java150 private final String mUserType; field in SystemService.TargetUser
158 mUserType = userInfo.userType; in TargetUser()
189 return UserManager.isUserTypeManagedProfile(mUserType); in isManagedProfile()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserJourneyLoggerTest.java529 ArgumentCaptor<Integer> mUserType = ArgumentCaptor.forClass(Integer.class); field in UserJourneyLoggerTest.UserLifecycleJourneyReportedCaptor
542 mUserType.capture(), in captureAndAssert()
551 assertThat(mUserType.getValue()).isEqualTo(userType); in captureAndAssert()