Searched refs:verity_writer_ (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/payload_consumer/ |
D | verity_writer_android_unittest.cc | 45 VerityWriterAndroid verity_writer_; member in chromeos_update_engine::VerityWriterAndroidTest 54 ASSERT_TRUE(verity_writer_.Init(partition_)); in TEST_F() 55 ASSERT_TRUE(verity_writer_.Update(0, part_data.data(), 4096)); in TEST_F() 56 ASSERT_TRUE(verity_writer_.Update(4096, part_data.data() + 4096, 4096)); in TEST_F() 58 verity_writer_.Finalize(partition_fd_.get(), partition_fd_.get())); in TEST_F() 74 ASSERT_TRUE(verity_writer_.Init(partition_)); in TEST_F() 75 ASSERT_TRUE(verity_writer_.Update(0, part_data.data(), part_data.size())); in TEST_F() 76 ASSERT_TRUE(verity_writer_.Update(4096, part_data.data(), part_data.size())); in TEST_F() 77 ASSERT_TRUE(verity_writer_.Update(8192, part_data.data(), part_data.size())); in TEST_F() 84 ASSERT_TRUE(verity_writer_.Init(partition_)); in TEST_F() [all …]
|
D | filesystem_verifier_action.h | 65 : verity_writer_(verity_writer::CreateVerityWriter()), in FilesystemVerifierAction() 154 std::unique_ptr<VerityWriterInterface> verity_writer_; variable
|
D | filesystem_verifier_action.cc | 234 if (verity_writer_->FECFinished()) { in WriteVerityData() 247 if (!verity_writer_->IncrementalFinalize(fd, fd)) { in WriteVerityData() 252 verity_writer_->GetProgress() * kEncodeFECPercent); in WriteVerityData() 291 if (!verity_writer_->Update( in WriteVerityAndHashPartition() 430 if (!verity_writer_->Init(partition)) { in StartPartitionHashing()
|