Home
last modified time | relevance | path

Searched refs:getUserName (Results 1 – 12 of 12) 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/google/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
118 dest.writeString(getUserName()); in writeToParcel()
DBugReportActivity.java606 return um.getUserName(); in getCurrentUserName()
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java107 if (TextUtils.isEmpty(userManager.getUserName())) { in loadUserInfo()
111 mPersonalCardLargeItem.setText(userManager.getUserName()); in loadUserInfo()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DWeatherContextualInfoLiveData.java35 String userName = userManager.getUserName(); in getGreeting()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipUtil.java115 String sipAddress = profile.getUserName() + "@" + profile.getSipDomain(); in createPhoneAccount()
DSipSettings.java198 profileName = profile.getUserName() + "@" + profile.getSipDomain(); in getProfileName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserSettings.java336 String nickname = mUserManager.getUserName(); in onCreateOptionsMenu()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java340 String nickname = mUserManager.getUserName(); in onCreateOptionsMenu()