Home
last modified time | relevance | path

Searched refs:mUserInfo (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserDetailsSettingsFragment.java45 private UserInfo mUserInfo; field in UserDetailsSettingsFragment
62 mUserInfo = getArguments().getParcelable(EXTRA_USER_INFO); in onCreate()
70 mUserInfo.name); in getLineItems()
75 mUserManager.setUserName(mUserInfo.id, s.toString()); in getLineItems()
99 if (mUserInfo.id == UserHandle.USER_SYSTEM) { in removeUser()
100 Log.w(TAG, "User " + mUserInfo.id + " could not removed."); in removeUser()
106 if (mUserManager.removeUser(mUserInfo.id)) { in removeUser()
112 return ActivityManager.getCurrentUser() == mUserInfo.id; in isCurrentUser()
117 if (mUserInfo.isGuest()) { in switchTo()
132 switchToUserId(mUserInfo.id); in switchTo()
DUserLineItem.java36 private final UserInfo mUserInfo; field in UserLineItem
47 mUserInfo = userInfo; in UserLineItem()
55 viewHolder.titleView.setText(isCurrentUser(mUserInfo) in bindViewHolder()
56 ? mContext.getString(R.string.current_user_name, mUserInfo.name) : mUserInfo.name); in bindViewHolder()
61 mFragmentController.launchFragment(UserDetailsSettingsFragment.getInstance(mUserInfo)); in onClick()
81 Bitmap picture = mUserManager.getUserIcon(mUserInfo.id); in setIcon()
/packages/apps/Settings/src/com/android/settings/users/
DUserDetailsSettings.java66 private UserInfo mUserInfo; field in UserDetailsSettings
94 mUserInfo = mUserManager.getUserInfo(userId); in onCreate()
159 UserHandle userHandle = UserHandle.of(mUserInfo.id); in enableCallsAndSms()
172 return UserDialogs.createRemoveDialog(getActivity(), mUserInfo.id, in onCreateDialog()
211 mUserManager.removeUser(mUserInfo.id);
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAddUserWhenLockedPreferenceControllerTest.java52 private UserInfo mUserInfo; field in AddUserWhenLockedPreferenceControllerTest
70 when(mUserManager.getUserInfo(anyInt())).thenReturn(mUserInfo); in displayPref_NotAdmin_shouldNotDisplay()
71 when(mUserInfo.isAdmin()).thenReturn(false); in displayPref_NotAdmin_shouldNotDisplay()
/packages/apps/Settings/src/com/android/settings/applications/
DUserAppInfo.java33 public UserAppInfo(UserInfo mUserInfo, ApplicationInfo mAppInfo) { in UserAppInfo() argument
34 this.userInfo = mUserInfo; in UserAppInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fingerprint/
DFingerprintSuggestionActivityTest.java62 private UserInfo mUserInfo; field in FingerprintSuggestionActivityTest
73 ShadowUserManager.getShadow().setUserInfo(0, mUserInfo); in setUp()
DSetupFingerprintEnrollIntroductionTest.java75 private UserInfo mUserInfo; field in SetupFingerprintEnrollIntroductionTest
90 ShadowUserManager.getShadow().setUserInfo(0, mUserInfo); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DNetworkDashboardFragmentTest.java55 private UserInfo mUserInfo; field in NetworkDashboardFragmentTest