Home
last modified time | relevance | path

Searched refs:avb_handle (Results 1 – 3 of 3) sorted by relevance

/system/core/fs_mgr/
Dfs_mgr_avb.cpp493 FsManagerAvbUniquePtr avb_handle(new FsManagerAvbHandle()); in DoOpen() local
494 if (!avb_handle) { in DoOpen()
502 avb_ops->AvbSlotVerify(fs_mgr_get_slot_suffix(), flags, &avb_handle->avb_slot_data_); in DoOpen()
518 avb_handle->status_ = kAvbHandleSuccess; in DoOpen()
525 avb_handle->status_ = kAvbHandleVerificationError; in DoOpen()
533 avb_handle->avb_version_ = in DoOpen()
542 (AvbVBMetaImageHeader*)avb_handle->avb_slot_data_->vbmeta_images[0].vbmeta_data, in DoOpen()
548 avb_handle->status_ = kAvbHandleVerificationDisabled; in DoOpen()
556 if (!avb_verifier->VerifyVbmetaImages(*avb_handle->avb_slot_data_)) { in DoOpen()
565 avb_handle->status_ = kAvbHandleHashtreeDisabled; in DoOpen()
[all …]
Dfs_mgr.cpp807 FsManagerAvbUniquePtr avb_handle(nullptr); in fs_mgr_mount_all() local
852 if (!avb_handle) { in fs_mgr_mount_all()
853 avb_handle = FsManagerAvbHandle::Open(*fstab); in fs_mgr_mount_all()
854 if (!avb_handle) { in fs_mgr_mount_all()
859 if (avb_handle->SetUpAvbHashtree(&fstab->recs[i], true /* wait_for_verity_dev */) == in fs_mgr_mount_all()
1033 FsManagerAvbUniquePtr avb_handle(nullptr); in fs_mgr_do_mount() local
1063 if (!avb_handle) { in fs_mgr_do_mount()
1064 avb_handle = FsManagerAvbHandle::Open(*fstab); in fs_mgr_do_mount()
1065 if (!avb_handle) { in fs_mgr_do_mount()
1070 if (avb_handle->SetUpAvbHashtree(&fstab->recs[i], true /* wait_for_verity_dev */) == in fs_mgr_do_mount()
/system/core/init/
Dinit_first_stage.cpp507 FsManagerAvbUniquePtr avb_handle = in SetInitAvbVersionInRecovery() local
509 if (!avb_handle) { in SetInitAvbVersionInRecovery()
513 setenv("INIT_AVB_VERSION", avb_handle->avb_version().c_str(), 1); in SetInitAvbVersionInRecovery()