Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DRenameDocumentUiTest.java27 private final String newName = "kitties.log"; field in RenameDocumentUiTest
84 bots.main.setDialogText(newName); in testRenameFile_OkButton()
89 bots.directory.waitForDocument(newName); in testRenameFile_OkButton()
100 bots.main.setDialogText(newName); in testRenameFile_Enter()
105 bots.directory.waitForDocument(newName); in testRenameFile_Enter()
127 bots.main.setDialogText(newName); in testRenameFile_Cancel()
132 bots.directory.assertDocumentsAbsent(newName); in testRenameFile_Cancel()
138 String newName = "Dir123"; in testRenameDir() local
143 bots.main.setDialogText(newName); in testRenameDir()
148 bots.directory.assertDocumentsPresent(newName); in testRenameDir()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DZenRuleNameDialog.java54 final String newName = trimmedText(); in ZenRuleNameDialog()
55 if (TextUtils.isEmpty(newName)) { in ZenRuleNameDialog()
59 && mOriginalRuleName.equals(newName)) { in ZenRuleNameDialog()
62 onOk(newName); in ZenRuleNameDialog()
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintSettings.java606 private void renameFingerPrint(int fingerId, String newName) { in renameFingerPrint() argument
607 mFingerprintManager.rename(fingerId, mUserId, newName); in renameFingerPrint()
608 if (!TextUtils.isEmpty(newName)) { in renameFingerPrint()
609 mFingerprintsRenaming.put(fingerId, newName); in renameFingerPrint()
651 final String newName = in onCreateDialog()
654 if (!newName.equals(name)) { in onCreateDialog()
656 Log.v(TAG, "rename " + name + " to " + newName); in onCreateDialog()
665 newName); in onCreateDialog()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java305 String newName = testChannelInfo.name + "_test"; in testChannelListChanged() local
306 mContentProvider.simulateUpdate(testChannelId, newName); in testChannelListChanged()
316 assertEquals(newName, updatedChannel.getDisplayName()); in testChannelListChanged()
331 assertEquals(newName, removedChannel.getDisplayName()); in testChannelListChanged()
485 public void simulateUpdate(long channelId, String newName) { in simulateUpdate() argument
488 builder.setName(newName); in simulateUpdate()
/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/Messaging/src/com/android/messaging/util/
DFileUtil.java44 final String newName = String.format(Locale.US, numberedFileNameFormat, i); in getNewFile() local
45 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/Car/Media/src/com/android/car/media/
DMediaPlaybackModel.java73 @Nullable ComponentName newName); in onMediaAppChanged() argument
102 @Nullable ComponentName newName) {} in onMediaAppChanged() argument
DMediaPlaybackFragment.java260 @Nullable ComponentName newName) { in onMediaAppChanged() argument
263 if (Objects.equals(currentName, newName)) { in onMediaAppChanged()
/packages/apps/Car/Media/src/com/android/car/media/drawer/
DMediaDrawerController.java86 @Nullable ComponentName newName) {