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
57 ASSERT_TRUE(verity_writer_.Finalize(partition_fd_, partition_fd_)); in TEST_F()
105 ASSERT_TRUE(verity_writer_.Finalize(partition_fd_, partition_fd_)); in TEST_F()
130 ASSERT_TRUE(verity_writer_.Finalize(partition_fd_, partition_fd_)); in TEST_F()
153 ASSERT_TRUE(verity_writer_.Finalize(partition_fd_, partition_fd_)); in TEST_F()
Dfilesystem_verifier_action.cc112 partition_fd_.reset(); in Cleanup()
157 if (partition_fd_) { in InitializeFdVABC()
158 partition_fd_->Close(); in InitializeFdVABC()
159 partition_fd_.reset(); in InitializeFdVABC()
174 partition_fd_ = in InitializeFdVABC()
176 if (!partition_fd_) { in InitializeFdVABC()
186 partition_fd_ = FileDescriptorPtr(new EintrSafeFileDescriptor()); in InitializeFd()
193 if (!partition_fd_->Open(part_path.c_str(), flags)) { in InitializeFd()
223 HashPartition(partition_fd_, 0, partition_size_, buffer, buffer_size); in WriteVerityAndHashPartition()
378 partition_fd_, 0, filesystem_data_end_, buffer_.data(), buffer_.size()); in StartPartitionHashing()
[all …]
Dfilesystem_verifier_action.h141 FileDescriptorPtr partition_fd_; variable
Dfilesystem_verifier_action_unittest.cc236 static_cast<FilesystemVerifierAction*>(action)->partition_fd_); in ActionCompleted()