Home
last modified time | relevance | path

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

12

/system/update_engine/common/
Dfake_boot_control.h45 BootControlInterface::Slot GetCurrentSlot() const override { in GetCurrentSlot() function
85 is_marked_successful_[GetCurrentSlot()] = true; in MarkBootSuccessfulAsync()
Dboot_control_stub.h42 BootControlInterface::Slot GetCurrentSlot() const override;
Dboot_control_interface.h54 virtual Slot GetCurrentSlot() const = 0;
Dboot_control_stub.cc33 BootControlInterface::Slot BootControlStub::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::BootControlStub
/system/update_engine/
Dboot_control_android.cc81 BootControlInterface::Slot BootControlAndroid::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::BootControlAndroid
92 GetCurrentSlot(), in GetPartitionDevice()
Dboot_control_android.h46 BootControlInterface::Slot GetCurrentSlot() const override;
Dboot_control_chromeos.h47 BootControlInterface::Slot GetCurrentSlot() const override;
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()
Dupdate_attempter_android.cc241 install_plan_.source_slot = GetCurrentSlot(); in ApplyPayload()
365 if (!boot_control_->SetActiveBootSlot(GetCurrentSlot())) in ResetStatus()
483 BootControlInterface::Slot current_slot = GetCurrentSlot(); in VerifyPayloadApplicable()
945 BootControlInterface::Slot UpdateAttempterAndroid::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::UpdateAttempterAndroid
946 return boot_control_->GetCurrentSlot(); in GetCurrentSlot()
950 return GetCurrentSlot() == 0 ? 1 : 0; in GetTargetSlot()
Dupdate_attempter_android.h182 BootControlInterface::Slot GetCurrentSlot() const;
Dimage_properties_android.cc207 std::to_string(system_state->boot_control()->GetCurrentSlot()); in LoadImageProperties()
Dboot_control_chromeos.cc150 BootControlInterface::Slot BootControlChromeOS::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::BootControlChromeOS
Dcleanup_previous_update_action.cc156 !boot_control_->IsSlotMarkedSuccessful(boot_control_->GetCurrentSlot())) { in CheckSlotMarkedSuccessfulOrSchedule()
Dupdate_attempter.cc885 install_plan_->source_slot = system_state_->boot_control()->GetCurrentSlot(); in Rollback()
923 system_state_->boot_control()->GetCurrentSlot(); in GetRollbackSlot()
1468 if (!boot_control->SetActiveBootSlot(boot_control->GetCurrentSlot())) in ResetStatus()
Domaha_response_handler_action_unittest.cc142 ? fake_system_state_.fake_boot_control()->GetCurrentSlot() in DoTest()
143 : 1 - fake_system_state_.fake_boot_control()->GetCurrentSlot(); in DoTest()
Dpayload_state.cc1320 if (installed_from == system_state_->boot_control()->GetCurrentSlot()) { in ReportFailedBootIfNeeded()
1362 system_state_->boot_control()->GetCurrentSlot()); in ExpectRebootInNewVersion()
/system/core/fastboot/device/
Dvariables.cpp199 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetCurrentSlot() function
201 std::string suffix = device->GetCurrentSlot(); in GetCurrentSlot()
283 std::string slot_suffix = device->GetCurrentSlot(); in GetHasSlot()
408 std::string slot_suffix = device->GetCurrentSlot(); in GetAllPartitionArgsNoSlot()
438 uint32_t slot_number = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in GetSuperPartitionName()
Dfastboot_device.h43 std::string GetCurrentSlot();
Dflashing.cpp68 if ((partition + device->GetCurrentSlot()) == partition_name) { in WipeOverlayfsForPartition()
190 std::string slot_suffix = device->GetCurrentSlot(); in UpdateSuper()
Dutility.cpp177 uint32_t current_slot = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in ListPartitions()
230 std::string current_slot_suffix = device->GetCurrentSlot(); in GetSuperSlotSuffix()
Dfastboot_device.cpp95 std::string FastbootDevice::GetCurrentSlot() { in GetCurrentSlot() function in FastbootDevice
Dvariables.h36 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& args,
Dcommands.cpp118 {FB_VAR_CURRENT_SLOT, {::GetCurrentSlot, nullptr}}, in GetVarHandler()
265 if (args[1] == device->GetCurrentSlot()) { in SetActiveHandler()
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp178 auto slot = GetCurrentSlot(); in TryCancelUpdate()
198 SnapshotManager::Slot SnapshotManager::GetCurrentSlot() { in GetCurrentSlot() function in android::snapshot::SnapshotManager
567 auto slot = GetCurrentSlot(); in InitiateMerge()
1202 auto slot = GetCurrentSlot(); in HandleCancelledUpdate()
1216 auto current_slot = GetCurrentSlot(); in HandleCancelledUpdate()
1338 auto current_slot = GetCurrentSlot(); in RemoveAllSnapshots()
1502 auto slot = GetCurrentSlot(); in NeedSnapshotsInFirstStageMount()
2482 ss << "Boot indicator: booting from " << GetCurrentSlot() << " slot" << std::endl; in Dump()
2643 auto slot = GetCurrentSlot(); in ProcessUpdateStateOnDataWipe()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h562 Slot GetCurrentSlot();

12