/system/update_engine/ |
D | dynamic_partition_control_android.h | 58 uint32_t current_slot, std::vector<std::string>* partitions) override; 74 uint32_t current_slot, 81 uint32_t current_slot, 233 uint32_t current_slot, 240 uint32_t current_slot,
|
D | dynamic_partition_control_android.cc | 888 uint32_t current_slot, in GetPartitionDevice() argument 907 (slot == current_slot || is_target_dynamic_)) { in GetPartitionDevice() 911 current_slot, in GetPartitionDevice() 939 uint32_t current_slot, in GetPartitionDevice() argument 942 partition_name, slot, current_slot, false, device, nullptr); in GetPartitionDevice() 947 uint32_t current_slot, in IsSuperBlockDevice() argument 950 device_dir.Append(GetSuperPartitionName(current_slot)).value(); in IsSuperBlockDevice() 951 auto source_metadata = LoadMetadataBuilder(source_device, current_slot); in IsSuperBlockDevice() 960 uint32_t current_slot, in GetDynamicPartitionDevice() argument 976 if (IsSuperBlockDevice(device_dir, current_slot, partition_name_suffix)) { in GetDynamicPartitionDevice() [all …]
|
D | update_attempter.cc | 922 const BootControlInterface::Slot current_slot = in GetRollbackSlot() local 927 << BootControlInterface::SlotName(current_slot); in GetRollbackSlot() 929 if (current_slot == BootControlInterface::kInvalidSlot || num_slots < 2) { in GetRollbackSlot() 936 if (slot != current_slot && in GetRollbackSlot()
|
D | update_attempter_android.cc | 483 BootControlInterface::Slot current_slot = GetCurrentSlot(); in VerifyPayloadApplicable() local 489 partition.partition_name(), current_slot, &partition_path)) { in VerifyPayloadApplicable()
|
/system/core/fastboot/device/ |
D | utility.cpp | 177 uint32_t current_slot = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in ListPartitions() local 178 std::string super_name = fs_mgr_get_super_partition_name(current_slot); in ListPartitions() 179 if (auto metadata = ReadMetadata(super_name, current_slot)) { in ListPartitions() 183 uint32_t other_slot = (current_slot == 0) ? 1 : 0; in ListPartitions()
|
D | commands.cpp | 295 auto current_slot = "_" + args[1]; in SetActiveHandler() local 296 device->set_active_slot(current_slot); in SetActiveHandler()
|
/system/update_engine/common/ |
D | dynamic_partition_control_stub.h | 52 uint32_t current_slot, std::vector<std::string>* partitions) override;
|
D | dynamic_partition_control_stub.cc | 71 uint32_t current_slot, std::vector<std::string>* partitions) { in ListDynamicPartitionsForSlot() argument
|
D | dynamic_partition_control_interface.h | 127 uint32_t current_slot, std::vector<std::string>* partitions) = 0;
|
/system/core/fastboot/ |
D | fastboot.cpp | 1098 std::string current_slot; in get_current_slot() local 1099 if (fb->GetVar("current-slot", ¤t_slot) != fastboot::SUCCESS) return ""; in get_current_slot() 1100 return current_slot; in get_current_slot() 1118 static std::string get_other_slot(const std::string& current_slot, int count) { in get_other_slot() argument 1121 char next = (current_slot[0] - 'a' + 1)%count + 'a'; in get_other_slot() 1125 static std::string get_other_slot(const std::string& current_slot) { in get_other_slot() argument 1126 return get_other_slot(current_slot, get_slot_count()); in get_other_slot() 1180 std::string current_slot; in do_for_partition() local 1188 current_slot = get_current_slot(); in do_for_partition() 1189 if (current_slot == "") { in do_for_partition() [all …]
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 1216 auto current_slot = GetCurrentSlot(); in HandleCancelledUpdate() local 1217 if (current_slot != Slot::Source) { in HandleCancelledUpdate() 1218 LOG(INFO) << "Update state is being processed while booting at " << current_slot in HandleCancelledUpdate() 1338 auto current_slot = GetCurrentSlot(); in RemoveAllSnapshots() local 1353 bool should_unmap = current_slot != Slot::Target; in RemoveAllSnapshots() 1354 bool should_delete = ShouldDeleteSnapshot(lock, flashing_status, current_slot, name); in RemoveAllSnapshots() 1390 Slot current_slot, const std::string& name) { in ShouldDeleteSnapshot() argument 1391 if (current_slot != Slot::Target) { in ShouldDeleteSnapshot() 2150 uint32_t current_slot = SlotNumberForSlotSuffix(current_suffix); in CreateUpdateSnapshots() local 2153 auto current_super = device_->GetSuperDevice(current_slot); in CreateUpdateSnapshots() [all …]
|
/system/core/fastboot/fuzzy_fastboot/ |
D | main.cpp | 208 std::string current_slot; in TEST_F() local 209 ASSERT_EQ(fb->GetVar("current-slot", ¤t_slot), SUCCESS) in TEST_F() 211 std::string slot_suffix = "_" + current_slot; in TEST_F() 246 std::string current_slot; in TEST_F() local 247 EXPECT_EQ(fb->GetVar("current-slot", ¤t_slot), SUCCESS) in TEST_F() 249 std::string slot_suffix = "_" + current_slot; in TEST_F()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 569 Slot current_slot, const std::string& name);
|