/system/update_engine/aosp/ |
D | boot_control_android.cc | 67 std::make_unique<DynamicPartitionControlAndroid>(GetCurrentSlot()); in Init() 76 BootControlInterface::Slot BootControlAndroid::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::BootControlAndroid 77 return module_->GetCurrentSlot(); in GetCurrentSlot() 87 GetCurrentSlot(), in GetPartitionDevice()
|
D | update_attempter_android_integration_test.cc | 66 super_device->value(), boot_control_.GetCurrentSlot()); in AddFakePartitionGroup() 143 boot_control_.GetCurrentSlot() == 0 ? "fake_a" : "fake_b", in CreateFakePartition() 152 boot_control_.GetCurrentSlot(), in CreateFakePartition() 153 boot_control_.GetCurrentSlot(), in CreateFakePartition() 176 super_device_, *metadata, boot_control_.GetCurrentSlot()); in ExportPartitionTable() 326 1 - boot_control_.GetCurrentSlot(), in DumpTargetPartitionDiff() 327 boot_control_.GetCurrentSlot(), in DumpTargetPartitionDiff()
|
D | update_attempter_android.cc | 279 install_plan_.source_slot = GetCurrentSlot(); in ApplyPayload() 544 BootControlInterface::Slot current_slot = GetCurrentSlot(); in VerifyPayloadApplicable() 827 << boot_control_->GetCurrentSlot() << ", boot id: " << boot_id; in WriteUpdateCompletedMarker() 831 prefs_->SetInt64(kPrefsPreviousSlot, boot_control_->GetCurrentSlot())); in WriteUpdateCompletedMarker() 940 const auto current_slot = boot_control_->GetCurrentSlot(); in OTARebootSucceeded() 1015 prefs_->SetInt64(kPrefsPreviousSlot, boot_control_->GetCurrentSlot()); in UpdateStateAfterReboot() 1045 prefs_->SetInt64(kPrefsPreviousSlot, boot_control_->GetCurrentSlot()); in UpdateStateAfterReboot() 1088 BootControlInterface::Slot UpdateAttempterAndroid::GetCurrentSlot() const { in GetCurrentSlot() function in chromeos_update_engine::UpdateAttempterAndroid 1089 return boot_control_->GetCurrentSlot(); in GetCurrentSlot() 1093 return GetCurrentSlot() == 0 ? 1 : 0; in GetTargetSlot() [all …]
|
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 | boot_control_android.h | 47 BootControlInterface::Slot GetCurrentSlot() const override;
|
D | cleanup_previous_update_action.cc | 208 !boot_control_->IsSlotMarkedSuccessful(boot_control_->GetCurrentSlot())) { in CheckSlotMarkedSuccessfulOrSchedule() 331 boot_control_->MarkSlotUnbootable(1 - boot_control_->GetCurrentSlot()); in WaitForMergeOrSchedule()
|
D | update_attempter_android.h | 218 BootControlInterface::Slot GetCurrentSlot() const;
|
/system/update_engine/common/ |
D | fake_boot_control.h | 45 BootControlInterface::Slot GetCurrentSlot() const override { in GetCurrentSlot() function 91 is_marked_successful_[GetCurrentSlot()] = true; in MarkBootSuccessfulAsync()
|
D | mock_boot_control.h | 36 MOCK_METHOD(BootControlInterface::Slot, GetCurrentSlot, (), (const override));
|
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
|
D | boot_control_interface.h | 54 virtual Slot GetCurrentSlot() const = 0;
|
/system/core/fastboot/device/ |
D | variables.cpp | 188 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetCurrentSlot() function 190 std::string suffix = device->GetCurrentSlot(); in GetCurrentSlot() 272 std::string slot_suffix = device->GetCurrentSlot(); in GetHasSlot() 400 std::string slot_suffix = device->GetCurrentSlot(); in GetAllPartitionArgsNoSlot() 430 uint32_t slot_number = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in GetSuperPartitionName()
|
D | fastboot_device.h | 44 std::string GetCurrentSlot();
|
D | utility.cpp | 171 uint32_t current_slot = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in ListPartitions() 219 std::string current_slot_suffix = device->GetCurrentSlot(); in GetSuperSlotSuffix()
|
D | flashing.cpp | 70 if ((partition + device->GetCurrentSlot()) == partition_name) { in WipeOverlayfsForPartition() 227 std::string slot_suffix = device->GetCurrentSlot(); in UpdateSuper()
|
D | fastboot_device.cpp | 139 std::string FastbootDevice::GetCurrentSlot() { in GetCurrentSlot() function in FastbootDevice 149 std::string suffix = boot_control_hal_->GetSuffix(boot_control_hal_->GetCurrentSlot()); in GetCurrentSlot()
|
D | variables.h | 36 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& args,
|
D | commands.cpp | 125 {FB_VAR_CURRENT_SLOT, {::GetCurrentSlot, nullptr}}, 344 if (args[1] == device->GetCurrentSlot()) { in SetActiveHandler()
|
/system/vold/ |
D | Checkpoint.cpp | 143 std::string suffix = module->GetSuffix(module->GetCurrentSlot()); in cp_startCheckpoint() 273 newSuffix = module->GetSuffix(module->GetCurrentSlot()); in cp_needsRollback() 294 if (module && !module->IsSlotMarkedSuccessful(module->GetCurrentSlot()).value_or(true)) { in cp_needsCheckpoint()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 233 auto slot = GetCurrentSlot(); in TryCancelUpdate() 253 SnapshotManager::Slot SnapshotManager::GetCurrentSlot() { in GetCurrentSlot() function in android::snapshot::SnapshotManager 265 switch (GetCurrentSlot()) { in GetSnapshotSlotSuffix() 745 auto slot = GetCurrentSlot(); in InitiateMerge() 1663 auto slot = GetCurrentSlot(); in HandleCancelledUpdate() 1677 auto current_slot = GetCurrentSlot(); in HandleCancelledUpdate() 1978 auto current_slot = GetCurrentSlot(); in RemoveAllSnapshots() 2215 auto slot = GetCurrentSlot(); in NeedSnapshotsInFirstStageMount() 2728 if (GetCurrentSlot() == Slot::Target) { in MapAllSnapshots() 3784 ss << "Boot indicator: booting from " << GetCurrentSlot() << " slot" << std::endl; in Dump() [all …]
|
/system/extras/bootctl/ |
D | bootctl.cpp | 89 auto curSlot = module->GetCurrentSlot(); in do_get_current_slot()
|
/system/update_engine/payload_consumer/ |
D | delta_performer.cc | 770 boot_control_->GetCurrentSlot(), in ParseManifestPartitions() 839 boot_control->GetCurrentSlot(), in PreparePartitionsForUpdate()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 767 Slot GetCurrentSlot();
|