Home
last modified time | relevance | path

Searched refs:boot_control (Results 1 – 25 of 27) sorted by relevance

12

/system/update_engine/
Dupdate_boot_flags_action_unittest.cc35 auto boot_control = fake_system_state_.fake_boot_control(); in TEST_F() local
36 auto action = std::make_unique<UpdateBootFlagsAction>(boot_control); in TEST_F()
52 auto boot_control = fake_system_state_.fake_boot_control(); in TEST_F() local
53 auto action1 = std::make_unique<UpdateBootFlagsAction>(boot_control); in TEST_F()
54 auto action2 = std::make_unique<UpdateBootFlagsAction>(boot_control); in TEST_F()
Dupdate_boot_flags_action.h28 explicit UpdateBootFlagsAction(BootControlInterface* boot_control) in UpdateBootFlagsAction() argument
29 : boot_control_(boot_control) {} in UpdateBootFlagsAction()
Dsideload_main.cc155 std::unique_ptr<BootControlInterface> boot_control = in ApplyUpdatePayload() local
156 boot_control::CreateBootControl(); in ApplyUpdatePayload()
157 if (!boot_control) { in ApplyUpdatePayload()
169 &sideload_daemon_state, &prefs, boot_control.get(), hardware.get()); in ApplyUpdatePayload()
Dfake_system_state.h51 BootControlInterface* boot_control() override { return boot_control_; } in boot_control() function
111 void set_boot_control(BootControlInterface* boot_control) { in set_boot_control() argument
112 boot_control_ = boot_control ? boot_control : &fake_boot_control_; in set_boot_control()
Dupdate_attempter.cc637 std::make_unique<UpdateBootFlagsAction>(system_state_->boot_control()); in BuildUpdateActions()
652 system_state_->boot_control(), in BuildUpdateActions()
675 system_state_->boot_control(), system_state_->hardware()); in BuildUpdateActions()
728 install_plan_->source_slot = system_state_->boot_control()->GetCurrentSlot(); in Rollback()
731 install_plan_->LoadPartitionsFromSlots(system_state_->boot_control())); in Rollback()
740 system_state_->boot_control(), system_state_->hardware()); in Rollback()
764 const unsigned int num_slots = system_state_->boot_control()->GetNumSlots(); in GetRollbackSlot()
766 system_state_->boot_control()->GetCurrentSlot(); in GetRollbackSlot()
780 system_state_->boot_control()->IsSlotBootable(slot)) { in GetRollbackSlot()
1277 BootControlInterface* boot_control = system_state_->boot_control(); in ResetStatus() local
[all …]
Dboot_control_android.cc56 namespace boot_control { namespace
60 auto boot_control = std::make_unique<BootControlAndroid>(); in CreateBootControl() local
61 if (!boot_control->Init()) { in CreateBootControl()
64 return std::move(boot_control); in CreateBootControl()
Ddaemon_state_android.cc30 boot_control_ = boot_control::CreateBootControl(); in Initialize()
Dsystem_state.h67 virtual BootControlInterface* boot_control() = 0;
Domaha_response_handler_action.cc125 install_plan_.target_slot = system_state_->boot_control()->GetCurrentSlot(); in PerformAction()
128 install_plan_.source_slot = system_state_->boot_control()->GetCurrentSlot(); in PerformAction()
Dreal_system_state.h84 inline BootControlInterface* boot_control() override { in boot_control() function
Dreal_system_state.cc59 boot_control_ = boot_control::CreateBootControl(); in Initialize()
Dimage_properties_android.cc207 std::to_string(system_state->boot_control()->GetCurrentSlot()); in LoadImageProperties()
Dboot_control_chromeos.cc82 namespace boot_control { namespace
Dupdate_attempter_android.cc102 BootControlInterface* boot_control, in UpdateAttempterAndroid() argument
106 boot_control_(boot_control), in UpdateAttempterAndroid()
Dcommon_service.cc396 if (!system_state_->boot_control()->GetPartitionDevice( in GetRollbackPartition()
/system/update_engine/update_manager/
Dreal_system_provider.h40 chromeos_update_engine::BootControlInterface* boot_control, in RealSystemProvider() argument
44 boot_control_(boot_control), in RealSystemProvider()
48 boot_control_(boot_control) {
Dstate_factory.cc73 system_state->hardware(), system_state->boot_control(), kiosk_app_proxy)); in DefaultStateFactory()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.h40 PostinstallRunnerAction(BootControlInterface* boot_control, in PostinstallRunnerAction() argument
42 : boot_control_(boot_control), hardware_(hardware) {} in PostinstallRunnerAction()
Dinstall_plan.cc98 bool InstallPlan::LoadPartitionsFromSlots(BootControlInterface* boot_control) { in LoadPartitionsFromSlots() argument
103 result = boot_control->GetPartitionDevice( in LoadPartitionsFromSlots()
112 result = boot_control->GetPartitionDevice( in LoadPartitionsFromSlots()
Ddelta_performer.h66 BootControlInterface* boot_control, in DeltaPerformer() argument
73 boot_control_(boot_control), in DeltaPerformer()
Ddownload_action_unittest.cc166 fake_system_state.boot_control(), in TestWithData()
282 fake_system_state.boot_control(), in TEST()
371 fake_system_state_.boot_control(), in TestTerminateEarly()
483 fake_system_state_.boot_control(), in TEST()
569 fake_system_state_.boot_control(), in StartDownload()
Ddownload_action.h77 BootControlInterface* boot_control,
Dinstall_plan.h52 bool LoadPartitionsFromSlots(BootControlInterface* boot_control);
Ddownload_action.cc43 BootControlInterface* boot_control, in DownloadAction() argument
49 boot_control_(boot_control), in DownloadAction()
/system/update_engine/common/
Dboot_control.h25 namespace boot_control {

12