Searched refs:verity_writer_ (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/payload_consumer/ |
D | verity_writer_android_unittest.cc | 40 VerityWriterAndroid verity_writer_; member in chromeos_update_engine::VerityWriterAndroidTest 48 ASSERT_TRUE(verity_writer_.Init(partition_)); in TEST_F() 49 EXPECT_TRUE(verity_writer_.Update(0, part_data.data(), 4096)); in TEST_F() 50 EXPECT_TRUE(verity_writer_.Update(4096, part_data.data() + 4096, 4096)); in TEST_F() 66 ASSERT_TRUE(verity_writer_.Init(partition_)); in TEST_F() 67 EXPECT_TRUE(verity_writer_.Update(0, part_data.data(), part_data.size())); in TEST_F() 68 EXPECT_TRUE(verity_writer_.Update(4096, part_data.data(), part_data.size())); in TEST_F() 69 EXPECT_TRUE(verity_writer_.Update(8192, part_data.data(), part_data.size())); in TEST_F() 74 EXPECT_FALSE(verity_writer_.Init(partition_)); in TEST_F() 79 EXPECT_FALSE(verity_writer_.Init(partition_)); in TEST_F() [all …]
|
D | filesystem_verifier_action.h | 62 : verity_writer_(verity_writer::CreateVerityWriter()), in FilesystemVerifierAction() 129 std::unique_ptr<VerityWriterInterface> verity_writer_; variable
|
D | filesystem_verifier_action.cc | 162 if (!verity_writer_->Init(partition)) { in StartPartitionHashing() 236 if (!verity_writer_->Update(offset_, buffer_.data(), bytes_read)) { in OnReadDoneCallback()
|