Home
last modified time | relevance | path

Searched refs:getUserName (Results 1 – 13 of 13) sorted by relevance

/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/
DEmergencyNamePreferenceTest.java84 when(mUserManager.getUserName()).thenReturn("Wesley"); in loadDataFromUserManager_setUserNameAndPhoto_preferenceSummaryAndIconIsSet()
87 assertThat(mTestEmergencyNamePreference.getSummary()).isEqualTo(mUserManager.getUserName()); in loadDataFromUserManager_setUserNameAndPhoto_preferenceSummaryAndIconIsSet()
94 when(mUserManager.getUserName()).thenReturn("Wesley"); in onBindDialogView_setUserName_textViewTitleIsSet()
99 assertThat(textView.getText().toString()).isEqualTo(mUserManager.getUserName()); in onBindDialogView_setUserName_textViewTitleIsSet()
158 setSummary(mUserManager.getUserName()); in TestEmergencyNamePreference()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyNamePreference.java62 setSummary(mUserManager.getUserName()); in EmergencyNamePreference()
90 setSummary(mUserManager.getUserName()); in reloadFromUserManager()
148 mUserNameView.setText(mUserManager.getUserName()); in onBindDialogView()
180 if (mUserManager.getUserName() == null in onDialogClosed()
181 || !userName.toString().equals(mUserManager.getUserName())) { in onDialogClosed()
/packages/services/Telephony/src/com/android/phone/
DEmergencyInfoGroup.java136 mEmergencyInfoName.setText(getUserName()); in setupButtonInfo()
171 private CharSequence getUserName() { in getUserName() method in EmergencyInfoGroup
174 final String userName = userManager.getUserName(); in getUserName()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DFileUtils.java81 return PREFIX + bug.getUserName() + FS + bug.getTimestamp() + "-" + lookupCode + ".zip"; in getZipFileName()
94 return PREFIX + bug.getUserName() + FS + timestamp + "-" + lookupCode + "-message.3gp"; in getAudioFileName()
DMetaBugReport.java60 public abstract String getUserName(); in getUserName() method in MetaBugReport
124 dest.writeString(getUserName()); in writeToParcel()
DBugReportActivity.java609 return um.getUserName(); in getCurrentUserName()
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java113 if (TextUtils.isEmpty(userManager.getUserName())) { in loadUserInfo()
117 mPersonalCardLargeItem.setText(userManager.getUserName()); in loadUserInfo()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java363 String nickname = mUserManager.getUserName(); in onCreateOptionsMenu()
535 .setTitleText(getUserName(context, userInfo)) in openUserDetails()
947 pref.setTitle(getUserName(prefContext, user));
1154 public static String getUserName(Context context, @NonNull UserInfo userInfo) {
DProfileUpdateReceiver.java69 final String currentName = um.getUserName(); in isCurrentNameInteresting()
DUserDetailsSettings.java247 UserSettings.getUserName(context, mUserInfo)));
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipUtil.java117 String sipAddress = profile.getUserName() + "@" + profile.getSipDomain(); in createPhoneAccount()
DSipSettings.java198 profileName = profile.getUserName() + "@" + profile.getSipDomain(); in getProfileName()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java624 mTouchInputMethod = mPrefs.getString(TOUCH_INPUT_METHOD_PREFIX + mUserManager.getUserName(), in onCreate()
962 String userName = mUserManager.getUserName(); in registerInputMethodObserver()