Searched refs:getUserName (Results 1 – 13 of 13) sorted by relevance
84 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()
62 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()
136 mEmergencyInfoName.setText(getUserName()); in setupButtonInfo()171 private CharSequence getUserName() { in getUserName() method in EmergencyInfoGroup174 final String userName = userManager.getUserName(); in getUserName()
81 return PREFIX + bug.getUserName() + FS + bug.getTimestamp() + "-" + lookupCode + ".zip"; in getZipFileName()94 return PREFIX + bug.getUserName() + FS + timestamp + "-" + lookupCode + "-message.3gp"; in getAudioFileName()
60 public abstract String getUserName(); in getUserName() method in MetaBugReport124 dest.writeString(getUserName()); in writeToParcel()
609 return um.getUserName(); in getCurrentUserName()
113 if (TextUtils.isEmpty(userManager.getUserName())) { in loadUserInfo()117 mPersonalCardLargeItem.setText(userManager.getUserName()); in loadUserInfo()
363 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) {
69 final String currentName = um.getUserName(); in isCurrentNameInteresting()
247 UserSettings.getUserName(context, mUserInfo)));
117 String sipAddress = profile.getUserName() + "@" + profile.getSipDomain(); in createPhoneAccount()
198 profileName = profile.getUserName() + "@" + profile.getSipDomain(); in getProfileName()
624 mTouchInputMethod = mPrefs.getString(TOUCH_INPUT_METHOD_PREFIX + mUserManager.getUserName(), in onCreate()962 String userName = mUserManager.getUserName(); in registerInputMethodObserver()