Home
last modified time | relevance | path

Searched refs:incomingFd (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/
Dandroid_service_DataLoaderService.cpp64 jobject incomingFd) { in nativeWriteData() argument
66 …rn DataLoader_FilesystemConnector_writeData(connector, name, offsetBytes, lengthBytes, incomingFd); in nativeWriteData()
/frameworks/base/core/java/android/service/dataloader/
DDataLoaderService.java219 @NonNull ParcelFileDescriptor incomingFd) throws IOException { in writeData() argument
221 nativeWriteData(mNativeInstance, name, offsetBytes, lengthBytes, incomingFd); in writeData()
247 long lengthBytes, ParcelFileDescriptor incomingFd); in nativeWriteData() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommandDataLoader.java330 ParcelFileDescriptor incomingFd = null; in onPrepareImage() local
334 incomingFd = getLocalFilePFD(shellCommand, filePath); in onPrepareImage()
335 mConnector.writeData(file.getName(), 0, incomingFd.getStatSize(), in onPrepareImage()
336 incomingFd); in onPrepareImage() local
338 IoUtils.closeQuietly(incomingFd); in onPrepareImage()
DPackageInstallerSession.java1945 ParcelFileDescriptor incomingFd) throws IOException { in doWriteInternal() argument
1996 if (incomingFd != null) { in doWriteInternal()
2003 FileUtils.copy(incomingFd.getFileDescriptor(), targetPfd.getFileDescriptor(), in doWriteInternal()
2017 IoUtils.closeQuietly(incomingFd); in doWriteInternal()
2303 ParcelFileDescriptor incomingFd) { in writeData() argument
2304 if (incomingFd == null) { in writeData()
2311 doWriteInternal(name, offsetBytes, lengthBytes, incomingFd); in writeData()
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp468 borrowed_fd incomingFd, bool waitOnEof, std::vector<char>* buffer, in copyToIncFs() argument
484 auto read = ::read(incomingFd.get(), buffer->data() + size, toRead); in copyToIncFs()