Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserDetailsBaseFragment.java38 private UserInfo mUserInfo; field in UserDetailsBaseFragment
44 launchFragment(ChooseNewAdminFragment.newInstance(mUserInfo));
47 mUserInfo, getContext().getString(R.string.user_guest))) {
75 mUserInfo = UserUtils.getUserInfo(getContext(), userId); in onAttach()
90 && mCarUserManagerHelper.canUserBeRemoved(mUserInfo) in onCreate()
113 return mUserInfo; in getUserInfo()
118 mUserInfo = UserUtils.getUserInfo(getContext(), mUserInfo.id); in refreshUserInfo()
126 boolean isLastAdmin = mUserInfo.isAdmin() in showConfirmRemoveUserDialog()
DUserDetailsBasePreferenceController.java43 private UserInfo mUserInfo; field in UserDetailsBasePreferenceController
53 mUserInfo = userInfo; in setUserInfo()
58 return mUserInfo; in getUserInfo()
63 mUserInfo = UserUtils.getUserInfo(getContext(), mUserInfo.id); in refreshUserInfo()
68 if (mUserInfo == null) { in checkInitialized()
DEditUsernameFragment.java44 private UserInfo mUserInfo; field in EditUsernameFragment
83 mUserInfo = getArguments().getParcelable(Intent.EXTRA_USER); in onCreate()
93 mCarUserManagerHelper.setUserName(mUserInfo, in onCreate()
117 mUserNameEditText.setText(mUserInfo.name); in configureUsernameEditing()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountListPreferenceController.java57 private final UserInfo mUserInfo; field in AccountListPreferenceController
68 mUserInfo = mCarUserManagerHelper.getCurrentProcessUserInfo(); in AccountListPreferenceController()
70 mUserInfo.getUserHandle(), /* listener= */ this); in AccountListPreferenceController()
116 if (userHandle.equals(mUserInfo.getUserHandle())) { in onAccountsUpdate()
129 preference.getAccount(), preference.getLabel(), mUserInfo)); in onAccountPreferenceClicked() local
137 getContext().getString(R.string.account_list_title, mUserInfo.name)); in forceUpdateAccountsCategory()
141 mAuthenticatorHelper = new AuthenticatorHelper(getContext(), mUserInfo.getUserHandle(), in forceUpdateAccountsCategory()
191 .getAccountsByTypeAsUser(accountType, mUserInfo.getUserHandle()); in getAccountPreferences()
DAccountDetailsFragment.java61 private UserInfo mUserInfo; field in AccountDetailsFragment
98 mUserInfo = getArguments().getParcelable(EXTRA_USER_INFO); in onAttach()
103 .setUserHandle(mUserInfo.getUserHandle()); in onAttach()
110 .setUserHandle(mUserInfo.getUserHandle()); in onAttach()
139 mAuthenticatorHelper = new AuthenticatorHelper(getContext(), mUserInfo.getUserHandle(), in onStart()
166 mUserInfo.getUserHandle()); in accountExists()
172 ConfirmRemoveAccountDialogFragment.show(this, mAccount, mUserInfo.getUserHandle()); in onRemoveAccountClicked()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DDeveloperOptionsEntryPreferenceControllerTest.java53 private UserInfo mUserInfo; field in DeveloperOptionsEntryPreferenceControllerTest
67 mUserInfo = new UserInfo(); in setUp()
70 when(mShadowCarUserManagerHelper.getCurrentProcessUserInfo()).thenReturn(mUserInfo); in setUp()
71 new CarUserManagerHelper(mContext).setUserRestriction(mUserInfo, in setUp()
98 new CarUserManagerHelper(mContext).setUserRestriction(mUserInfo, in testGetAvailabilityStatus_devOptionsEnabled_hasUserRestriction_isUnavailable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/nfc/
DPaymentSettingsTest.java63 private UserInfo mUserInfo; field in PaymentSettingsTest
71 when(mUserManager.getUserInfo(UserHandle.myUserId())).thenReturn(mUserInfo); in setUp()
108 when(mUserInfo.isGuest()).thenReturn(true); in getNonIndexabkeKey_guestUser_returnsFalse()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DUserAppInfo.java33 public UserAppInfo(UserInfo mUserInfo, ApplicationInfo mAppInfo) { in UserAppInfo() argument
34 this.userInfo = mUserInfo; in UserAppInfo()
/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/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountDetailsFragmentTest.java59 private final UserInfo mUserInfo = new UserInfo(/* id= */ 0, /* name= */ "name", /* flags= */ field in AccountDetailsFragmentTest
154 mFragment = AccountDetailsFragment.newInstance(mAccount, mAccountLabel, mUserInfo); in initFragment()