Searched refs:fromPath (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/mtp/ |
D | MtpUtils.cpp | 120 int copyRecursive(const char *fromPath, const char *toPath) { in copyRecursive() argument 122 string fromPathStr(fromPath); in copyRecursive() 125 DIR* dir = opendir(fromPath); in copyRecursive() 127 PLOG(ERROR) << "opendir " << fromPath << " failed"; in copyRecursive() 157 int copyFile(const char *fromPath, const char *toPath) { in copyFile() argument 160 android::base::unique_fd fromFd(open(fromPath, O_RDONLY)); in copyFile() 162 PLOG(ERROR) << "Failed to open copy from " << fromPath; in copyFile() 173 if (stat(fromPath, &sstat) == -1) in copyFile()
|
D | MtpUtils.h | 34 int copyRecursive(const char *fromPath, const char *toPath); 35 int copyFile(const char *fromPath, const char *toPath);
|
D | MtpServer.cpp | 1067 MtpStringBuffer fromPath; in doMoveObject() local 1074 result = mDatabase->getObjectFilePath(objectHandle, fromPath, fileLength, format); in doMoveObject() 1100 ALOGV("Moving file from %s to %s", (const char*)fromPath, (const char*)path); in doMoveObject() 1101 if (renameTo(fromPath, path)) { in doMoveObject() 1102 PLOG(ERROR) << "rename() failed from " << fromPath << " to " << path; in doMoveObject() 1106 ALOGV("Moving across storages from %s to %s", (const char*)fromPath, (const char*)path); in doMoveObject() 1109 ret += copyRecursive(fromPath, path); in doMoveObject() 1113 deletePath(fromPath); in doMoveObject() 1116 if (copyFile(fromPath, path)) { in doMoveObject() 1119 deletePath(fromPath); in doMoveObject() [all …]
|
/frameworks/av/media/mtp/tests/MtpFuzzer/ |
D | mtp_fuzzer.cpp | 76 int createDatabaseFromSourceDir(const char* fromPath, const char* toPath, in createDatabaseFromSourceDir() argument 79 std::string fromPathStr(fromPath); in createDatabaseFromSourceDir() 82 DIR* dir = opendir(fromPath); in createDatabaseFromSourceDir() 84 ALOGE("opendir %s failed", fromPath); in createDatabaseFromSourceDir()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | MbmsDownloadReceiver.java | 450 private static Uri moveToFinalLocation(Uri fromPath, Path appSpecifiedPath, in moveToFinalLocation() argument 452 if (!ContentResolver.SCHEME_FILE.equals(fromPath.getScheme())) { in moveToFinalLocation() 453 Log.w(LOG_TAG, "Downloaded file location uri " + fromPath + in moveToFinalLocation() 458 Path fromFile = FileSystems.getDefault().getPath(fromPath.getPath()); in moveToFinalLocation()
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | PathParser_Delegate.java | 149 PathParser_Delegate fromPath = PathParser_Delegate.getDelegate(fromDataPtr); in nCanMorph() local 151 if (fromPath == null || toPath == null || fromPath.getPathDataNodes() == null || toPath in nCanMorph() 155 return PathParser_Delegate.canMorph(fromPath.getPathDataNodes(), toPath.getPathDataNodes()); in nCanMorph()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 65964 Landroid/view/textclassifier/TextClassifierImpl$ModelFile;->fromPath(Ljava/lang/String;)Landroid/vi…
|