Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp434 const base::unique_fd incfsFd(mIfs->openForSpecialOps(fileId).release()); in onPrepareImage() local
435 if (incfsFd < 0) { in onPrepareImage()
447 if (!copyToIncFs(incfsFd, input.size, input.kind, input.fd, input.waitOnEof, in onPrepareImage()
467 bool copyToIncFs(borrowed_fd incfsFd, IncFsSize size, IncFsBlockKind kind, in copyToIncFs() argument
476 if (!flashToIncFs(incfsFd, kind, false, &blockIdx, buffer, blocks)) { in copyToIncFs()
505 if (!buffer->empty() && !flashToIncFs(incfsFd, kind, true, &blockIdx, buffer, blocks)) { in copyToIncFs()
511 bool flashToIncFs(borrowed_fd incfsFd, IncFsBlockKind kind, bool eof, IncFsBlockIndex* blockIdx, in flashToIncFs() argument
517 .fileFd = incfsFd.get(), in flashToIncFs()
530 .fileFd = incfsFd.get(), in flashToIncFs()