/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_priv_avb_ops.h | 59 AvbSlotVerifyResult AvbSlotVerify(const std::string& ab_suffix, AvbSlotVerifyFlags flags,
|
fs_mgr_avb_ops.cpp | 187 AvbSlotVerifyResult FsManagerAvbOps::AvbSlotVerify(const std::string& ab_suffix, 197 return avb_slot_verify(&avb_ops_, requested_partitions, ab_suffix.c_str(), flags,
|
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/libavb_user/ |
avb_user_verification.h | 36 * |ab_suffix| parameter should specify the slot to modify including 44 const char* ab_suffix, 48 * in |ops| should be obtained via avb_ops_user_new(). The |ab_suffix| 56 const char* ab_suffix,
|
avb_user_verity.h | 36 * |ab_suffix| parameter should specify the slot to modify including 44 const char* ab_suffix, 48 * |ops| should be obtained via avb_ops_user_new(). The |ab_suffix| 56 const char* ab_suffix,
|
avb_user_verification.c | 28 * ab_suffix. 33 * |ab_suffix| into |vbmeta_image|. No validation, verification, or 42 const char* ab_suffix, 56 ab_suffix, 57 avb_strlen(ab_suffix))) { 77 ab_suffix, 78 avb_strlen(ab_suffix))) { 130 const char* ab_suffix, 139 ops, ab_suffix, vbmeta_image, partition_name, NULL)) { 167 const char* ab_suffix, [all...] |
avb_user_verity.c | 28 * ab_suffix. 33 * |ab_suffix| into |vbmeta_image|. No validation, verification, or 42 const char* ab_suffix, 56 ab_suffix, 57 avb_strlen(ab_suffix))) { 77 ab_suffix, 78 avb_strlen(ab_suffix))) { 130 const char* ab_suffix, 139 ops, ab_suffix, vbmeta_image, partition_name, NULL)) { 166 const char* ab_suffix, [all...] |
/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/examples/things/ |
avb_atx_slot_verify.h | 49 /* Performs a full verification of the slot identified by |ab_suffix|. If 54 * If |slot_state| indicates the slot identified by |ab_suffix| has been marked 73 const char* ab_suffix,
|
avb_atx_slot_verify.c | 127 const char* ab_suffix, 146 ab_suffix,
|
/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,
|
avb_cmdline.h | 40 * ab_suffix. 59 const char* ab_suffix,
|
avb_slot_verify.c | 180 const char* ab_suffix, 230 /* No ab_suffix, just copy the partition name as is. */ 238 } else if (hash_desc.digest_len == 0 && avb_strlen(ab_suffix) != 0) { 239 /* No ab_suffix allowed for partitions without a digest in the descriptor 247 /* Add ab_suffix to the partition name. */ 252 ab_suffix, 253 avb_strlen(ab_suffix))) { 380 const char* ab_suffix, 403 ab_suffix, 404 avb_strlen(ab_suffix))) { [all...] |
avb_cmdline.c | 38 const char* ab_suffix, 65 ab_suffix, 66 avb_strlen(ab_suffix))) {
|
/external/avb/examples/uefi/ |
main.c | 81 avb_printv("slot_suffix: ", slot_data->ab_suffix, "\n", NULL); 96 slot_data->ab_suffix + 1, 99 slot_data->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/test/ |
avb_ab_flow_unittest.cc | 346 EXPECT_EQ("_b", std::string(data->ab_suffix)); 377 EXPECT_EQ("_a", std::string(data->ab_suffix)); 446 EXPECT_EQ("_a", std::string(data->ab_suffix)); 464 EXPECT_EQ("_a", std::string(data->ab_suffix)); 482 EXPECT_EQ("_a", std::string(data->ab_suffix)); 534 EXPECT_EQ("_a", std::string(data->ab_suffix)); 552 EXPECT_EQ("_a", std::string(data->ab_suffix)); 570 EXPECT_EQ("_b", std::string(data->ab_suffix)); 605 EXPECT_EQ("_a", std::string(data->ab_suffix)); 641 EXPECT_EQ("_b", std::string(data->ab_suffix)); [all...] |
/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);
|