Home
last modified time | relevance | path

Searched refs:FileDescriptorPtr (Results 1 – 25 of 47) sorted by relevance

12

/system/update_engine/payload_consumer/
Dverity_writer_android.h37 bool Finalize(FileDescriptorPtr read_fd, FileDescriptorPtr write_fd) override;
45 static bool EncodeFEC(FileDescriptorPtr read_fd,
46 FileDescriptorPtr write_fd,
Dfile_descriptor_utils.h38 FileDescriptorPtr source,
40 FileDescriptorPtr target,
50 FileDescriptorPtr source,
Dpartition_writer.h44 const FileDescriptorPtr source_fd,
102 FileDescriptorPtr ChooseSourceFD(const InstallOperation& operation,
113 FileDescriptorPtr source_fd_;
114 FileDescriptorPtr target_fd_;
122 FileDescriptorPtr source_ecc_fd_{nullptr};
Dfile_descriptor_utils.cc38 bool CommonHashExtents(FileDescriptorPtr source, in CommonHashExtents()
79 bool CopyAndHashExtents(FileDescriptorPtr source, in CopyAndHashExtents()
81 FileDescriptorPtr target, in CopyAndHashExtents()
94 bool ReadAndHashExtents(FileDescriptorPtr source, in ReadAndHashExtents()
Dextent_reader.h34 virtual bool Init(FileDescriptorPtr fd,
52 bool Init(FileDescriptorPtr fd,
59 FileDescriptorPtr fd_{nullptr};
Dverity_writer_stub.cc39 bool VerityWriterStub::Finalize(FileDescriptorPtr read_fd, in Finalize()
40 FileDescriptorPtr write_fd) { in Finalize()
Dverity_writer_stub.h31 bool Finalize(FileDescriptorPtr read_fd, FileDescriptorPtr write_fd) override;
Dverity_writer_interface.h42 virtual bool Finalize(FileDescriptorPtr read_fd,
43 FileDescriptorPtr write_fd) = 0;
Dfilesystem_verifier_action.h89 void WriteVerityAndHashPartition(FileDescriptorPtr fd,
94 void HashPartition(FileDescriptorPtr fd,
141 FileDescriptorPtr partition_fd_;
Dextent_writer.h53 explicit DirectExtentWriter(FileDescriptorPtr fd) : fd_(fd) {} in DirectExtentWriter()
66 FileDescriptorPtr fd_{nullptr};
Dverity_writer_android.cc107 bool VerityWriterAndroid::Finalize(FileDescriptorPtr read_fd, in Finalize()
108 FileDescriptorPtr write_fd) { in Finalize()
145 bool VerityWriterAndroid::EncodeFEC(FileDescriptorPtr read_fd, in EncodeFEC()
146 FileDescriptorPtr write_fd, in EncodeFEC()
232 FileDescriptorPtr fd(new EintrSafeFileDescriptor()); in EncodeFEC()
Dcached_file_descriptor.h34 CachedFileDescriptor(FileDescriptorPtr fd, size_t cache_size) : fd_(fd) { in CachedFileDescriptor()
66 FileDescriptorPtr fd_;
Dmount_history.h25 void LogMountHistory(const FileDescriptorPtr blockdevice_fd);
Dpartition_writer.cc55 bool DiscardPartitionTail(const FileDescriptorPtr& fd, uint64_t data_size) { in DiscardPartitionTail()
88 FileDescriptorPtr OpenFile(const char* path, in OpenFile()
97 FileDescriptorPtr fd(new EintrSafeFileDescriptor()); in OpenFile()
99 fd = FileDescriptorPtr(new CachedFileDescriptor(fd, kCacheSize)); in OpenFile()
484 FileDescriptorPtr source_fd = ChooseSourceFD(operation, error); in PerformSourceBsdiffOperation()
512 FileDescriptorPtr source_fd = ChooseSourceFD(operation, error); in PerformPuffDiffOperation()
538 FileDescriptorPtr PartitionWriter::ChooseSourceFD( in ChooseSourceFD()
606 FileDescriptorPtr fd(new FecFileDescriptor()); in OpenCurrentECCPartition()
Dvabc_partition_writer.h53 FileDescriptorPtr source_fd);
Dcow_writer_file_descriptor.h63 FileDescriptorPtr cow_reader_;
Dmount_history.cc30 void LogMountHistory(const FileDescriptorPtr blockdevice_fd) { in LogMountHistory()
Dfile_descriptor_utils_unittest.cc76 FileDescriptorPtr source_{fake_source_};
77 FileDescriptorPtr target_{new EintrSafeFileDescriptor()};
Dpartition_writer_unittest.cc85 FileDescriptorPtr fd(new EintrSafeFileDescriptor()); in PerformSourceCopyOp()
112 FileDescriptorPtr fake_ecc_fd_{};
/system/update_engine/payload_generator/
Dcow_size_estimator_stub.cc22 FileDescriptorPtr source_fd, in EstimateCowSize()
23 FileDescriptorPtr target_fd, in EstimateCowSize()
Dcow_size_estimator.h31 FileDescriptorPtr target_fd,
40 FileDescriptorPtr target_fd,
Dcow_size_estimator.cc36 FileDescriptorPtr target_fd, in PerformReplaceOp()
70 FileDescriptorPtr target_fd) { in WriteAllCowOps()
105 FileDescriptorPtr target_fd, in EstimateCowSize()
124 FileDescriptorPtr target_fd, in CowDryRun()
/system/update_engine/common/
Dutils.h66 bool WriteAll(const FileDescriptorPtr& fd, const void* buf, size_t count);
68 bool WriteAll(const FileDescriptorPtr& fd,
76 bool PWriteAll(const FileDescriptorPtr& fd,
95 bool ReadAll(const FileDescriptorPtr& fd,
104 bool PReadAll(const FileDescriptorPtr& fd,
Dmock_dynamic_partition_control.h39 MOCK_METHOD(FileDescriptorPtr,
Ddynamic_partition_control_stub.h68 FileDescriptorPtr OpenCowFd(const std::string& unsuffixed_partition_name,

12