Home
last modified time | relevance | path

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

/packages/modules/adb/sysdeps/
Denv.cpp97 const auto userName = GetEnvironmentVariable(kUserNameEnvVar); in GetLoginNameUTF8() local
98 if (userName && !userName->empty()) { in GetLoginNameUTF8()
99 return *userName; in GetLoginNameUTF8()
/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/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/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/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DConversationFetchUtil.java78 String userName = ContactUtils.DRIVER_NAME; in initConversationBuilder() local
81 new Person.Builder().setName(userName).build(), conversationId); in initConversationBuilder()
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/
DLoginActivity.java104 String userName = loginResult.getSuccess().getDisplayName(); in onCreate()
105 Log.d(TAG, "User " + userName + " signed in"); in onCreate()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DBaseNotificationDelegate.java217 String userName = (notificationInfo.getUserDisplayName() == null in postNotification() local
221 .setName(userName) in postNotification()
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileHelper.java292 private UserInfo createNewAdminProfile(String userName) { in createNewAdminProfile() argument
299 mCarUserManager.createUser(userName, UserInfo.FLAG_ADMIN)); in createNewAdminProfile()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapAuthenticator.java100 public byte[] onAuthenticationResponse(final byte[] userName) { in onAuthenticationResponse() argument
DBluetoothPbapObexServer.java1368 public final void onAuthenticationFailure(final byte[] userName) { in onAuthenticationFailure() argument
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java703 String userName = "testUser"; in testCreatePassenger() local
704 UserInfo userInfo = new UserInfo(passengerId, userName, NO_USER_INFO_FLAGS); in testCreatePassenger()
705 doReturn(userInfo).when(mMockedUserManager).createProfileForUser(eq(userName), in testCreatePassenger()
709 assertEquals(userInfo, mCarUserService.createPassenger(userName, driverId)); in testCreatePassenger()
715 String userName = "testUser"; in testCreatePassenger_IfMaximumProfileAlreadyCreated() local
716 doReturn(null).when(mMockedUserManager).createProfileForUser(eq(userName), in testCreatePassenger_IfMaximumProfileAlreadyCreated()
720 assertEquals(null, mCarUserService.createPassenger(userName, driverId)); in testCreatePassenger_IfMaximumProfileAlreadyCreated()
726 String userName = "testUser"; in testCreatePassenger_IfDriverIsGuest() local
729 assertEquals(null, mCarUserService.createPassenger(userName, driverId)); in testCreatePassenger_IfDriverIsGuest()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2MethodStateMachine.java631 String userName, in checkAuthenticatorResponse() argument
636 password, ntResponse, peerChallenge, authenticatorChallenge, userName); in checkAuthenticatorResponse()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java728 (userName, userIcon) -> {
730 mPendingUserName = userName;
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java571 public void onAuthenticationFailure(byte[] userName) { in onAuthenticationFailure() argument
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java962 String userName = mUserManager.getUserName(); in registerInputMethodObserver()
964 .putString(TOUCH_INPUT_METHOD_PREFIX + userName, mTouchInputMethod) in registerInputMethodObserver()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java847 String userName = resp.userNameToCreate; in initBootUser()
850 .setNewUserName(userName) in initBootUser()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java4511 String userName = pm.getNameForUid(callingUid); in exceptionMessage() local
4512 sb.append(userName == null ? callingUid : userName); in exceptionMessage()