/system/update_engine/aosp/ |
D | dynamic_partition_control_android.h | 67 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,
|
D | dynamic_partition_control_android.cc | 1066 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 …]
|
D | boot_control_android.cc | 188 uint32_t current_slot, in GetPartitionDevice() argument 191 partition_name, slot, current_slot, not_in_payload); in GetPartitionDevice()
|
D | boot_control_android.h | 50 uint32_t current_slot,
|
D | update_attempter_android.cc | 507 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/ |
D | utility.cpp | 180 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()
|
D | commands.cpp | 345 auto current_slot = "_" + args[1]; in SetActiveHandler() local 346 device->set_active_slot(current_slot); in SetActiveHandler()
|
/system/core/fastboot/ |
D | fastboot.cpp | 1143 std::string current_slot; in get_current_slot() local 1144 if (fb->GetVar("current-slot", ¤t_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/ |
D | boot_control_interface.h | 81 uint32_t current_slot,
|
D | boot_control_stub.h | 54 uint32_t current_slot,
|
D | boot_control_stub.cc | 50 uint32_t current_slot, in GetPartitionDevice() argument
|
D | dynamic_partition_control_stub.cc | 77 uint32_t current_slot, in ListDynamicPartitionsForSlot() argument
|
D | dynamic_partition_control_stub.h | 54 uint32_t current_slot,
|
D | dynamic_partition_control_interface.h | 145 uint32_t current_slot,
|
D | fake_boot_control.h | 128 uint32_t current_slot,
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 1436 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/ |
D | update_attempter.cc | 885 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/ |
D | main.cpp | 210 std::string current_slot; in TEST_F() local 211 ASSERT_EQ(fb->GetVar("current-slot", ¤t_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", ¤t_slot), SUCCESS) in TEST_F() 251 std::string slot_suffix = "_" + current_slot; in TEST_F()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 726 bool ShouldDeleteSnapshot(const std::map<std::string, bool>& flashing_status, Slot current_slot,
|