Searched refs:source_fd_ (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/payload_consumer/ |
D | partition_writer.cc | 265 source_fd_ = OpenFile(source_path_.c_str(), O_RDONLY, false, &err); in OpenSourcePartition() 266 if (source_fd_ == nullptr) { in OpenSourcePartition() 370 TEST_AND_RETURN_FALSE(source_fd_ != nullptr); in PerformSourceCopyOperation() 398 source_fd_, operation.src_extents(), block_size_, &source_hash) && in PerformSourceCopyOperation() 399 fd_utils::CopyAndHashExtents(source_fd_, in PerformSourceCopyOperation() 406 read_ok = fd_utils::CopyAndHashExtents(source_fd_, in PerformSourceCopyOperation() 421 return ValidateSourceHash(source_hash, operation, source_fd_, error); in PerformSourceCopyOperation() 469 TEST_AND_RETURN_FALSE(fd_utils::CopyAndHashExtents(source_fd_, in PerformSourceCopyOperation() 540 if (source_fd_ == nullptr) { in ChooseSourceFD() 555 return source_fd_; in ChooseSourceFD() [all …]
|
D | partition_writer_unittest.cc | 182 writer_.source_fd_ = std::make_shared<EintrSafeFileDescriptor>(); in TEST_F() 183 writer_.source_fd_->Open(source.path().c_str(), O_RDONLY); in TEST_F()
|
D | partition_writer.h | 113 FileDescriptorPtr source_fd_; variable
|
D | vabc_partition_writer.cc | 93 WriteAllCowOps(block_size_, converted, cow_writer_.get(), source_fd_); in Init()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_writer.cpp | 43 if (source_fd_ < 0) { in GetSourceFd() 44 source_fd_.reset(open(source_device_->c_str(), O_RDONLY | O_CLOEXEC)); in GetSourceFd() 45 if (source_fd_ < 0) { in GetSourceFd() 50 return source_fd_; in GetSourceFd()
|
D | snapshot_reader.cpp | 116 if (source_fd_ < 0) { in GetSourceFd() 122 source_fd_.reset(open(source_device_->c_str(), O_RDONLY | O_CLOEXEC)); in GetSourceFd() 123 if (source_fd_ < 0) { in GetSourceFd() 128 return source_fd_; in GetSourceFd() 315 source_fd_ = {}; in Close()
|
D | snapshot_reader.h | 77 android::base::unique_fd source_fd_; variable
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot_writer.h | 57 android::base::unique_fd source_fd_;
|