Home
last modified time | relevance | path

Searched refs:newName (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DRenameDocumentUiTest.java28 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/
DProfileUpdateReceiver.java55 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/
DZenRuleNameDialog.java52 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/
DMobileDataDialogFragment.java105 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/
DFingerprintSettingsRenameDialog.kt112 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/
DMobileDataTogglePreferenceController.java196 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/
DLocalBluetoothDeviceProvider.java51 public void renameDevice(BluetoothDevice device, String newName) { in renameDevice() argument
54 provider.renameDevice(device, newName); in renameDevice()
DBluetoothDevicesService.java98 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()
DBluetoothActionFragment.java149 final String newName = action.getTitle() != null ? action.getTitle().toString() : ""; in onGuidedActionEditedAndProceed() local
154 if (!TextUtils.equals(existingName, newName) && !TextUtils.isEmpty(newName)) { in onGuidedActionEditedAndProceed()
DBluetoothDeviceProvider.java42 void renameDevice(BluetoothDevice device, String newName); in renameDevice() argument
/packages/apps/Settings/src/com/android/settings/network/
DSimOnboardingService.kt239 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/
DNetworkNamePreferenceController.java65 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/
DChannelDataManagerTest.java338 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/
DFakeFingerprintManagerInteractor.kt89 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/
DFileUtil.java46 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/
DUserPresetsAdapter.java165 String newName = editText.getText().toString(); in updateActionFromEditText() local
166 if (newName.length() > 0) { in updateActionFromEditText()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintSettings.java1127 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/
DFingerprintManagerInteractorImpl.kt129 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/
DSimPhonebookProvider.java499 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/
DCarMultiUserTestBase.java279 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/
DFingerprintManagerInteractor.kt75 suspend fun renameFingerprint(fp: FingerprintData, newName: String)
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/viewmodel/
DFingerprintSettingsViewModel.kt253 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/
DRemoteDevices.java884 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/
DBluetoothManagerService.java545 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/
DInvariantDeviceProfile.java251 String newName = initGrid(context, gridName); in InvariantDeviceProfile() local
252 if (newName == null || !newName.equals(gridName)) { in InvariantDeviceProfile()

12