/system/update_engine/aosp/ |
D | boot_control_android.cc | 71 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()
|
D | cleanup_previous_update_action_unittest.cc | 61 ON_CALL(boot_control_, GetCurrentSlot()).WillByDefault(Return(0)); in SetUp() 106 EXPECT_CALL(boot_control_, GetCurrentSlot()) in TEST_F()
|
D | update_attempter_android.cc | 243 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()
|
D | boot_control_android.h | 46 BootControlInterface::Slot GetCurrentSlot() const override;
|
D | update_attempter_android.h | 184 BootControlInterface::Slot GetCurrentSlot() const;
|
D | cleanup_previous_update_action.cc | 208 !boot_control_->IsSlotMarkedSuccessful(boot_control_->GetCurrentSlot())) { in CheckSlotMarkedSuccessfulOrSchedule()
|
/system/update_engine/common/ |
D | fake_boot_control.h | 45 BootControlInterface::Slot GetCurrentSlot() const override { in GetCurrentSlot() function 90 is_marked_successful_[GetCurrentSlot()] = true; in MarkBootSuccessfulAsync()
|
D | mock_boot_control.h | 36 MOCK_METHOD(BootControlInterface::Slot, GetCurrentSlot, (), (const override));
|
D | boot_control_interface.h | 54 virtual Slot GetCurrentSlot() const = 0;
|
D | boot_control_stub.h | 42 BootControlInterface::Slot GetCurrentSlot() const override;
|
D | boot_control_stub.cc | 33 BootControlInterface::Slot BootControlStub::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::BootControlStub
|
/system/core/fastboot/device/ |
D | variables.cpp | 205 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()
|
D | flashing.cpp | 69 if ((partition + device->GetCurrentSlot()) == partition_name) { in WipeOverlayfsForPartition() 193 std::string slot_suffix = device->GetCurrentSlot(); in UpdateSuper()
|
D | fastboot_device.h | 44 std::string GetCurrentSlot();
|
D | utility.cpp | 180 uint32_t current_slot = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in ListPartitions() 228 std::string current_slot_suffix = device->GetCurrentSlot(); in GetSuperSlotSuffix()
|
D | fastboot_device.cpp | 96 std::string FastbootDevice::GetCurrentSlot() { in GetCurrentSlot() function in FastbootDevice
|
D | variables.h | 36 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& args,
|
D | commands.cpp | 128 {FB_VAR_CURRENT_SLOT, {::GetCurrentSlot, nullptr}}, in GetVarHandler() 315 if (args[1] == device->GetCurrentSlot()) { in SetActiveHandler()
|
/system/update_engine/cros/ |
D | boot_control_chromeos.h | 47 BootControlInterface::Slot GetCurrentSlot() const override;
|
D | omaha_response_handler_action.cc | 134 SystemState::Get()->boot_control()->GetCurrentSlot(); in PerformAction() 138 SystemState::Get()->boot_control()->GetCurrentSlot(); in PerformAction()
|
D | boot_control_chromeos.cc | 151 BootControlInterface::Slot BootControlChromeOS::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::BootControlChromeOS
|
D | update_attempter.cc | 848 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()
|
D | payload_state.cc | 1301 SystemState::Get()->boot_control()->GetCurrentSlot()) { in ReportFailedBootIfNeeded() 1343 SystemState::Get()->boot_control()->GetCurrentSlot()); in ExpectRebootInNewVersion()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 200 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/ |
D | delta_performer.cc | 676 boot_control_->GetCurrentSlot(), in ParseManifestPartitions() 814 boot_control->GetCurrentSlot(), in PreparePartitionsForUpdate()
|