Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dcached_file_descriptor.cc29 off64_t CachedFileDescriptor::Seek(off64_t offset, int whence) { in Seek()
51 ssize_t CachedFileDescriptor::Write(const void* buf, size_t count) { in Write()
75 bool CachedFileDescriptor::Flush() { in Flush()
79 bool CachedFileDescriptor::Close() { in Close()
84 bool CachedFileDescriptor::FlushCache() { in FlushCache()
Dcached_file_descriptor.h32 class CachedFileDescriptor : public FileDescriptor {
34 CachedFileDescriptor(FileDescriptorPtr fd, size_t cache_size) : fd_(fd) { in CachedFileDescriptor() function
37 ~CachedFileDescriptor() override = default;
71 DISALLOW_COPY_AND_ASSIGN(CachedFileDescriptor);
Dcached_file_descriptor_unittest.cc46 cfd_.reset(new CachedFileDescriptor(fd_, kCacheSize)); in Open()
Ddelta_performer.cc95 fd = FileDescriptorPtr(new CachedFileDescriptor(fd, kCacheSize)); in OpenFile()