/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | UserDetailsBaseFragment.java | 38 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()
|
D | UserDetailsBasePreferenceController.java | 43 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()
|
D | EditUsernameFragment.java | 44 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/ |
D | AccountListPreferenceController.java | 57 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()
|
D | AccountDetailsFragment.java | 61 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/ |
D | DeveloperOptionsEntryPreferenceControllerTest.java | 53 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/ |
D | UserDetailsSettings.java | 66 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/ |
D | UserDetailsSettings.java | 66 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/ |
D | PaymentSettingsTest.java | 63 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/ |
D | UserAppInfo.java | 33 public UserAppInfo(UserInfo mUserInfo, ApplicationInfo mAppInfo) { in UserAppInfo() argument 34 this.userInfo = mUserInfo; in UserAppInfo()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | UserAppInfo.java | 33 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/ |
D | AccountDetailsFragmentTest.java | 59 private final UserInfo mUserInfo = new UserInfo(/* id= */ 0, /* name= */ "name", /* flags= */ field in AccountDetailsFragmentTest 154 mFragment = AccountDetailsFragment.newInstance(mAccount, mAccountLabel, mUserInfo); in initFragment()
|