HomeSort by relevance Sort by last modified time
    Searched refs:ab_suffix (Results 1 - 16 of 16) sorted by null

  /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_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/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...]
  /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...]
  /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,
avb_slot_verify.c 36 * ab_suffix.
75 const char* ab_suffix,
125 ab_suffix,
126 avb_strlen(ab_suffix))) {
250 const char* ab_suffix,
273 ab_suffix,
274 avb_strlen(ab_suffix))) {
343 const char* ab_suffix,
394 ab_suffix,
395 avb_strlen(ab_suffix))) {
    [all...]
  /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,
  /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 381 std::string ab_suffix = fs_mgr_get_slot_suffix(); local
387 required_devices_partition_names_.emplace(partition + ab_suffix);

Completed in 301 milliseconds