Home
last modified time | relevance | path

Searched refs:outFd (Results 1 – 3 of 3) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java548 FileDescriptor outFd = null; in transferData() local
561 outFd = outPfd.getFileDescriptor(); in transferData()
571 Os.lseek(outFd, mInfoDelta.mCurrentBytes, OsConstants.SEEK_SET); in transferData()
580 if (mInfoDelta.mTotalBytes > 0 && mStorage.isAllocationSupported(outFd)) { in transferData()
581 mStorage.allocateBytes(outFd, mInfoDelta.mTotalBytes); in transferData()
589 transferData(in, out, outFd); in transferData()
608 if (outFd != null) outFd.sync(); in transferData()
620 private void transferData(InputStream in, OutputStream out, FileDescriptor outFd) in transferData() argument
649 updateProgress(outFd); in transferData()
738 private void updateProgress(FileDescriptor outFd) throws IOException, StopRequestException { in updateProgress() argument
[all …]
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugReportService.java379 try (ParcelFileDescriptor outFd = ParcelFileDescriptor.open(outputFile, in saveBugReport() argument
383 requestBugReport(outFd, extraOutFd); in saveBugReport()
401 private void requestBugReport(ParcelFileDescriptor outFd, ParcelFileDescriptor extraOutFd) { in requestBugReport() argument
434 mBugreportManager.requestBugreport(outFd, extraOutFd, mCallback); in requestBugReport()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java9068 final FileDescriptor outFd = fds[1].getFileDescriptor(); in buildAssetFileDescriptor() local
9073 try (FileOutputStream fout = new FileOutputStream(outFd)) { in buildAssetFileDescriptor()
9078 IoUtils.closeQuietly(outFd); in buildAssetFileDescriptor()