Home
last modified time | relevance | path

Searched refs:VerifierMode (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/payload_consumer/
Dfilesystem_verifier_action.cc46 VerifierMode verifier_mode) in FilesystemVerifierAction()
64 verifier_mode_ == VerifierMode::kComputeSourceHash && in PerformAction()
134 if (verifier_mode_ == VerifierMode::kVerifySourceHash) in StartPartitionHashing()
145 case VerifierMode::kComputeSourceHash: in StartPartitionHashing()
146 case VerifierMode::kVerifySourceHash: in StartPartitionHashing()
151 case VerifierMode::kVerifyTargetHash: in StartPartitionHashing()
251 case VerifierMode::kComputeSourceHash: in FinishPartitionHashing()
255 case VerifierMode::kVerifyTargetHash: in FinishPartitionHashing()
266 verifier_mode_ = VerifierMode::kVerifySourceHash; in FinishPartitionHashing()
272 case VerifierMode::kVerifySourceHash: in FinishPartitionHashing()
Dfilesystem_verifier_action_unittest.cc61 VerifierMode verifier_mode);
124 bool test = DoTest(false, false, VerifierMode::kComputeSourceHash); in TEST_F()
128 test = DoTest(false, false, VerifierMode::kVerifyTargetHash); in TEST_F()
134 VerifierMode verifier_mode) { in DoTest()
173 if (verifier_mode == VerifierMode::kVerifyTargetHash) { in DoTest()
269 VerifierMode::kVerifyTargetHash); in TEST_F()
298 VerifierMode::kVerifyTargetHash); in TEST_F()
314 EXPECT_TRUE(DoTest(false, false, VerifierMode::kVerifyTargetHash)); in TEST_F()
315 EXPECT_TRUE(DoTest(false, false, VerifierMode::kComputeSourceHash)); in TEST_F()
320 EXPECT_TRUE(DoTest(false, true, VerifierMode::kVerifyTargetHash)); in TEST_F()
[all …]
Dfilesystem_verifier_action.h45 enum class VerifierMode { enum
54 VerifierMode verifier_mode);
96 VerifierMode verifier_mode_;
/system/update_engine/
Dupdate_attempter_android.cc404 VerifierMode::kVerifyTargetHash)); in BuildUpdateActions()
Dupdate_attempter.cc615 VerifierMode::kComputeSourceHash)); in BuildUpdateActions()
645 VerifierMode::kVerifyTargetHash)); in BuildUpdateActions()
Dupdate_attempter_unittest.cc289 fake_system_state_.boot_control(), VerifierMode::kVerifyTargetHash); in TEST_F()