Home
last modified time | relevance | path

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

12

/system/update_engine/aosp/
Dboot_control_android.cc71 std::make_unique<DynamicPartitionControlAndroid>(GetCurrentSlot()); in Init()
80 BootControlInterface::Slot BootControlAndroid::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::BootControlAndroid
91 GetCurrentSlot(), in GetPartitionDevice()
Dcleanup_previous_update_action_unittest.cc61 ON_CALL(boot_control_, GetCurrentSlot()).WillByDefault(Return(0)); in SetUp()
106 EXPECT_CALL(boot_control_, GetCurrentSlot()) in TEST_F()
Dupdate_attempter_android.cc243 install_plan_.source_slot = GetCurrentSlot(); in ApplyPayload()
386 if (!boot_control_->SetActiveBootSlot(GetCurrentSlot())) in ResetStatus()
507 BootControlInterface::Slot current_slot = GetCurrentSlot(); in VerifyPayloadApplicable()
893 const auto current_slot = boot_control_->GetCurrentSlot(); in UpdatePrefsAndReportUpdateMetricsOnReboot()
901 boot_control_->GetCurrentSlot()); in UpdatePrefsAndReportUpdateMetricsOnReboot()
932 boot_control_->GetCurrentSlot()); in UpdatePrefsAndReportUpdateMetricsOnReboot()
974 BootControlInterface::Slot UpdateAttempterAndroid::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::UpdateAttempterAndroid
975 return boot_control_->GetCurrentSlot(); in GetCurrentSlot()
979 return GetCurrentSlot() == 0 ? 1 : 0; in GetTargetSlot()
Dboot_control_android.h46 BootControlInterface::Slot GetCurrentSlot() const override;
Dupdate_attempter_android.h184 BootControlInterface::Slot GetCurrentSlot() const;
Dcleanup_previous_update_action.cc208 !boot_control_->IsSlotMarkedSuccessful(boot_control_->GetCurrentSlot())) { in CheckSlotMarkedSuccessfulOrSchedule()
/system/update_engine/common/
Dfake_boot_control.h45 BootControlInterface::Slot GetCurrentSlot() const override { in GetCurrentSlot() function
90 is_marked_successful_[GetCurrentSlot()] = true; in MarkBootSuccessfulAsync()
Dmock_boot_control.h36 MOCK_METHOD(BootControlInterface::Slot, GetCurrentSlot, (), (const override));
Dboot_control_interface.h54 virtual Slot GetCurrentSlot() const = 0;
Dboot_control_stub.h42 BootControlInterface::Slot GetCurrentSlot() const override;
Dboot_control_stub.cc33 BootControlInterface::Slot BootControlStub::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::BootControlStub
/system/core/fastboot/device/
Dvariables.cpp205 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetCurrentSlot() function
207 std::string suffix = device->GetCurrentSlot(); in GetCurrentSlot()
289 std::string slot_suffix = device->GetCurrentSlot(); in GetHasSlot()
414 std::string slot_suffix = device->GetCurrentSlot(); in GetAllPartitionArgsNoSlot()
444 uint32_t slot_number = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in GetSuperPartitionName()
Dflashing.cpp69 if ((partition + device->GetCurrentSlot()) == partition_name) { in WipeOverlayfsForPartition()
193 std::string slot_suffix = device->GetCurrentSlot(); in UpdateSuper()
Dfastboot_device.h44 std::string GetCurrentSlot();
Dutility.cpp180 uint32_t current_slot = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in ListPartitions()
228 std::string current_slot_suffix = device->GetCurrentSlot(); in GetSuperSlotSuffix()
Dfastboot_device.cpp96 std::string FastbootDevice::GetCurrentSlot() { in GetCurrentSlot() function in FastbootDevice
Dvariables.h36 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& args,
Dcommands.cpp128 {FB_VAR_CURRENT_SLOT, {::GetCurrentSlot, nullptr}}, in GetVarHandler()
315 if (args[1] == device->GetCurrentSlot()) { in SetActiveHandler()
/system/update_engine/cros/
Dboot_control_chromeos.h47 BootControlInterface::Slot GetCurrentSlot() const override;
Domaha_response_handler_action.cc134 SystemState::Get()->boot_control()->GetCurrentSlot(); in PerformAction()
138 SystemState::Get()->boot_control()->GetCurrentSlot(); in PerformAction()
Dboot_control_chromeos.cc151 BootControlInterface::Slot BootControlChromeOS::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::BootControlChromeOS
Dupdate_attempter.cc848 SystemState::Get()->boot_control()->GetCurrentSlot(); in Rollback()
886 SystemState::Get()->boot_control()->GetCurrentSlot(); in GetRollbackSlot()
1422 if (!boot_control->SetActiveBootSlot(boot_control->GetCurrentSlot())) in ResetStatus()
Dpayload_state.cc1301 SystemState::Get()->boot_control()->GetCurrentSlot()) { in ReportFailedBootIfNeeded()
1343 SystemState::Get()->boot_control()->GetCurrentSlot()); in ExpectRebootInNewVersion()
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp200 auto slot = GetCurrentSlot(); in TryCancelUpdate()
220 SnapshotManager::Slot SnapshotManager::GetCurrentSlot() { in GetCurrentSlot() function in android::snapshot::SnapshotManager
232 switch (GetCurrentSlot()) { in GetSnapshotSlotSuffix()
641 auto slot = GetCurrentSlot(); in InitiateMerge()
1422 auto slot = GetCurrentSlot(); in HandleCancelledUpdate()
1436 auto current_slot = GetCurrentSlot(); in HandleCancelledUpdate()
1678 auto current_slot = GetCurrentSlot(); in RemoveAllSnapshots()
1862 auto slot = GetCurrentSlot(); in NeedSnapshotsInFirstStageMount()
2308 if (GetCurrentSlot() == Slot::Target) { in MapAllSnapshots()
3282 ss << "Boot indicator: booting from " << GetCurrentSlot() << " slot" << std::endl; in Dump()
[all …]
/system/update_engine/payload_consumer/
Ddelta_performer.cc676 boot_control_->GetCurrentSlot(), in ParseManifestPartitions()
814 boot_control->GetCurrentSlot(), in PreparePartitionsForUpdate()

12