Home
last modified time | relevance | path

Searched refs:current_slot (Results 1 – 19 of 19) sorted by relevance

/system/update_engine/aosp/
Ddynamic_partition_control_android.h67 uint32_t current_slot,
85 uint32_t current_slot,
91 uint32_t current_slot,
98 uint32_t current_slot,
294 uint32_t current_slot,
301 uint32_t current_slot,
Ddynamic_partition_control_android.cc1066 uint32_t current_slot, in GetPartitionDevice() argument
1071 GetPartitionDevice(partition_name, slot, current_slot, not_in_payload); in GetPartitionDevice()
1087 uint32_t current_slot, in GetPartitionDevice() argument
1090 partition_name, slot, current_slot, false, device, nullptr); in GetPartitionDevice()
1104 uint32_t current_slot, in GetPartitionDevice() argument
1116 if (UpdateUsesSnapshotCompression() && slot != current_slot && in GetPartitionDevice()
1131 (slot == current_slot || is_target_dynamic_)) { in GetPartitionDevice()
1135 current_slot, in GetPartitionDevice()
1164 uint32_t current_slot, in IsSuperBlockDevice() argument
1167 device_dir.Append(GetSuperPartitionName(current_slot)).value(); in IsSuperBlockDevice()
[all …]
Dboot_control_android.cc188 uint32_t current_slot, in GetPartitionDevice() argument
191 partition_name, slot, current_slot, not_in_payload); in GetPartitionDevice()
Dboot_control_android.h50 uint32_t current_slot,
Dupdate_attempter_android.cc507 BootControlInterface::Slot current_slot = GetCurrentSlot(); in VerifyPayloadApplicable() local
513 partition.partition_name(), current_slot, &partition_path)) { in VerifyPayloadApplicable()
893 const auto current_slot = boot_control_->GetCurrentSlot(); in UpdatePrefsAndReportUpdateMetricsOnReboot() local
911 previous_version == current_version && previous_slot == current_slot) { in UpdatePrefsAndReportUpdateMetricsOnReboot()
/system/core/fastboot/device/
Dutility.cpp180 uint32_t current_slot = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in ListPartitions() local
181 std::string super_name = fs_mgr_get_super_partition_name(current_slot); in ListPartitions()
182 if (auto metadata = ReadMetadata(super_name, current_slot)) { in ListPartitions()
186 uint32_t other_slot = (current_slot == 0) ? 1 : 0; in ListPartitions()
Dcommands.cpp345 auto current_slot = "_" + args[1]; in SetActiveHandler() local
346 device->set_active_slot(current_slot); in SetActiveHandler()
/system/core/fastboot/
Dfastboot.cpp1143 std::string current_slot; in get_current_slot() local
1144 if (fb->GetVar("current-slot", &current_slot) != fastboot::SUCCESS) return ""; in get_current_slot()
1145 if (current_slot[0] == '_') current_slot.erase(0, 1); in get_current_slot()
1146 return current_slot; in get_current_slot()
1164 static std::string get_other_slot(const std::string& current_slot, int count) { in get_other_slot() argument
1167 char next = (current_slot[0] - 'a' + 1)%count + 'a'; in get_other_slot()
1171 static std::string get_other_slot(const std::string& current_slot) { in get_other_slot() argument
1172 return get_other_slot(current_slot, get_slot_count()); in get_other_slot()
1226 std::string current_slot; in do_for_partition() local
1236 current_slot = get_current_slot(); in do_for_partition()
[all …]
/system/update_engine/common/
Dboot_control_interface.h81 uint32_t current_slot,
Dboot_control_stub.h54 uint32_t current_slot,
Dboot_control_stub.cc50 uint32_t current_slot, in GetPartitionDevice() argument
Ddynamic_partition_control_stub.cc77 uint32_t current_slot, in ListDynamicPartitionsForSlot() argument
Ddynamic_partition_control_stub.h54 uint32_t current_slot,
Ddynamic_partition_control_interface.h145 uint32_t current_slot,
Dfake_boot_control.h128 uint32_t current_slot,
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp1436 auto current_slot = GetCurrentSlot(); in HandleCancelledUpdate() local
1437 if (current_slot != Slot::Source) { in HandleCancelledUpdate()
1438 LOG(INFO) << "Update state is being processed while booting at " << current_slot in HandleCancelledUpdate()
1678 auto current_slot = GetCurrentSlot(); in RemoveAllSnapshots() local
1693 bool should_unmap = current_slot != Slot::Target; in RemoveAllSnapshots()
1694 bool should_delete = ShouldDeleteSnapshot(flashing_status, current_slot, name); in RemoveAllSnapshots()
1702 LOG(ERROR) << "Detected snapshot " << name << " on " << current_slot << " slot" in RemoveAllSnapshots()
1741 Slot current_slot, const std::string& name) { in ShouldDeleteSnapshot() argument
1742 if (current_slot != Slot::Target) { in ShouldDeleteSnapshot()
2724 uint32_t current_slot = SlotNumberForSlotSuffix(current_suffix); in CreateUpdateSnapshots() local
[all …]
/system/update_engine/cros/
Dupdate_attempter.cc885 const BootControlInterface::Slot current_slot = in GetRollbackSlot() local
890 << BootControlInterface::SlotName(current_slot); in GetRollbackSlot()
892 if (current_slot == BootControlInterface::kInvalidSlot || num_slots < 2) { in GetRollbackSlot()
899 if (slot != current_slot && in GetRollbackSlot()
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp210 std::string current_slot; in TEST_F() local
211 ASSERT_EQ(fb->GetVar("current-slot", &current_slot), SUCCESS) in TEST_F()
213 std::string slot_suffix = "_" + current_slot; in TEST_F()
248 std::string current_slot; in TEST_F() local
249 EXPECT_EQ(fb->GetVar("current-slot", &current_slot), SUCCESS) in TEST_F()
251 std::string slot_suffix = "_" + current_slot; in TEST_F()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h726 bool ShouldDeleteSnapshot(const std::map<std::string, bool>& flashing_status, Slot current_slot,