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.cpp673 std::string result, ab_suffix; in update_verity_table_blk_device() local
677 if (slot_select) ab_suffix = fs_mgr_get_slot_suffix(); in update_verity_table_blk_device()
686 blk_device.substr(found1) == token.substr(found2) + ab_suffix) { in update_verity_table_blk_device()
/system/core/fs_mgr/libfs_avb/
Davb_util.h56 … const std::string& ab_suffix, const std::string& ab_other_suffix);
60 const std::string& ab_suffix,
64 std::string DeriveAvbPartitionName(const FstabEntry& fstab_entry, const std::string& ab_suffix,
103 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.cpp196 const std::string& ab_suffix, in LoadAvbHashtreeToEnableVerity() argument
200 std::string partition_name = DeriveAvbPartitionName(*fstab_entry, ab_suffix, ab_other_suffix); in LoadAvbHashtreeToEnableVerity()
226 const std::string& ab_suffix, in AvbPartitionToDevicePatition() argument
237 auto append_suffix = is_other_slot ? ab_other_suffix : ab_suffix; in AvbPartitionToDevicePatition()
248 std::string DeriveAvbPartitionName(const FstabEntry& fstab_entry, const std::string& ab_suffix, in DeriveAvbPartitionName() argument
258 auto found = partition_name.rfind(ab_suffix); in DeriveAvbPartitionName()
565 const std::string& partition_name, const std::string& ab_suffix, in LoadAndVerifyVbmetaByPartition() argument
571 AvbPartitionToDevicePatition(partition_name, ab_suffix, ab_other_suffix)); in LoadAndVerifyVbmetaByPartition()
596 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.cpp183 const std::string& partition_name, const std::string& ab_suffix, in LoadAndVerifyVbmeta() argument
212 partition_name, ab_suffix, ab_other_suffix, expected_key_blob, allow_verification_error, in LoadAndVerifyVbmeta()
/system/core/adb/daemon/
Dset_verity_enable_state_service.cpp151 std::string ab_suffix = get_ab_suffix(); in set_avb_verity_enabled_state() local
159 if (!avb_user_verity_get(ops, ab_suffix.c_str(), &verity_enabled)) { in set_avb_verity_enabled_state()
169 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.h91 const std::string& partition_name, const std::string& ab_suffix,
/system/core/init/
Dfirst_stage_mount.cpp758 std::string ab_suffix = fs_mgr_get_slot_suffix(); in GetDmVerityDevices() local
760 std::string partition_name = partition + ab_suffix; in GetDmVerityDevices()