Home
last modified time | relevance | path

Searched refs:newDisplayName (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
H A DRenameDocumentFragment.java181 private void renameDocuments(String newDisplayName) { in renameDocuments() argument
184 if (newDisplayName.equals(mDocument.displayName)) { in renameDocuments()
186 } else if (newDisplayName.isEmpty()) { in renameDocuments()
188 } else if (activity.getInjector().getModel().hasFileWithName(newDisplayName)) { in renameDocuments()
192 new RenameDocumentsTask(activity, newDisplayName).execute(mDocument); in renameDocuments()
205 public RenameDocumentsTask(BaseActivity activity, String newDisplayName) { in RenameDocumentsTask() argument
207 mNewDisplayName = newDisplayName; in RenameDocumentsTask()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSubscriptionControllerTest.java286 String newDisplayName = "display_name_pnn"; in testSetGetDisplayNameSrc_updateNameSourceCarrierWithEmbeddedSim() local
290 mSubscriptionControllerUT.setDisplayNameUsingSrc(newDisplayName, subId, newNameSource); in testSetGetDisplayNameSrc_updateNameSourceCarrierWithEmbeddedSim()
312 String newDisplayName = "display_name_spn"; in testSetGetDisplayNameSrc_updateNameSourceCarrierWithConfigIsNull() local
317 mSubscriptionControllerUT.setDisplayNameUsingSrc(newDisplayName, subId, newNameSource); in testSetGetDisplayNameSrc_updateNameSourceCarrierWithConfigIsNull()
340 String newDisplayName = "display_name_spn"; in testSetGetDisplayNameSrc_updateNameSourceCarrierWithCarrierNameOverride() local
344 mSubscriptionControllerUT.setDisplayNameUsingSrc(newDisplayName, subId, newNameSource); in testSetGetDisplayNameSrc_updateNameSourceCarrierWithCarrierNameOverride()
368 String newDisplayName = "display_name_spn"; in testSetGetDisplayNameSrc_updateNameSourceCarrierWithSpnAndCarrierName() local
375 mSubscriptionControllerUT.setDisplayNameUsingSrc(newDisplayName, subId, newNameSource); in testSetGetDisplayNameSrc_updateNameSourceCarrierWithSpnAndCarrierName()
396 String newDisplayName = "display_name_carrier_id"; in testSetGetDisplayNameSrc_updateNameSourcePnnToNameSourceCarrierId() local
401 mSubscriptionControllerUT.setDisplayNameUsingSrc(newDisplayName, subId, newNameSource); in testSetGetDisplayNameSrc_updateNameSourcePnnToNameSourceCarrierId()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiControlService.java1371 private void setDisplayName(String newDisplayName) { in setDisplayName() argument
1374 if (deviceInfo.getDisplayName().equals(newDisplayName)) { in setDisplayName()
1380 newDisplayName, deviceInfo.getDevicePowerStatus(), deviceInfo.getCecVersion())); in setDisplayName()
1382 device.mAddress, Constants.ADDR_TV, newDisplayName)); in setDisplayName()
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/util/
H A DFileUtils.java1639 final String newDisplayName = String.format(Locale.US, ".%s-%d-%s", matcher.group(1),
1643 newDisplayName);