/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioPlaybackRequestResults.java | 37 public static AudioPlaybackRequestResults newInstance(String userName, boolean allowed) { in newInstance() argument 38 return new AudioPlaybackRequestResults(userName, allowed); in newInstance() 41 private AudioPlaybackRequestResults(String userName, boolean allowed) { in AudioPlaybackRequestResults() argument 42 mUserName = Objects.requireNonNull(userName, "User name can not be null"); in AudioPlaybackRequestResults()
|
D | AcceptAudioDialog.java | 37 public static AcceptAudioDialog newInstance(OnAudioAllowedCallback callback, String userName) { in newInstance() argument 38 return new AcceptAudioDialog(callback, userName); in newInstance() 41 private AcceptAudioDialog(OnAudioAllowedCallback callback, String userName) { in AcceptAudioDialog() argument 43 mUserName = Objects.requireNonNull(userName, "User name can not be null"); in AcceptAudioDialog()
|
/packages/modules/adb/sysdeps/ |
D | env.cpp | 99 const auto userName = GetEnvironmentVariable(kUserNameEnvVar); in GetLoginNameUTF8() local 100 if (userName && !userName->empty()) { in GetLoginNameUTF8() 101 return *userName; in GetLoginNameUTF8()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | ExperimentalCarUserServiceTest.java | 141 String userName = "testUser"; in testCreatePassenger() local 144 mockCreateProfile(driverId, userName, passenger); in testCreatePassenger() 147 assertThat(mExperimentalCarUserService.createPassenger(userName, driverId)) in testCreatePassenger() 154 String userName = "testUser"; in testCreatePassenger_IfMaximumProfileAlreadyCreated() local 156 mockCreateProfile(driver.getIdentifier(), userName, null); in testCreatePassenger_IfMaximumProfileAlreadyCreated() local 158 assertThat(mExperimentalCarUserService.createPassenger(userName, driver.getIdentifier())) in testCreatePassenger_IfMaximumProfileAlreadyCreated() 166 String userName = "testUser"; in testCreatePassenger_IfDriverIsGuest() local 167 assertThat(mExperimentalCarUserService.createPassenger(userName, driverId)).isNull(); in testCreatePassenger_IfDriverIsGuest()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/user/ |
D | UserHelperTest.java | 96 String userName = "NewUser"; in testAssignDefaultIcon() local 97 UserInfo newNonAdmin = newUser(userId, userName); in testAssignDefaultIcon() 108 String userName = "NewUser"; in testAssignDefaultIcon_nullContext_throwsException() local 109 UserInfo newNonAdmin = newUser(userId, userName); in testAssignDefaultIcon_nullContext_throwsException()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EmergencyNamePreference.java | 178 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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/ |
D | BluetoothPbapObexAuthenticatorTest.java | 56 byte[] userName = new byte[] {}; in onAuthenticationResponse() 58 assertThat(mAuthenticator.onAuthenticationResponse(userName)).isNull(); in onAuthenticationResponse()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/ |
D | BluetoothPbapObexAuthenticator.java | 54 public byte[] onAuthenticationResponse(byte[] userName) { in onAuthenticationResponse() argument 55 Log.v(TAG, "onAuthenticationResponse: " + Arrays.toString(userName)); in onAuthenticationResponse()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyInfoGroup.java | 174 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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapAuthenticatorTest.java | 139 byte[] userName = "test_user_name".getBytes(); in testOnAuthenticationResponse() 142 assertThat(mAuthenticator.onAuthenticationResponse(userName)).isNull(); in testOnAuthenticationResponse()
|
D | BluetoothPbapObexServerTest.java | 285 byte[] userName = {0x57, 0x68, 0x79}; in testOnAuthenticationFailure() 287 mServer.onAuthenticationFailure(userName); in testOnAuthenticationFailure()
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | CloneBackend.java | 95 String userName = "cloneUser"; in installCloneApp() local 103 cloneUserHandle = um.createProfile(userName, USER_TYPE_PROFILE_CLONE, in installCloneApp()
|
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/ |
D | LoginActivity.java | 104 String userName = loginResult.getSuccess().getDisplayName(); in onCreate() 105 Log.d(TAG, "User " + userName + " signed in"); in onCreate()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/ |
D | UserTestingHelper.java | 108 public static UserInfo newUser(@UserIdInt int userId, @NonNull String userName) { in newUser() argument 109 return new UserInfoBuilder(userId).setName(userName).build(); in newUser()
|
/packages/apps/Settings/src/com/android/settings/network/apn/ |
D | ApnStatus.kt | 37 val userName: String = "", constant in com.android.settings.network.apn.ApnData 62 Telephony.Carriers.USER to userName, in getContentValueMap()
|
D | ApnEditPageProvider.kt | 182 value = apnData.userName, in ApnPage() 185 ) { apnData = apnData.copy(userName = it) } in ApnPage()
|
D | ApnRepository.kt | 79 userName = cursor.getString(Telephony.Carriers.USER), in <lambda>()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapAuthenticator.java | 96 public byte[] onAuthenticationResponse(final byte[] userName) { in onAuthenticationResponse() argument
|
/packages/apps/Settings/src/com/android/settings/privatespace/ |
D | PrivateSpaceMaintainer.java | 106 final String userName = "Private space"; in createPrivateSpace() local 111 userName, USER_TYPE_PROFILE_PRIVATE, new ArraySet<>()); in createPrivateSpace()
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ProfileHelper.java | 324 private UserInfo createNewAdminProfile(Context context, String userName) { in createNewAdminProfile() argument 331 mCarUserManager.createUser(userName, UserInfo.FLAG_ADMIN)); in createNewAdminProfile()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserSettings.java | 922 (userName, userIcon, isAdmin) -> { 924 mPendingUserName = userName; 1029 void createUser(final int userType, String userName) { 1038 userName, 1045 user = mUserManager.createRestrictedProfile(userName);
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapMsChapV2MethodStateMachine.java | 631 String userName, in checkAuthenticatorResponse() argument 636 password, ntResponse, peerChallenge, authenticatorChallenge, userName); in checkAuthenticatorResponse()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | TestActivity.java | 594 public void onAuthenticationFailure(byte[] userName) {} in onAuthenticationFailure() argument
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | RotaryService.java | 1022 String userName = mUserManager.getUserName(); in registerInputMethodObserver() 1024 + userName); in registerInputMethodObserver() 1026 .putString(TOUCH_INPUT_METHOD_PREFIX + userName, mTouchInputMethod) in registerInputMethodObserver()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 796 String userName = resp.userNameToCreate; in initBootUser() 800 .setNewUserName(userName) in initBootUser()
|