Home
last modified time | relevance | path

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

/system/update_engine/
Ddynamic_partition_control_android.h58 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,
Ddynamic_partition_control_android.cc888 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 …]
Dupdate_attempter.cc922 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()
Dupdate_attempter_android.cc483 BootControlInterface::Slot current_slot = GetCurrentSlot(); in VerifyPayloadApplicable() local
489 partition.partition_name(), current_slot, &partition_path)) { in VerifyPayloadApplicable()
/system/core/fastboot/device/
Dutility.cpp177 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()
Dcommands.cpp295 auto current_slot = "_" + args[1]; in SetActiveHandler() local
296 device->set_active_slot(current_slot); in SetActiveHandler()
/system/update_engine/common/
Ddynamic_partition_control_stub.h52 uint32_t current_slot, std::vector<std::string>* partitions) override;
Ddynamic_partition_control_stub.cc71 uint32_t current_slot, std::vector<std::string>* partitions) { in ListDynamicPartitionsForSlot() argument
Ddynamic_partition_control_interface.h127 uint32_t current_slot, std::vector<std::string>* partitions) = 0;
/system/core/fastboot/
Dfastboot.cpp1098 std::string current_slot; in get_current_slot() local
1099 if (fb->GetVar("current-slot", &current_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/
Dsnapshot.cpp1216 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/
Dmain.cpp208 std::string current_slot; in TEST_F() local
209 ASSERT_EQ(fb->GetVar("current-slot", &current_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", &current_slot), SUCCESS) in TEST_F()
249 std::string slot_suffix = "_" + current_slot; in TEST_F()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h569 Slot current_slot, const std::string& name);