Home
last modified time | relevance | path

Searched refs:sourcePath (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/os/incremental/
DIncrementalStorage.java78 public void bind(@NonNull String sourcePath, @NonNull String targetPath) in bind() argument
81 int res = mService.makeBindMount(mId, sourcePath, targetPath, in bind()
109 public void bindPermanent(@NonNull String sourcePath, @NonNull String targetPath) in bindPermanent() argument
112 int res = mService.makeBindMount(mId, sourcePath, targetPath, in bindPermanent()
213 @NonNull String sourcePath, long rangeStart, long rangeEnd) throws IOException { in makeFileFromRange() argument
215 int res = mService.makeFileFromRange(mId, destPath, sourcePath, in makeFileFromRange()
233 public void makeLink(@NonNull String sourcePath, IncrementalStorage destStorage, in makeLink() argument
236 int res = mService.makeLink(mId, sourcePath, destStorage.getId(), in makeLink()
293 public void moveDir(@NonNull String sourcePath, @NonNull String destPath) throws IOException { in moveDir() argument
298 int res = mService.makeBindMount(mId, sourcePath, destPath, in moveDir()
[all …]
DIIncrementalService.aidl65 …int makeBindMount(int storageId, in @utf8InCpp String sourcePath, in @utf8InCpp String targetFullP… in makeBindMount() argument
92 …e(int storageId, in @utf8InCpp String targetPath, in @utf8InCpp String sourcePath, long start, lon… in makeFileFromRange() argument
100 …int makeLink(int sourceStorageId, in @utf8InCpp String sourcePath, int destStorageId, in @utf8InCp… in makeLink() argument
DIncrementalFileStorages.java194 final File sourcePath = new File(fromBase, relativePath); in makeLink() local
196 mInheritedStorage.makeLink(sourcePath.getAbsolutePath(), mDefaultStorage, in makeLink()
/frameworks/base/tools/aapt/
DCrunchCache.cpp20 CrunchCache::CrunchCache(String8 sourcePath, String8 destPath, FileFinder* ff) in CrunchCache() argument
21 : mSourcePath(sourcePath), mDestPath(destPath), mSourceFiles(0), mDestFiles(0), mFileFinder(ff) in CrunchCache()
DCrunchCache.h32 CrunchCache(String8 sourcePath, String8 destPath, FileFinder* ff);
/frameworks/native/libs/binder/tests/parcel_fuzzer/binder2corpus/
Dbinder2corpus.cpp85 const char* sourcePath = argv[1]; in main() local
87 if (android::NO_ERROR != generateCorpus(sourcePath, corpusDir)) { in main()
/frameworks/base/services/incremental/
DBinderIncrementalService.h57 binder::Status makeBindMount(int32_t storageId, const std::string& sourcePath,
71 const std::string& sourcePath, int64_t start, int64_t end,
73 binder::Status makeLink(int32_t sourceStorageId, const std::string& sourcePath,
DBinderIncrementalService.cpp159 const std::string& sourcePath, in makeBindMount() argument
162 *_aidl_return = mImpl.bind(storageId, sourcePath, targetFullPath, in makeBindMount()
240 const std::string& sourcePath, in makeFileFromRange() argument
249 const std::string& sourcePath, in makeLink() argument
253 *_aidl_return = mImpl.link(sourceStorageId, sourcePath, destStorageId, destPath); in makeLink()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DVideoTrackTranscoderTests.cpp46 const char* sourcePath = in SetUp() local
49 const int sourceFd = open(sourcePath, O_RDONLY); in SetUp()
DPassthroughTrackTranscoderTests.cpp43 const char* sourcePath = in initSourceAndExtractor() local
49 mSourceFd = open(sourcePath, O_RDONLY); in initSourceAndExtractor()
DMediaTrackTranscoderTests.cpp67 void initSampleReader(const char* sourcePath) { in initSampleReader() argument
68 const int sourceFd = open(sourcePath, O_RDONLY); in initSampleReader()
DMediaSampleReaderNDKTests.cpp176 const char* sourcePath = in SetUp() local
179 mSourceFd = open(sourcePath, O_RDONLY); in SetUp()
DMediaSampleWriterTests.cpp129 static const char* sourcePath = in init() local
135 int sourceFd = open(sourcePath, O_RDONLY); in init()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java1054 private static void copyFile(String sourcePath, File targetDir, String targetName) in copyFile() argument
1059 Slog.d(TAG, "Copying " + sourcePath + " to " + targetName); in copyFile()
1067 source = new FileInputStream(sourcePath); in copyFile()
1571 @NonNull File sourcePath, @NonNull File targetPath, in linkNativeLibraries() argument
1573 final File sourceLibDir = new File(sourcePath, libDirName); in linkNativeLibraries()
1614 @NonNull File sourcePath, @NonNull File targetPath, @NonNull File[] files, int mode) { in linkFilesAndSetModes() argument
1617 final File sourceFile = new File(sourcePath, fileName); in linkFilesAndSetModes()
1628 sourcePath.getAbsolutePath(), targetPath.getAbsolutePath()); in linkFilesAndSetModes()
DPackageInstallerSession.java1904 var sourcePath = source.getAbsolutePath(); in stageViaHardLink() local
1907 Os.link(path, sourcePath); in stageViaHardLink()
1909 Os.chmod(sourcePath, DEFAULT_FILE_ACCESS_MODE); in stageViaHardLink()
1918 Os.unlink(sourcePath); in stageViaHardLink()
1920 Slog.d(TAG, "Failed to unlink session file: " + sourcePath); in stageViaHardLink()