/aosp12/frameworks/av/media/mtp/ |
H A 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()
|
H A D | MtpUtils.h | 34 int copyRecursive(const char *fromPath, const char *toPath); 35 int copyFile(const char *fromPath, const char *toPath);
|
H A D | MtpServer.cpp | 1067 MtpStringBuffer fromPath; in doMoveObject() local 1101 if (renameTo(fromPath, path)) { in doMoveObject() 1102 PLOG(ERROR) << "rename() failed from " << fromPath << " to " << 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() 1145 MtpStringBuffer fromPath; in doCopyObject() local 1182 ALOGV("Copying file from %s to %s", (const char*)fromPath, (const char*)path); in doCopyObject() 1185 ret += copyRecursive(fromPath, path); in doCopyObject() [all …]
|
/aosp12/build/soong/android/ |
H A D | prebuilt_build_tool.go | 63 var fromPath = sourcePath.String() 64 if !filepath.IsAbs(fromPath) { 65 fromPath = "$$PWD/" + fromPath 74 "fromPath": fromPath,
|
/aosp12/system/vold/ |
H A D | MoveStorage.cpp | 124 static status_t execCp(const std::string& fromPath, const std::string& toPath, int startProgress, in execCp() argument 129 uint64_t expectedBytes = GetTreeBytes(fromPath); in execCp() 144 if (!pushBackContents(fromPath, cmd, 1)) { in execCp() 145 LOG(WARNING) << "No contents in " << fromPath; in execCp() 195 std::string fromPath; in moveStorageInternal() local 210 fromPath = from->getInternalPath(); in moveStorageInternal() 219 if (execCp(fromPath, toPath, 20, 60, listener) != OK) { in moveStorageInternal() 233 if (execRm(fromPath, 85, 15, listener) != OK) { in moveStorageInternal()
|
/aosp12/build/soong/cmd/sbox/ |
H A D | sbox.go | 360 fromPath := joinPath(sandboxDir, copyPair.GetFrom()) 361 fileInfo, err := os.Stat(fromPath) 363 missingOutputErrors = append(missingOutputErrors, fmt.Errorf("%s: does not exist", fromPath)) 367 missingOutputErrors = append(missingOutputErrors, fmt.Errorf("%s: not a file", fromPath)) 377 fromPath := joinPath(fromDir, copyPair.GetFrom()) 379 err := copyOneFile(fromPath, toPath, copyPair.GetExecutable(), allowFromNotExists) 381 return fmt.Errorf("error copying %q to %q: %w", fromPath, toPath, err) 532 fromPath := joinPath(fromDir, copyPair.GetFrom()) 539 err = os.Rename(fromPath, toPath)
|
/aosp12/frameworks/av/media/mtp/tests/MtpFuzzer/ |
H A 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()
|
/aosp12/build/soong/cc/ |
H A D | prebuilt.go | 450 var fromPath = in.String() 451 if !filepath.IsAbs(fromPath) { 452 fromPath = "$$PWD/" + fromPath 461 "fromPath": fromPath,
|
/aosp12/frameworks/base/telephony/java/android/telephony/mbms/ |
H A 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()
|
/aosp12/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/ |
H A D | MsrpSession.java | 234 MsrpChunkHeader fromPath = chunk.header(MsrpConstants.HEADER_FROM_PATH); in sendResponse() local 240 .addHeader(MsrpConstants.HEADER_TO_PATH, fromPath.value()) in sendResponse()
|
/aosp12/frameworks/layoutlib/bridge/src/android/util/ |
H A 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()
|
/aosp12/build/soong/java/ |
H A D | bootclasspath_fragment.go | 936 fromPath := di.PrebuiltExportPath(apexRelativePath) 945 Input: fromPath,
|
/aosp12/system/incremental_delivery/incfs/ |
H A D | incfs.cpp | 1080 IncFsErrorCode IncFs_Link(const IncFsControl* control, const char* fromPath, in IncFs_Link() argument 1090 auto cmdFrom = makeCommandPath(root, fromPath); in IncFs_Link()
|
/aosp12/packages/apps/TV/libs/m2/ |
H A D | dagger-compiler-2.23.jar | java/dagger/internal/codegen/META-INF/gradle/incremental.annotation.processors
... |
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 65964 Landroid/view/textclassifier/TextClassifierImpl$ModelFile;->fromPath(Ljava/lang/String;)Landroid/vi…
|