/system/core/fs_mgr/ |
fs_mgr_slotselect.cpp | 30 std::string ab_suffix; local 33 ab_suffix = "_" + slot; 34 } else if (!fs_mgr_get_boot_config("slot_suffix", &ab_suffix)) { 35 ab_suffix = ""; 37 return ab_suffix; 43 std::string ab_suffix; local 48 if (ab_suffix.empty()) { 49 ab_suffix = fs_mgr_get_slot_suffix(); 51 if (ab_suffix.empty()) return false; 53 if (asprintf(&tmp, "%s%s", fstab->recs[n].blk_device, ab_suffix.c_str()) > 0) [all...] |
fs_mgr_avb.cpp | 589 auto ab_suffix = partition_name.rfind(fs_mgr_get_slot_suffix()); local 590 if (ab_suffix != std::string::npos) { 591 partition_name.erase(ab_suffix);
|
fs_mgr_verity.cpp | 710 std::string result, ab_suffix; local 713 // If slot_select is set, it means blk_device is already updated with ab_suffix. 714 if (slot_select) ab_suffix = fs_mgr_get_slot_suffix(); 723 blk_device.substr(found1) == token.substr(found2) + ab_suffix) {
|
/external/avb/tools/avbctl/ |
avbctl.cc | 66 const std::string& ab_suffix, 71 ops, ab_suffix.c_str(), &verification_enabled)) { 81 if (ab_suffix != "") { 82 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str()); 88 if (!avb_user_verification_set(ops, ab_suffix.c_str(), enable_verification)) { 96 if (ab_suffix != "") { 97 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str()); 107 int do_get_verification(AvbOps* ops, const std::string& ab_suffix) { 111 ops, ab_suffix.c_str(), &verification_enabled)) { 119 if (ab_suffix != "") 197 std::string ab_suffix = android::base::GetProperty("ro.boot.slot_suffix", ""); local 212 std::string ab_suffix = get_ab_suffix(); local [all...] |
/system/core/adb/ |
set_verity_enable_state_service.cpp | 103 std::string ab_suffix = android::base::GetProperty("ro.boot.slot_suffix", ""); local 104 if (ab_suffix == "") { 105 ab_suffix = android::base::GetProperty("ro.boot.slot", ""); 107 if (ab_suffix.size() > 0 && ab_suffix[0] != '_') { 108 ab_suffix = std::string("_") + ab_suffix; 110 return ab_suffix; 115 std::string ab_suffix = get_ab_suffix(); local 118 if (!avb_user_verity_get(ops, ab_suffix.c_str(), &verity_enabled)) [all...] |
/external/avb/libavb/ |
avb_slot_verify.h | 157 * The |ab_suffix| field is the copy of the of |ab_suffix| field 250 char* ab_suffix; member in struct:__anon13254 262 /* Performs a full verification of the slot identified by |ab_suffix| 266 * empty string (e.g. "", not NULL) for |ab_suffix|. This parameter 275 * |ab_suffix| appended), inspecting rollback indexes, and checking if 337 const char* ab_suffix,
|
/system/core/init/ |
init_first_stage.cpp | 381 std::string ab_suffix = fs_mgr_get_slot_suffix(); local 387 required_devices_partition_names_.emplace(partition + ab_suffix);
|