Home
last modified time | relevance | path

Searched refs:userName (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DEditUserInfoController.java149 CharSequence userName = userNameView.getText(); in createDialog()
150 if (!TextUtils.isEmpty(userName)) { in createDialog()
152 … || !userName.toString().equals(currentUserName.toString())) { in createDialog()
154 callback.onLabelChanged(userName.toString()); in createDialog()
157 userName.toString()); in createDialog()
/packages/apps/Settings/src/com/android/settings/users/
DEditUserInfoController.java148 CharSequence userName = userNameView.getText(); in createDialog()
149 if (!TextUtils.isEmpty(userName)) { in createDialog()
151 … || !userName.toString().equals(currentUserName.toString())) { in createDialog()
153 callback.onLabelChanged(userName.toString()); in createDialog()
156 userName.toString()); in createDialog()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyNamePreference.java178 CharSequence userName = mUserNameView.getText(); in onDialogClosed() local
179 if (!TextUtils.isEmpty(userName)) { in onDialogClosed()
181 || !userName.toString().equals(mUserManager.getUserName())) { in onDialogClosed()
182 mUserManager.setUserName(UserHandle.myUserId(), userName.toString()); in onDialogClosed()
183 setSummary(userName); in onDialogClosed()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DWeatherContextualInfoLiveData.java35 String userName = userManager.getUserName(); in getGreeting() local
37 if (userName != null) { in getGreeting()
38 return mContext.getString(R.string.greeting, userName); in getGreeting()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DEditUserInfoControllerTest.java109 final EditText userName = ShadowAlertDialogCompat.shadowOf(dialog).getView() in userNameView_inputLongName_shouldBeConstrained() local
112 userName.setText(longName); in userNameView_inputLongName_shouldBeConstrained()
114 assertThat(userName.getText().length()).isEqualTo(MAX_USER_NAME_LENGTH); in userNameView_inputLongName_shouldBeConstrained()
/packages/services/Telephony/src/com/android/phone/
DEmergencyInfoGroup.java174 final String userName = userManager.getUserName(); in getUserName() local
176 return TextUtils.isEmpty(userName) ? getContext().getText( in getUserName()
177 R.string.emergency_information_owner_hint) : userName; in getUserName()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DBluetoothPbapObexAuthenticator.java65 public byte[] onAuthenticationResponse(byte[] userName) { in onAuthenticationResponse() argument
66 if (DBG) Log.v(TAG, "onAuthenticationResponse: " + userName); in onAuthenticationResponse()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java785 public UserInfo createNewAdminUser(String userName) { in createNewAdminUser() argument
792 UserInfo user = mUserManager.createUser(userName, UserInfo.FLAG_ADMIN); in createNewAdminUser()
810 public UserInfo createNewNonAdminUser(String userName) { in createNewNonAdminUser() argument
811 UserInfo user = mUserManager.createUser(userName, 0); in createNewNonAdminUser()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarUserManagerHelper.java92 protected UserInfo createNewNonAdminUser(String userName) { in createNewNonAdminUser() argument
93 return sMockInstance.createNewNonAdminUser(userName); in createNewNonAdminUser()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DBaseNotificationDelegate.java210 String userName = (notificationInfo.getUserDisplayName() == null in postNotification() local
214 .setName(userName) in postNotification()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapAuthenticator.java100 public byte[] onAuthenticationResponse(final byte[] userName) { in onAuthenticationResponse() argument
DBluetoothPbapObexServer.java1331 public final void onAuthenticationFailure(final byte[] userName) { in onAuthenticationFailure() argument
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2MethodStateMachine.java627 String userName, in checkAuthenticatorResponse() argument
632 password, ntResponse, peerChallenge, authenticatorChallenge, userName); in checkAuthenticatorResponse()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java571 public void onAuthenticationFailure(byte[] userName) { in onAuthenticationFailure() argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java4487 String userName = pm.getNameForUid(callingUid); in exceptionMessage() local
4488 sb.append(userName == null ? callingUid : userName); in exceptionMessage()