/system/update_engine/aosp/ |
D | dynamic_partition_control_android.h | 70 uint32_t current_slot, 88 uint32_t current_slot, 94 uint32_t current_slot, 101 uint32_t current_slot, 297 uint32_t current_slot, 304 uint32_t current_slot,
|
D | dynamic_partition_control_android.cc | 1096 uint32_t current_slot, in GetPartitionDevice() argument 1101 GetPartitionDevice(partition_name, slot, current_slot, not_in_payload); in GetPartitionDevice() 1117 uint32_t current_slot, in GetPartitionDevice() argument 1120 partition_name, slot, current_slot, false, device, nullptr); in GetPartitionDevice() 1134 uint32_t current_slot, in GetPartitionDevice() argument 1146 if (UpdateUsesSnapshotCompression() && slot != current_slot && in GetPartitionDevice() 1161 (slot == current_slot || is_target_dynamic_)) { in GetPartitionDevice() 1165 current_slot, in GetPartitionDevice() 1194 uint32_t current_slot, in IsSuperBlockDevice() argument 1197 device_dir.Append(GetSuperPartitionName(current_slot)).value(); in IsSuperBlockDevice() [all …]
|
D | boot_control_android.cc | 175 uint32_t current_slot, in GetPartitionDevice() argument 178 partition_name, slot, current_slot, not_in_payload); in GetPartitionDevice()
|
D | boot_control_android.h | 51 uint32_t current_slot,
|
D | update_attempter_android.cc | 646 BootControlInterface::Slot current_slot = GetCurrentSlot(); in VerifyPayloadApplicable() local 647 if (current_slot < 0) { in VerifyPayloadApplicable() 652 "Failed to get current slot " + std::to_string(current_slot), in VerifyPayloadApplicable() 660 partition.partition_name(), current_slot, &partition_path)) { in VerifyPayloadApplicable() 1051 const auto current_slot = boot_control_->GetCurrentSlot(); in OTARebootSucceeded() local 1058 if (previous_slot != current_slot) { in OTARebootSucceeded() 1062 << " current slot: " << current_slot; in OTARebootSucceeded()
|
/system/core/fastboot/device/ |
D | utility.cpp | 171 uint32_t current_slot = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in ListPartitions() local 172 std::string super_name = fs_mgr_get_super_partition_name(current_slot); in ListPartitions() 173 if (auto metadata = ReadMetadata(super_name, current_slot)) { in ListPartitions() 177 uint32_t other_slot = (current_slot == 0) ? 1 : 0; in ListPartitions()
|
D | commands.cpp | 375 auto current_slot = "_" + args[1]; in SetActiveHandler() local 376 device->set_active_slot(current_slot); in SetActiveHandler()
|
/system/core/fastboot/ |
D | fastboot.cpp | 1290 std::string current_slot; in get_current_slot() local 1291 if (fb->GetVar("current-slot", ¤t_slot) != fastboot::SUCCESS) return ""; in get_current_slot() 1292 if (current_slot[0] == '_') current_slot.erase(0, 1); in get_current_slot() 1293 return current_slot; in get_current_slot() 1311 static std::string get_other_slot(const std::string& current_slot, int count) { in get_other_slot() argument 1314 char next = (current_slot[0] - 'a' + 1) % count + 'a'; in get_other_slot() 1318 static std::string get_other_slot(const std::string& current_slot) { in get_other_slot() argument 1319 return get_other_slot(current_slot, get_slot_count(fb)); in get_other_slot() 1373 std::string current_slot; in do_for_partition() local 1383 current_slot = get_current_slot(); in do_for_partition() [all …]
|
D | fastboot.h | 106 std::string current_slot; member
|
/system/update_engine/common/ |
D | boot_control_stub.h | 54 uint32_t current_slot,
|
D | boot_control_interface.h | 81 uint32_t current_slot,
|
D | boot_control_stub.cc | 50 uint32_t current_slot, in GetPartitionDevice() argument
|
D | dynamic_partition_control_stub.h | 58 uint32_t current_slot,
|
D | dynamic_partition_control_stub.cc | 88 uint32_t current_slot, in ListDynamicPartitionsForSlot() argument
|
D | dynamic_partition_control_interface.h | 151 uint32_t current_slot,
|
D | fake_boot_control.h | 129 uint32_t current_slot,
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 1653 auto current_slot = GetCurrentSlot(); in HandleCancelledUpdate() local 1654 if (current_slot != Slot::Source) { in HandleCancelledUpdate() 1655 LOG(INFO) << "Update state is being processed while booting at " << current_slot in HandleCancelledUpdate() 1959 auto current_slot = GetCurrentSlot(); in RemoveAllSnapshots() local 1974 bool should_unmap = current_slot != Slot::Target; in RemoveAllSnapshots() 1975 bool should_delete = ShouldDeleteSnapshot(flashing_status, current_slot, name); in RemoveAllSnapshots() 1982 LOG(ERROR) << "Detected snapshot " << name << " on " << current_slot << " slot" in RemoveAllSnapshots() 2021 Slot current_slot, const std::string& name) { in ShouldDeleteSnapshot() argument 2022 if (current_slot != Slot::Target) { in ShouldDeleteSnapshot() 3216 uint32_t current_slot = SlotNumberForSlotSuffix(current_suffix); in CreateUpdateSnapshots() local [all …]
|
/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 | 776 bool ShouldDeleteSnapshot(const std::map<std::string, bool>& flashing_status, Slot current_slot,
|