/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | RenameDocumentUiTest.java | 28 private final String newName = "kitties.log"; field in RenameDocumentUiTest 91 bots.main.setDialogText(newName); in testRenameFile_OkButton() 96 bots.directory.waitForDocument(newName); in testRenameFile_OkButton() 107 bots.main.setDialogText(newName); in testRenameFile_Enter() 112 bots.directory.waitForDocument(newName); in testRenameFile_Enter() 134 bots.main.setDialogText(newName); in testRenameFile_Cancel() 139 bots.directory.assertDocumentsAbsent(newName); in testRenameFile_Cancel() 147 String newName = "Dir123"; in testRenameDir() local 152 bots.main.setDialogText(newName); in testRenameDir() 157 bots.directory.assertDocumentsPresent(newName); in testRenameDir() [all …]
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | ProfileUpdateReceiver.java | 55 final String newName = Utils.getMeProfileName(context, false /* partial name */); in copyProfileName() local 56 if (newName != null && newName.length() > 0 && !isCurrentNameInteresting(context, um)) { in copyProfileName() 57 um.setUserName(userId, newName); in copyProfileName()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenRuleNameDialog.java | 52 void onOk(String newName, Fragment parent); in onOk() argument 94 final String newName = trimmedText(editText); in onCreateDialog() 95 if (TextUtils.isEmpty(newName)) { in onCreateDialog() 99 && originalRuleName.equals(newName)) { in onCreateDialog() 102 mPositiveClickListener.onOk(newName, getTargetFragment()); in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileDataDialogFragment.java | 105 final String newName = (currentSubInfo == null) in onCreateDialog() local 112 .setTitle(context.getString(R.string.sim_change_data_title, newName)) in onCreateDialog() 114 newName, previousName)) in onCreateDialog() 116 context.getString(R.string.sim_change_data_ok, newName), in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/fragment/ |
D | FingerprintSettingsRenameDialog.kt | 112 val newName = dialogTextField.text.toString() in <lambda>() constant 113 if (!TextUtils.equals(newName, fp.name)) { in <lambda>() 114 Log.d(TAG, "rename $fp.name to $newName for $dialog") in <lambda>() 115 continuation.resume(Pair(fp, newName)) in <lambda>()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileDataTogglePreferenceController.java | 196 String newName = (newSubInfo == null) in getConfirmMultisimEnableDialog() local 201 .setTitle(getContext().getString(R.string.sim_change_data_title, newName)) in getConfirmMultisimEnableDialog() 203 newName, previousName)) in getConfirmMultisimEnableDialog() 204 .setPositiveButton(getContext().getString(R.string.sim_change_data_ok, newName), in getConfirmMultisimEnableDialog()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | LocalBluetoothDeviceProvider.java | 51 public void renameDevice(BluetoothDevice device, String newName) { in renameDevice() argument 54 provider.renameDevice(device, newName); in renameDevice()
|
D | BluetoothDevicesService.java | 98 public void renameDevice(BluetoothDevice device, String newName) { in renameDevice() argument 99 BluetoothDevicesService.this.renameDevice(device, newName); in renameDevice() 238 private void renameDevice(BluetoothDevice device, String newName) { in renameDevice() argument 240 device.setAlias(newName); in renameDevice()
|
D | BluetoothActionFragment.java | 149 final String newName = action.getTitle() != null ? action.getTitle().toString() : ""; in onGuidedActionEditedAndProceed() local 154 if (!TextUtils.equals(existingName, newName) && !TextUtils.isEmpty(newName)) { in onGuidedActionEditedAndProceed()
|
D | BluetoothDeviceProvider.java | 42 void renameDevice(BluetoothDevice device, String newName); in renameDevice() argument
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | SimOnboardingService.kt | 239 fun addItemForRenaming(subInfo: SubscriptionInfo, newName: String) { in <lambda>() 240 if (subInfo.displayName == newName) { in <lambda>() 243 renameMutableMap[subInfo.subscriptionId] = newName in <lambda>() 246 "renameMutableMap add ${subInfo.subscriptionId} & $newName into: $renameMutableMap" in <lambda>()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | NetworkNamePreferenceController.java | 65 private void notifyNameChange(String newName) { in notifyNameChange() argument 67 intent.putExtra(KEY_NETWORK_NAME, newName); in notifyNameChange()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelDataManagerTest.java | 338 String newName = testChannelInfo.name + "_test"; in testChannelListChanged() local 339 mContentProvider.simulateUpdate(testChannelId, newName); in testChannelListChanged() 351 assertThat(updatedChannel.getDisplayName()).isEqualTo(newName); in testChannelListChanged() 368 assertThat(removedChannel.getDisplayName()).isEqualTo(newName); in testChannelListChanged() 541 public void simulateUpdate(long channelId, String newName) { in simulateUpdate() argument 544 builder.setName(newName); in simulateUpdate()
|
/packages/apps/Settings/tests/shared/src/com/android/settings/testutils2/ |
D | FakeFingerprintManagerInteractor.kt | 89 override suspend fun renameFingerprint(fp: FingerprintData, newName: String) { in renameFingerprint() 91 enrolledFingerprintsInternal.add(FingerprintData(newName, fp.fingerId, fp.deviceId)) in renameFingerprint()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | FileUtil.java | 46 final String newName = String.format(Locale.US, numberedFileNameFormat, i); in getNewFile() local 47 File testFile = new File(directory, newName); in getNewFile()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
D | UserPresetsAdapter.java | 165 String newName = editText.getText().toString(); in updateActionFromEditText() local 166 if (newName.length() > 0) { in updateActionFromEditText()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintSettings.java | 1127 private void renameFingerPrint(int fingerId, String newName) { in renameFingerPrint() argument 1128 mFingerprintManager.rename(fingerId, mUserId, newName); in renameFingerPrint() 1129 if (!TextUtils.isEmpty(newName)) { in renameFingerPrint() 1130 mFingerprintsRenaming.put(fingerId, newName); in renameFingerPrint() 1262 final String newName = in onCreateDialog() 1265 if (!TextUtils.equals(newName, name)) { in onCreateDialog() 1266 Log.d(TAG, "rename " + name + " to " + newName); in onCreateDialog() 1274 newName); in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/domain/interactor/ |
D | FingerprintManagerInteractorImpl.kt | 129 override suspend fun renameFingerprint(fp: FingerprintData, newName: String) { in <lambda>() 131 fingerprintManager?.rename(fp.fingerId, applicationContext.userId, newName) in <lambda>()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimPhonebookProvider.java | 499 String newName = Strings.nullToEmpty(values.getAsString(SimRecords.NAME)); in insertSimRecord() local 521 boolean success = updateRecord(args, emptyRecord, args.pin2, newName, newPhoneNumber); in insertSimRecord() 605 String newName = Strings.nullToEmpty(values.getAsString(SimRecords.NAME)); in updateSimRecordsItem() local 620 if (!updateRecord(args, record, args.pin2, newName, newPhoneNumber)) { in updateSimRecordsItem() 690 String newName, String newPhone) { in updateRecord() argument 693 values.put(STR_NEW_TAG, newName); in updateRecord()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarMultiUserTestBase.java | 279 StringBuilder newName = new StringBuilder(NEW_USER_NAME_PREFIX).append(getTestName()); in getNewUserName() local 281 newName.append('.').append(name); in getNewUserName() 283 return newName.toString(); in getNewUserName()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/lib/domain/interactor/ |
D | FingerprintManagerInteractor.kt | 75 suspend fun renameFingerprint(fp: FingerprintData, newName: String)
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/viewmodel/ |
D | FingerprintSettingsViewModel.kt | 253 fun renameFingerprint(fp: FingerprintData, newName: String) { in <lambda>() 255 fingerprintManagerInteractor.renameFingerprint(fp, newName) in <lambda>()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | RemoteDevices.java | 884 final String newName = new String(val); in devicePropertyChangedCallback() local 885 if (newName.equals(deviceProperties.getName())) { in devicePropertyChangedCallback() 889 deviceProperties.setName(newName); in devicePropertyChangedCallback()
|
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/ |
D | BluetoothManagerService.java | 545 String newName = intent.getStringExtra(BluetoothAdapter.EXTRA_LOCAL_NAME); 546 if (newName != null) { 547 Log.d(TAG, "Bluetooth Adapter name changed to " + newName); 548 storeNameAndAddress(newName, null);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InvariantDeviceProfile.java | 251 String newName = initGrid(context, gridName); in InvariantDeviceProfile() local 252 if (newName == null || !newName.equals(gridName)) { in InvariantDeviceProfile()
|