Home
last modified time | relevance | path

Searched refs:install_plan (Results 1 – 13 of 13) sorted by relevance

/system/update_engine/
Domaha_response_handler_action_unittest.cc153 InstallPlan install_plan; in TEST_F() local
154 EXPECT_TRUE(DoTest(in, test_deadline_file, &install_plan)); in TEST_F()
155 EXPECT_EQ(in.payload_urls[0], install_plan.download_url); in TEST_F()
156 EXPECT_EQ(in.hash, install_plan.payload_hash); in TEST_F()
157 EXPECT_EQ(1U, install_plan.target_slot); in TEST_F()
166 EXPECT_EQ(in.version, install_plan.version); in TEST_F()
177 InstallPlan install_plan; in TEST_F() local
180 EXPECT_TRUE(DoTest(in, test_deadline_file, &install_plan)); in TEST_F()
181 EXPECT_EQ(in.payload_urls[0], install_plan.download_url); in TEST_F()
182 EXPECT_EQ(in.hash, install_plan.payload_hash); in TEST_F()
[all …]
Dupdate_attempter.cc718 InstallPlan install_plan; in Rollback() local
720 install_plan.target_slot = GetRollbackSlot(); in Rollback()
721 install_plan.source_slot = system_state_->boot_control()->GetCurrentSlot(); in Rollback()
724 install_plan.LoadPartitionsFromSlots(system_state_->boot_control())); in Rollback()
725 install_plan.powerwash_required = powerwash; in Rollback()
728 install_plan.Dump(); in Rollback()
731 new InstallPlanAction(install_plan)); in Rollback()
968 const InstallPlan& install_plan = in ProcessingDone() local
969 response_handler_action_->install_plan(); in ProcessingDone()
973 install_plan.payload_hash + ":" + install_plan.metadata_signature; in ProcessingDone()
[all …]
Domaha_response_handler_action.h58 const InstallPlan& install_plan() const { return install_plan_; } in install_plan() function
Dupdate_attempter_unittest.cc510 InstallPlan* install_plan = install_plan_action->install_plan(); in RollbackTestVerify() local
511 EXPECT_EQ(0U, install_plan->partitions.size()); in RollbackTestVerify()
512 EXPECT_EQ(install_plan->powerwash_required, true); in RollbackTestVerify()
Dupdate_engine.gyp185 'payload_consumer/install_plan.cc',
DAndroid.mk175 payload_consumer/install_plan.cc \
/system/update_engine/payload_consumer/
Dfilesystem_verifier_action_unittest.cc168 InstallPlan install_plan; in DoTest() local
169 install_plan.source_slot = 0; in DoTest()
170 install_plan.target_slot = 1; in DoTest()
177 part.name, install_plan.target_slot, a_dev); in DoTest()
186 part.name, install_plan.source_slot, a_dev); in DoTest()
191 install_plan.partitions = {part}; in DoTest()
208 feeder_action.set_obj(install_plan); in DoTest()
242 bool is_install_plan_eq = (collector_action.object() == install_plan); in DoTest()
289 InstallPlan install_plan; in TEST_F() local
294 install_plan.partitions = {part}; in TEST_F()
[all …]
Ddownload_action_unittest.cc145 InstallPlan install_plan; in TestWithData() local
146 install_plan.payload_type = InstallPayloadType::kDelta; in TestWithData()
147 install_plan.payload_size = size; in TestWithData()
148 install_plan.payload_hash = hash; in TestWithData()
149 install_plan.source_slot = 0; in TestWithData()
150 install_plan.target_slot = 1; in TestWithData()
154 install_plan.source_slot, true); in TestWithData()
156 install_plan.target_slot, true); in TestWithData()
158 feeder_action.set_obj(install_plan); in TestWithData()
197 install_plan.source_slot)); in TestWithData()
[all …]
Dinstall_plan.h132 explicit InstallPlanAction(const InstallPlan& install_plan): in InstallPlanAction() argument
133 install_plan_(install_plan) {} in InstallPlanAction()
142 InstallPlan* install_plan() { return &install_plan_; } in install_plan() function
Ddelta_performer_integration_test.cc87 InstallPlan install_plan; member
719 InstallPlan* install_plan = &state->install_plan; in ApplyDeltaFile() local
720 install_plan->hash_checks_mandatory = hash_checks_mandatory; in ApplyDeltaFile()
721 install_plan->metadata_size = state->metadata_size; in ApplyDeltaFile()
722 install_plan->payload_type = (full_kernel && full_rootfs) in ApplyDeltaFile()
725 install_plan->source_slot = 0; in ApplyDeltaFile()
726 install_plan->target_slot = 1; in ApplyDeltaFile()
740 &install_plan->metadata_signature)); in ApplyDeltaFile()
741 EXPECT_FALSE(install_plan->metadata_signature.empty()); in ApplyDeltaFile()
747 install_plan); in ApplyDeltaFile()
[all …]
Dpostinstall_runner_action_unittest.cc187 InstallPlan install_plan; in RunPosinstallAction() local
188 install_plan.partitions = {part}; in RunPosinstallAction()
189 install_plan.download_url = "http://127.0.0.1:8080/update"; in RunPosinstallAction()
190 install_plan.powerwash_required = powerwash_required; in RunPosinstallAction()
191 feeder_action.set_obj(install_plan); in RunPosinstallAction()
Ddelta_performer.h81 InstallPlan* install_plan) in DeltaPerformer() argument
86 install_plan_(install_plan) {} in DeltaPerformer()
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc192 InstallPlan install_plan; in ApplyDelta() local
214 install_plan.partitions.push_back(part); in ApplyDelta()
217 DeltaPerformer performer(&prefs, nullptr, nullptr, nullptr, &install_plan); in ApplyDelta()