Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DRenameDocumentUiTest.java29 private final String newName = "kitties.log"; field in RenameDocumentUiTest
92 bots.main.setDialogText(newName); in testRenameFile_OkButton()
97 bots.directory.waitForDocument(newName); in testRenameFile_OkButton()
108 bots.main.setDialogText(newName); in testRenameFile_Enter()
113 bots.directory.waitForDocument(newName); in testRenameFile_Enter()
135 bots.main.setDialogText(newName); in testRenameFile_Cancel()
140 bots.directory.assertDocumentsAbsent(newName); in testRenameFile_Cancel()
148 String newName = "Dir123"; in testRenameDir() local
153 bots.main.setDialogText(newName); in testRenameDir()
158 bots.directory.assertDocumentsPresent(newName); in testRenameDir()
[all …]
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileDataDialogFragment.java96 final String newName = (currentSubInfo == null) in onCreateDialog() local
102 .setTitle(context.getString(R.string.sim_change_data_title, newName)) in onCreateDialog()
104 newName, previousName)) in onCreateDialog()
106 context.getString(R.string.sim_change_data_ok, newName), in onCreateDialog()
DRenameMobileNetworkDialogFragment.java100 String newName = mNameView.getText().toString(); in onCreateDialog()
101 if (currentInfo != null && !currentInfo.getDisplayName().equals(newName)) { in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileDataDialogFragment.java97 final String newName = (currentSubInfo == null) in onCreateDialog() local
103 .setTitle(context.getString(R.string.sim_change_data_title, newName)) in onCreateDialog()
105 newName, previousName)) in onCreateDialog()
107 context.getString(R.string.sim_change_data_ok, newName), in onCreateDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileDataTogglePreferenceController.java197 String newName = (newSubInfo == null) in getConfirmMultisimEnableDialog() local
202 .setTitle(getContext().getString(R.string.sim_change_data_title, newName)) in getConfirmMultisimEnableDialog()
204 newName, previousName)) in getConfirmMultisimEnableDialog()
205 .setPositiveButton(getContext().getString(R.string.sim_change_data_ok, newName), in getConfirmMultisimEnableDialog()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintSettings.java666 private void renameFingerPrint(int fingerId, String newName) { in renameFingerPrint() argument
667 mFingerprintManager.rename(fingerId, mUserId, newName); in renameFingerPrint()
668 if (!TextUtils.isEmpty(newName)) { in renameFingerPrint()
669 mFingerprintsRenaming.put(fingerId, newName); in renameFingerPrint()
767 final String newName = in onCreateDialog()
770 if (!TextUtils.equals(newName, name)) { in onCreateDialog()
771 Log.d(TAG, "rename " + name + " to " + newName); in onCreateDialog()
779 newName); in onCreateDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/
DFingerprintSettings.java650 private void renameFingerPrint(int fingerId, String newName) { in renameFingerPrint() argument
651 mFingerprintManager.rename(fingerId, mUserId, newName); in renameFingerPrint()
652 if (!TextUtils.isEmpty(newName)) { in renameFingerPrint()
653 mFingerprintsRenaming.put(fingerId, newName); in renameFingerPrint()
751 final String newName = in onCreateDialog()
754 if (!TextUtils.equals(newName, name)) { in onCreateDialog()
755 Log.d(TAG, "rename " + name + " to " + newName); in onCreateDialog()
763 newName); in onCreateDialog()
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/
DOneTimeInitializer.java122 final ComponentName newName = new ComponentName("com.android.dialer", in updateDialtactsLauncher() local
124 intent.setComponent(newName); in updateDialtactsLauncher()
131 Log.i(TAG, "Updated " + componentName + " to " + newName); in updateDialtactsLauncher()
/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/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/Messaging/src/com/android/messaging/util/
DFileUtil.java43 final String newName = String.format(Locale.US, numberedFileNameFormat, i); in getNewFile() local
44 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/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java185 String newName = initGrid(context, gridName); in InvariantDeviceProfile() local
186 if (newName == null || !newName.equals(gridName)) { in InvariantDeviceProfile()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DRemoteDevices.java516 final String newName = new String(val); in devicePropertyChangedCallback() local
517 if (newName.equals(device.mName)) { in devicePropertyChangedCallback()
521 device.mName = newName; in devicePropertyChangedCallback()
/packages/apps/TV/libs/m2/
Djavapoet-1.11.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/squareup/ com/ ...
Ddagger-compiler-2.23.jarjava/dagger/internal/codegen/META-INF/gradle/incremental.annotation.processors ...