Home
last modified time | relevance | path

Searched refs:boot_control (Results 1 – 25 of 40) 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.cc144 std::unique_ptr<BootControlInterface> boot_control = in ApplyUpdatePayload() local
145 boot_control::CreateBootControl(); in ApplyUpdatePayload()
146 if (!boot_control) { in ApplyUpdatePayload()
158 &sideload_daemon_state, &prefs, boot_control.get(), hardware.get()); in ApplyUpdatePayload()
Dboot_control_android.cc50 namespace boot_control { namespace
54 auto boot_control = std::make_unique<BootControlAndroid>(); in CreateBootControl() local
55 if (!boot_control->Init()) { in CreateBootControl()
58 return std::move(boot_control); in CreateBootControl()
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.cc790 std::make_unique<UpdateBootFlagsAction>(system_state_->boot_control()); in BuildUpdateActions()
807 system_state_->boot_control(), in BuildUpdateActions()
822 system_state_->boot_control()->GetDynamicPartitionControl()); in BuildUpdateActions()
832 system_state_->boot_control(), system_state_->hardware()); in BuildUpdateActions()
885 install_plan_->source_slot = system_state_->boot_control()->GetCurrentSlot(); in Rollback()
888 install_plan_->LoadPartitionsFromSlots(system_state_->boot_control())); in Rollback()
897 system_state_->boot_control(), system_state_->hardware()); in Rollback()
921 const unsigned int num_slots = system_state_->boot_control()->GetNumSlots(); in GetRollbackSlot()
923 system_state_->boot_control()->GetCurrentSlot(); in GetRollbackSlot()
937 system_state_->boot_control()->IsSlotBootable(slot)) { in GetRollbackSlot()
[all …]
Dsystem_state.h67 virtual BootControlInterface* boot_control() = 0;
Dcleanup_previous_update_action.h51 BootControlInterface* boot_control,
Ddaemon_state_android.cc30 boot_control_ = boot_control::CreateBootControl(); in Initialize()
Domaha_response_handler_action.cc131 install_plan_.target_slot = system_state_->boot_control()->GetCurrentSlot(); in PerformAction()
134 install_plan_.source_slot = system_state_->boot_control()->GetCurrentSlot(); in PerformAction()
/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/
Dpartition_update_generator_android.cc40 BootControlInterface* boot_control, in PartitionUpdateGeneratorAndroid() argument
43 : boot_control_(boot_control), in PartitionUpdateGeneratorAndroid()
226 BootControlInterface* boot_control, size_t block_size) { in Create() argument
227 CHECK(boot_control); in Create()
228 auto dynamic_control = boot_control->GetDynamicPartitionControl(); in Create()
237 boot_control, std::move(dir_path), block_size)); in Create()
Dpostinstall_runner_action.h42 PostinstallRunnerAction(BootControlInterface* boot_control, in PostinstallRunnerAction() argument
44 : boot_control_(boot_control), hardware_(hardware) {} in PostinstallRunnerAction()
Ddelta_performer_fuzzer.cc49 FakeBootControl boot_control; in FuzzDeltaPerformer() local
76 &boot_control, in FuzzDeltaPerformer()
Dinstall_plan.cc112 bool InstallPlan::LoadPartitionsFromSlots(BootControlInterface* boot_control) { in LoadPartitionsFromSlots() argument
117 result = boot_control->GetPartitionDevice( in LoadPartitionsFromSlots()
126 result = boot_control->GetPartitionDevice( in LoadPartitionsFromSlots()
Dpartition_update_generator_stub.cc33 BootControlInterface* boot_control) { in Create() argument
Dpartition_update_generator_interface.h50 BootControlInterface* boot_control, size_t block_size);
Ddelta_performer.h69 BootControlInterface* boot_control, in DeltaPerformer() argument
76 boot_control_(boot_control), in DeltaPerformer()
201 BootControlInterface* boot_control,
Dpartition_update_generator_android.h35 PartitionUpdateGeneratorAndroid(BootControlInterface* boot_control,
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()
/system/update_engine/common/
Dboot_control.h25 namespace boot_control {
Ddynamic_partition_control_stub.h46 BootControlInterface* boot_control,
Ddynamic_partition_control_stub.cc60 BootControlInterface* boot_control, in GetCleanupPreviousUpdateAction() argument
Ddynamic_partition_control_interface.h106 BootControlInterface* boot_control,

12