/system/core/fs_mgr/ |
fs_mgr_slotselect.cpp | 27 std::string ab_suffix; local 29 fs_mgr_get_boot_config("slot_suffix", &ab_suffix); 30 return ab_suffix; 36 std::string ab_suffix; local 41 if (ab_suffix.empty()) { 42 ab_suffix = fs_mgr_get_slot_suffix(); 43 // Return false if failed to get ab_suffix when MF_SLOTSELECT is specified. 44 if (ab_suffix.empty()) return false; 46 if (asprintf(&tmp, "%s%s", fstab->recs[n].blk_device, ab_suffix.c_str()) > 0) {
|
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) {
|
/system/core/adb/ |
set_verity_enable_state_service.cpp | 107 std::string ab_suffix = get_ab_suffix(); local 115 if (!avb_user_verity_get(ops, ab_suffix.c_str(), &verity_enabled)) { 125 if (!avb_user_verity_set(ops, ab_suffix.c_str(), enable_verity)) {
|
/external/avb/tools/avbctl/ |
avbctl.cc | 91 const std::string& ab_suffix, 96 ops, ab_suffix.c_str(), &verification_enabled)) { 106 if (ab_suffix != "") { 107 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str()); 117 if (!avb_user_verification_set(ops, ab_suffix.c_str(), enable_verification)) { 125 if (ab_suffix != "") { 126 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str()); 136 int do_get_verification(AvbOps* ops, const std::string& ab_suffix) { 140 ops, ab_suffix.c_str(), &verification_enabled)) { 148 if (ab_suffix != "") 243 std::string ab_suffix = get_ab_suffix(); local [all...] |
/external/avb/libavb/ |
avb_slot_verify.h | 161 * The |ab_suffix| field is the copy of the of |ab_suffix| field 254 char* ab_suffix; member in struct:__anon14253 266 /* Performs a full verification of the slot identified by |ab_suffix| 270 * empty string (e.g. "", not NULL) for |ab_suffix|. This parameter 279 * |ab_suffix| appended), inspecting rollback indexes, and checking if 341 const char* ab_suffix,
|
/system/core/init/ |
init_first_stage.cpp | 397 std::string ab_suffix = fs_mgr_get_slot_suffix(); local 403 required_devices_partition_names_.emplace(partition + ab_suffix);
|