Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dverity_writer_android_unittest.cc41 partition_fd_ = std::make_shared<EintrSafeFileDescriptor>(); in SetUp()
42 partition_fd_->Open(partition_.target_path.c_str(), O_RDWR); in SetUp()
47 FileDescriptorPtr partition_fd_; member in chromeos_update_engine::VerityWriterAndroidTest
58 verity_writer_.Finalize(partition_fd_.get(), partition_fd_.get())); in TEST_F()
107 verity_writer_.Finalize(partition_fd_.get(), partition_fd_.get())); in TEST_F()
133 verity_writer_.Finalize(partition_fd_.get(), partition_fd_.get())); in TEST_F()
157 verity_writer_.Finalize(partition_fd_.get(), partition_fd_.get())); in TEST_F()
183 verity_writer_.Finalize(partition_fd_.get(), partition_fd_.get())); in TEST_F()
Dfilesystem_verifier_action.cc136 partition_fd_.reset(); in Cleanup()
186 if (partition_fd_) { in InitializeFdVABC()
187 partition_fd_->Close(); in InitializeFdVABC()
188 partition_fd_.reset(); in InitializeFdVABC()
205 partition_fd_ = in InitializeFdVABC()
207 if (!partition_fd_) { in InitializeFdVABC()
217 partition_fd_ = std::make_unique<EintrSafeFileDescriptor>(); in InitializeFd()
224 if (!partition_fd_->Open(part_path.c_str(), flags)) { in InitializeFd()
267 auto fd = partition_fd_.get(); in WriteVerityAndHashPartition()
313 auto fd = partition_fd_.get(); in HashPartition()
[all …]
Dfilesystem_verifier_action.h143 std::unique_ptr<FileDescriptor> partition_fd_; variable
Dfilesystem_verifier_action_unittest.cc236 static_cast<FilesystemVerifierAction*>(action)->partition_fd_); in ActionCompleted()