Home
last modified time | relevance | path

Searched refs:GetCurrentSlot (Results 1 – 21 of 21) sorted by relevance

/system/core/fastboot/device/
Dvariables.cpp184 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetCurrentSlot() function
186 std::string suffix = device->GetCurrentSlot(); in GetCurrentSlot()
268 std::string slot_suffix = device->GetCurrentSlot(); in GetHasSlot()
393 std::string slot_suffix = device->GetCurrentSlot(); in GetAllPartitionArgsNoSlot()
423 uint32_t slot_number = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in GetSuperPartitionName()
Dflashing.cpp64 if ((partition + device->GetCurrentSlot()) == partition_name) { in WipeOverlayfsForPartition()
156 std::string slot_suffix = device->GetCurrentSlot(); in UpdateSuper()
Dfastboot_device.h42 std::string GetCurrentSlot();
Dutility.cpp168 uint32_t current_slot = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in ListPartitions()
221 std::string current_slot_suffix = device->GetCurrentSlot(); in GetSuperSlotSuffix()
Dvariables.h32 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& args,
Dfastboot_device.cpp72 std::string FastbootDevice::GetCurrentSlot() { in GetCurrentSlot() function in FastbootDevice
Dcommands.cpp92 {FB_VAR_CURRENT_SLOT, {::GetCurrentSlot, nullptr}}, in GetVarHandler()
/system/update_engine/common/
Dboot_control_stub.h40 BootControlInterface::Slot GetCurrentSlot() const override;
Dboot_control_stub.cc29 BootControlInterface::Slot BootControlStub::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::BootControlStub
Dboot_control_interface.h64 virtual Slot GetCurrentSlot() const = 0;
Dfake_boot_control.h41 BootControlInterface::Slot GetCurrentSlot() const override { in GetCurrentSlot() function
/system/update_engine/
Dboot_control_android.cc91 BootControlInterface::Slot BootControlAndroid::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::BootControlAndroid
138 Slot current_slot = GetCurrentSlot(); in GetDynamicPartitionDevice()
200 (slot == GetCurrentSlot() || is_target_dynamic_)) { in GetPartitionDevice()
402 auto source_slot = GetCurrentSlot(); in InitPartitionMetadata()
Dboot_control_chromeos.h45 BootControlInterface::Slot GetCurrentSlot() const override;
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()
Dboot_control_android.h46 BootControlInterface::Slot GetCurrentSlot() const override;
Dimage_properties_android.cc207 std::to_string(system_state->boot_control()->GetCurrentSlot()); in LoadImageProperties()
Dupdate_attempter_android.cc206 install_plan_.source_slot = boot_control_->GetCurrentSlot(); in ApplyPayload()
328 if (!boot_control_->SetActiveBootSlot(boot_control_->GetCurrentSlot())) in ResetStatus()
415 BootControlInterface::Slot current_slot = boot_control_->GetCurrentSlot(); in VerifyPayloadApplicable()
Dboot_control_chromeos.cc144 BootControlInterface::Slot BootControlChromeOS::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::BootControlChromeOS
Dupdate_attempter.cc728 install_plan_->source_slot = system_state_->boot_control()->GetCurrentSlot(); in Rollback()
766 system_state_->boot_control()->GetCurrentSlot(); in GetRollbackSlot()
1278 if (!boot_control->SetActiveBootSlot(boot_control->GetCurrentSlot())) in ResetStatus()
Domaha_response_handler_action_unittest.cc141 ? fake_system_state_.fake_boot_control()->GetCurrentSlot() in DoTest()
142 : 1 - fake_system_state_.fake_boot_control()->GetCurrentSlot(); in DoTest()
Dpayload_state.cc1292 if (installed_from == system_state_->boot_control()->GetCurrentSlot()) { in ReportFailedBootIfNeeded()
1334 system_state_->boot_control()->GetCurrentSlot()); in ExpectRebootInNewVersion()