/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 562 Path oldPath = obj.getPath(); in renameFile() local 568 boolean success = oldPath.toFile().renameTo(newPath.toFile()); in renameFile() 570 Os.access(oldPath.toString(), OsConstants.F_OK); in renameFile() 576 if (!mManager.endRenameObject(obj, oldPath.getFileName().toString(), success)) { in renameFile() 586 String[] whereArgs = new String[]{oldPath.toString()}; in renameFile() 599 if (oldPath.getFileName().startsWith(".") && !newPath.startsWith(".")) { in renameFile() 604 if (oldPath.getFileName().toString().toLowerCase(Locale.US).equals(NO_MEDIA) in renameFile() 645 Path oldPath = oldParentObj.getPath().resolve(name); in endMoveObject() local 655 deleteFromMedia(obj, oldPath, obj.isDir()); in endMoveObject() 661 String[] whereArgs = new String[]{oldPath.toString()}; in endMoveObject() [all …]
|
/frameworks/av/media/mtp/ |
D | MtpUtils.cpp | 254 int renameTo(const char *oldPath, const char *newPath) { in renameTo() argument 255 int ret = rename(oldPath, newPath); in renameTo() 256 access_ok(oldPath); in renameTo()
|
D | MtpUtils.h | 37 int renameTo(const char *oldPath, const char *newPath);
|
/frameworks/base/core/java/android/net/ |
D | Uri.java | 2223 String oldPath = oldPart.getEncoded(); in appendEncodedSegment() local 2225 if (oldPath == null) { in appendEncodedSegment() 2226 oldPath = ""; in appendEncodedSegment() 2229 int oldPathLength = oldPath.length(); in appendEncodedSegment() 2234 } else if (oldPath.charAt(oldPathLength - 1) == '/') { in appendEncodedSegment() 2235 newPath = oldPath + newSegment; in appendEncodedSegment() 2237 newPath = oldPath + "/" + newSegment; in appendEncodedSegment() 2308 String oldPath = encodedCached ? oldPart.encoded : oldPart.decoded; in makeAbsolute() local 2310 if (oldPath == null || oldPath.length() == 0 in makeAbsolute() 2311 || oldPath.startsWith("/")) { in makeAbsolute()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecMessageBuilder.java | 358 static HdmiCecMessage buildRoutingChange(int src, int oldPath, int newPath) { in buildRoutingChange() argument 360 (byte) ((oldPath >> 8) & 0xFF), (byte) (oldPath & 0xFF), in buildRoutingChange()
|
D | HdmiCecLocalDeviceTv.java | 404 int oldPath = getActivePortId() != Constants.INVALID_PORT_ID in doManualPortSwitching() local 406 setActivePath(oldPath); in doManualPortSwitching() 412 startRoutingControl(oldPath, newPath, true, callback); in doManualPortSwitching() 416 void startRoutingControl(int oldPath, int newPath, boolean queryDevicePowerStatus, in startRoutingControl() argument 419 if (oldPath == newPath) { in startRoutingControl() 423 HdmiCecMessageBuilder.buildRoutingChange(mAddress, oldPath, newPath); in startRoutingControl()
|
D | HdmiCecLocalDeviceAudioSystem.java | 1092 int oldPath = getRoutingPort() != Constants.CEC_SWITCH_HOME in doManualPortSwitching() local 1096 if (oldPath == newPath) { in doManualPortSwitching() 1102 HdmiCecMessageBuilder.buildRoutingChange(mAddress, oldPath, newPath); in doManualPortSwitching()
|
/frameworks/base/services/incremental/ |
D | IncrementalService.h | 131 int link(StorageId sourceStorageId, std::string_view oldPath, StorageId destStorageId,
|
D | IncrementalService.cpp | 904 int IncrementalService::link(StorageId sourceStorageId, std::string_view oldPath, in link() argument 915 std::string normOldPath = normalizePathToStorage(*ifsSrc, sourceStorageId, oldPath); in link()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 343 for (String oldPath : oldPaths) { in updateApplicationInfo() 344 … final String oldApkName = oldPath.substring(oldPath.lastIndexOf(File.separator)); in updateApplicationInfo()
|
D | ActivityThread.java | 7579 public void rename(String oldPath, String newPath) throws ErrnoException { in rename() argument 7581 super.rename(oldPath, newPath); in rename() 7590 if (e.errno == OsConstants.EXDEV && oldPath.startsWith("/storage/emulated") in rename() 7592 Log.v(TAG, "Recovering failed rename " + oldPath + " to " + newPath); in rename() 7594 Files.move(new File(oldPath).toPath(), new File(newPath).toPath(), in rename()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |