/system/core/fs_mgr/ |
D | fs_mgr_slotselect.cpp | 30 static std::string other_suffix(const std::string& slot_suffix) { in other_suffix() argument 31 if (slot_suffix == "_a") { in other_suffix() 34 if (slot_suffix == "_b") { in other_suffix()
|
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/ |
D | test_helpers.h | 76 TestDeviceInfo(const std::string& fake_super, const std::string& slot_suffix) in TestDeviceInfo() argument 78 set_slot_suffix(slot_suffix); in TestDeviceInfo() 124 SnapshotTestPropertyFetcher(const std::string& slot_suffix) { in SnapshotTestPropertyFetcher() argument 126 ON_CALL(*this, GetProperty("ro.boot.slot_suffix", _)).WillByDefault(Return(slot_suffix)); in SnapshotTestPropertyFetcher() 134 static void SetUp(const std::string& slot_suffix = "_a") { Reset(slot_suffix); } 139 static void Reset(const std::string& slot_suffix) { in Reset() argument 141 std::make_unique<NiceMock<SnapshotTestPropertyFetcher>>(slot_suffix)); in Reset()
|
/system/core/fastboot/device/ |
D | utility.cpp | 54 std::string slot_suffix = GetSuperSlotSuffix(device, partition_name); in OpenLogicalPartition() local 55 uint32_t slot_number = SlotNumberForSlotSuffix(slot_suffix); in OpenLogicalPartition() 127 std::string slot_suffix = GetSuperSlotSuffix(device, name); in LogicalPartitionExists() local 128 uint32_t slot_number = SlotNumberForSlotSuffix(slot_suffix); in LogicalPartitionExists() 236 std::string slot_suffix = GetPartitionSlotSuffix(partition_name); in GetSuperSlotSuffix() local 237 if (!slot_suffix.empty()) { in GetSuperSlotSuffix() 238 return slot_suffix; in GetSuperSlotSuffix()
|
D | flashing.cpp | 193 std::string slot_suffix = device->GetCurrentSlot(); in UpdateSuper() local 194 uint32_t slot_number = SlotNumberForSlotSuffix(slot_suffix); in UpdateSuper() 209 if (!slot_suffix.empty() && GetPartitionSlotSuffix(partition_name) == slot_suffix) { in UpdateSuper()
|
D | variables.cpp | 289 std::string slot_suffix = device->GetCurrentSlot(); in GetHasSlot() local 290 if (slot_suffix.empty()) { in GetHasSlot() 294 std::string partition_name = args[0] + slot_suffix; in GetHasSlot() 414 std::string slot_suffix = device->GetCurrentSlot(); in GetAllPartitionArgsNoSlot() local 415 if (!slot_suffix.empty()) { in GetAllPartitionArgsNoSlot()
|
D | commands.cpp | 441 std::string slot_suffix = GetSuperSlotSuffix(device, partition_name); in PartitionBuilder() local 442 slot_number_ = android::fs_mgr::SlotNumberForSlotSuffix(slot_suffix); in PartitionBuilder()
|
/system/core/fs_mgr/liblp/ |
D | utility.cpp | 234 std::string slot_suffix = GetPartitionSlotSuffix(group_name); in UpdateMetadataForInPlaceSnapshot() local 236 if (slot_suffix == target_slot_suffix) continue; in UpdateMetadataForInPlaceSnapshot() 238 if (slot_suffix == source_slot_suffix) { in UpdateMetadataForInPlaceSnapshot() 239 std::string new_name = group_name.substr(0, group_name.size() - slot_suffix.size()) + in UpdateMetadataForInPlaceSnapshot() 252 std::string slot_suffix = GetPartitionSlotSuffix(partition_name); in UpdateMetadataForInPlaceSnapshot() local 254 if (slot_suffix == target_slot_suffix) continue; in UpdateMetadataForInPlaceSnapshot() 256 if (slot_suffix == source_slot_suffix) { in UpdateMetadataForInPlaceSnapshot() 258 partition_name.substr(0, partition_name.size() - slot_suffix.size()) + in UpdateMetadataForInPlaceSnapshot()
|
D | writer.cpp | 87 const LpMetadata& metadata, const std::string& slot_suffix, in ValidateAndSerializeMetadata() argument 119 if (slot_suffix.empty()) { in ValidateAndSerializeMetadata() 124 partition_name += slot_suffix; in ValidateAndSerializeMetadata() 259 std::string slot_suffix = GetPartitionSlotSuffix(super_partition); in FlashPartitionTable() local 265 if (!ValidateAndSerializeMetadata(opener, metadata, slot_suffix, &metadata_blob)) { in FlashPartitionTable() 332 std::string slot_suffix = SlotSuffixForSlotNumber(slot_number); in UpdatePartitionTable() local 338 if (!ValidateAndSerializeMetadata(opener, metadata, slot_suffix, &blob)) { in UpdatePartitionTable() 370 if (!ValidateAndSerializeMetadata(opener, *primary.get(), slot_suffix, &old_blob)) { in UpdatePartitionTable() 382 if (!ValidateAndSerializeMetadata(opener, *backup.get(), slot_suffix, &old_blob)) { in UpdatePartitionTable()
|
D | device_test.cpp | 57 auto slot_suffix = fs_mgr_get_slot_suffix(); in TEST_F() local 58 auto slot_number = SlotNumberForSlotSuffix(slot_suffix); in TEST_F()
|
D | reader.cpp | 399 std::string slot_suffix = SlotSuffixForSlotNumber(slot_number); in AdjustMetadataForSlot() local 404 std::string partition_name = GetPartitionName(partition) + slot_suffix; in AdjustMetadataForSlot() 416 std::string partition_name = GetBlockDevicePartitionName(block_device) + slot_suffix; in AdjustMetadataForSlot() 427 std::string group_name = GetPartitionGroupName(group) + slot_suffix; in AdjustMetadataForSlot()
|
D | builder.cpp | 277 std::string slot_suffix = GetPartitionSlotSuffix(partition_name); in UpdateMetadataForOtherSuper() local 278 if (slot_suffix.empty() || slot_suffix != source_slot_suffix) { in UpdateMetadataForOtherSuper() 286 partition_name.substr(0, partition_name.size() - slot_suffix.size()) + in UpdateMetadataForOtherSuper()
|
/system/extras/partition_tools/ |
D | lpdump.cc | 142 std::string slot_suffix = GetSlotSuffix(); in MergeMetadata() local 147 if (!base::EndsWith(group_name, slot_suffix)) continue; in MergeMetadata() 149 group_proto->set_name(RemoveSuffix(group_name, slot_suffix)); in MergeMetadata() 154 if (!base::EndsWith(partition_name, slot_suffix)) continue; in MergeMetadata() 156 partition_proto->set_name(RemoveSuffix(partition_name, slot_suffix)); in MergeMetadata() 157 partition_proto->set_group_name(RemoveSuffix(group_name, slot_suffix)); in MergeMetadata() 170 block_device_proto->set_name(RemoveSuffix(name, slot_suffix)); in MergeMetadata()
|
D | lpdumpd.rc | 29 …file /dev/block/by-name/${ro.boot.super_partition:-NO_SUCH_DEVICE}${ro.boot.slot_suffix:-_NO_SUCH_…
|
/system/update_engine/ |
D | update_engine.rc | 8 on property:ro.boot.slot_suffix=*
|
/system/libufdt/tests/ |
D | verifyDTBO.sh | 18 boot_suffix=$(adb wait-for-device shell getprop ro.boot.slot_suffix)
|
/system/core/fastboot/fuzzy_fastboot/ |
D | main.cpp | 213 std::string slot_suffix = "_" + current_slot; in TEST_F() local 214 is_logical_cmd_system += slot_suffix; in TEST_F() 215 is_logical_cmd_vendor += slot_suffix; in TEST_F() 216 is_logical_cmd_boot += slot_suffix; in TEST_F() 251 std::string slot_suffix = "_" + current_slot; in TEST_F() local 252 test_partition_name += slot_suffix; in TEST_F()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 565 auto slot_suffix = device_->GetSlotSuffix(); in MapSourceDevice() local 566 auto slot = SlotNumberForSlotSuffix(slot_suffix); in MapSourceDevice() 2323 auto slot_suffix = device_->GetOtherSlotSuffix(); in MapAllSnapshots() local 2324 auto slot_number = SlotNumberForSlotSuffix(slot_suffix); in MapAllSnapshots() 3562 auto slot_suffix = device_->GetOtherSlotSuffix(); in RecoveryCreateSnapshotDevices() local 3563 auto slot_number = SlotNumberForSlotSuffix(slot_suffix); in RecoveryCreateSnapshotDevices()
|
D | snapshot_test.cpp | 400 const std::string& slot_suffix = "_a") { in NewManagerForFirstStageMount() argument 401 auto info = new TestDeviceInfo(fake_super, slot_suffix); in NewManagerForFirstStageMount() 2134 AssertionResult InitiateMerge(const std::string& slot_suffix) { in InitiateMerge() argument 2135 auto sm = SnapshotManager::New(new TestDeviceInfo(fake_super, slot_suffix)); in InitiateMerge()
|
/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 563 get_property ro.boot.slot_suffix | tr -d _
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | property_contexts | 231 ro.boot.slot_suffix u:object_r:exported_default_prop:s0 exact string
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | property_contexts | 291 ro.boot.slot_suffix u:object_r:exported_default_prop:s0 exact string
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | property_contexts | 322 ro.boot.slot_suffix u:object_r:exported_default_prop:s0 exact string
|
/system/sepolicy/private/ |
D | property_contexts | 937 ro.boot.slot_suffix u:object_r:exported_default_prop:s0 exact string
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | property_contexts | 937 ro.boot.slot_suffix u:object_r:exported_default_prop:s0 exact string
|