Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DLauncherUserInfo.java34 private final String mUserType; field in LauncherUserInfo
49 return mUserType; in getUserType()
64 mUserType = in.readString16NoHelper(); in LauncherUserInfo()
71 dest.writeString16NoHelper(mUserType); in writeToParcel()
99 private final String mUserType; field in LauncherUserInfo.Builder
104 this.mUserType = userType; in Builder()
112 return new LauncherUserInfo(this.mUserType, this.mUserSerialNumber); in build()
118 this.mUserType = userType; in LauncherUserInfo()
/frameworks/base/core/java/android/os/
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()
/frameworks/base/services/core/java/com/android/server/
DSystemService.java154 private final String mUserType; field in SystemService.TargetUser
162 mUserType = userInfo.userType; in TargetUser()
193 return UserManager.isUserTypeManagedProfile(mUserType); in isManagedProfile()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserJourneyLoggerTest.java625 ArgumentCaptor<Integer> mUserType = ArgumentCaptor.forClass(Integer.class); field in UserJourneyLoggerTest.UserLifecycleJourneyReportedCaptor
638 mUserType.capture(), in captureAndAssert()
647 assertThat(mUserType.getValue()).isEqualTo(userType); in captureAndAssert()