Home
last modified time | relevance | path

Searched refs:ab_suffix (Results 1 – 10 of 10) sorted by relevance

/system/core/fs_mgr/
Dfs_mgr_slotselect.cpp49 std::string ab_suffix; in fs_mgr_get_slot_suffix() local
51 fs_mgr_get_boot_config("slot_suffix", &ab_suffix); in fs_mgr_get_slot_suffix()
52 return ab_suffix; in fs_mgr_get_slot_suffix()
57 std::string ab_suffix; in fs_mgr_update_for_slotselect() local
64 if (ab_suffix.empty()) { in fs_mgr_update_for_slotselect()
65 ab_suffix = fs_mgr_get_slot_suffix(); in fs_mgr_update_for_slotselect()
67 if (ab_suffix.empty()) return false; in fs_mgr_update_for_slotselect()
71 entry.fs_mgr_flags.slot_select ? ab_suffix : other_suffix(ab_suffix); in fs_mgr_update_for_slotselect()
Dfs_mgr_verity.cpp336 std::string result, ab_suffix; in update_verity_table_blk_device() local
340 if (slot_select) ab_suffix = fs_mgr_get_slot_suffix(); in update_verity_table_blk_device()
349 blk_device.substr(found1) == token.substr(found2) + ab_suffix) { in update_verity_table_blk_device()
/system/core/fs_mgr/libfs_avb/
Davb_util.h59 … const std::string& ab_suffix, const std::string& ab_other_suffix);
63 const std::string& ab_suffix,
67 std::string DeriveAvbPartitionName(const FstabEntry& fstab_entry, const std::string& ab_suffix,
106 const std::string& partition_name, const std::string& ab_suffix,
Davb_ops.cpp112 const std::string ab_suffix = fs_mgr_get_slot_suffix(); in DeriveMountPoint() local
114 auto found = partition_name.rfind(ab_suffix); in DeriveMountPoint()
226 AvbSlotVerifyResult FsManagerAvbOps::AvbSlotVerify(const std::string& ab_suffix, in AvbSlotVerify() argument
241 avb_slot_verify(&avb_ops_, requested_partitions, ab_suffix.c_str(), flags, in AvbSlotVerify()
Davb_util.cpp248 const std::string& ab_suffix, in LoadAvbHashtreeToEnableVerity() argument
252 std::string partition_name = DeriveAvbPartitionName(*fstab_entry, ab_suffix, ab_other_suffix); in LoadAvbHashtreeToEnableVerity()
278 const std::string& ab_suffix, in AvbPartitionToDevicePatition() argument
289 auto append_suffix = is_other_slot ? ab_other_suffix : ab_suffix; in AvbPartitionToDevicePatition()
300 std::string DeriveAvbPartitionName(const FstabEntry& fstab_entry, const std::string& ab_suffix, in DeriveAvbPartitionName() argument
310 auto found = partition_name.rfind(ab_suffix); in DeriveAvbPartitionName()
617 const std::string& partition_name, const std::string& ab_suffix, in LoadAndVerifyVbmetaByPartition() argument
623 AvbPartitionToDevicePatition(partition_name, ab_suffix, ab_other_suffix)); in LoadAndVerifyVbmetaByPartition()
648 chain.partition_name, ab_suffix, ab_other_suffix, chain.public_key_blob, in LoadAndVerifyVbmetaByPartition()
Davb_ops.h60 AvbSlotVerifyResult AvbSlotVerify(const std::string& ab_suffix, AvbSlotVerifyFlags flags,
Dfs_avb.cpp185 const std::string& partition_name, const std::string& ab_suffix, in LoadAndVerifyVbmeta() argument
214 partition_name, ab_suffix, ab_other_suffix, expected_key_blob, allow_verification_error, in LoadAndVerifyVbmeta()
/system/core/set-verity-state/
Dset-verity-state.cpp148 std::string ab_suffix = get_ab_suffix(); in set_avb_verity_enabled_state() local
156 if (!avb_user_verity_get(ops, ab_suffix.c_str(), &verity_enabled)) { in set_avb_verity_enabled_state()
166 if (!avb_user_verity_set(ops, ab_suffix.c_str(), enable_verity)) { in set_avb_verity_enabled_state()
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dfs_avb.h98 const std::string& partition_name, const std::string& ab_suffix,
/system/core/init/
Dfirst_stage_mount.cpp781 std::string ab_suffix = fs_mgr_get_slot_suffix(); in GetDmVerityDevices() local
783 std::string partition_name = partition + ab_suffix; in GetDmVerityDevices()