Home
last modified time | relevance | path

Searched refs:AvbHandle (Results 1 – 8 of 8) sorted by relevance

/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dfs_avb.h44 class AvbHandle; variable
45 using AvbUniquePtr = std::unique_ptr<AvbHandle>;
50 class AvbHandle {
133 AvbHandle(const AvbHandle&) = delete; // no copy
134 AvbHandle& operator=(const AvbHandle&) = delete; // no assignment
136 AvbHandle(AvbHandle&&) noexcept = delete; // no move
137 AvbHandle& operator=(AvbHandle&&) noexcept = delete; // no move assignment
140 AvbHandle() : status_(AvbHandleStatus::kUninitialized) {} in AvbHandle() function
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_test.cpp29 using android::fs_mgr::AvbHandle;
105 auto avb_handle = AvbHandle::LoadAndVerifyVbmeta( in TEST_F()
121 avb_handle = AvbHandle::LoadAndVerifyVbmeta( in TEST_F()
178 auto avb_handle = AvbHandle::LoadAndVerifyVbmeta( in TEST_F()
187 avb_handle = AvbHandle::LoadAndVerifyVbmeta( in TEST_F()
207 avb_handle = AvbHandle::LoadAndVerifyVbmeta( in TEST_F()
223 avb_handle = AvbHandle::LoadAndVerifyVbmeta( in TEST_F()
280 auto avb_handle = AvbHandle::LoadAndVerifyVbmeta( in TEST_F()
288 avb_handle = AvbHandle::LoadAndVerifyVbmeta( in TEST_F()
295 avb_handle = AvbHandle::LoadAndVerifyVbmeta( in TEST_F()
[all …]
Dfs_avb_device_test.cpp26 using android::fs_mgr::AvbHandle;
120 auto avb_handle = AvbHandle::LoadAndVerifyVbmeta(*system_other_entry); in TEST()
129 auto avb_handle = AvbHandle::LoadAndVerifyVbmeta(); in TEST()
/system/core/fs_mgr/libfs_avb/
Dfs_avb.cpp184 AvbUniquePtr AvbHandle::LoadAndVerifyVbmeta( in LoadAndVerifyVbmeta()
190 AvbUniquePtr avb_handle(new AvbHandle()); in LoadAndVerifyVbmeta()
282 AvbUniquePtr AvbHandle::LoadAndVerifyVbmeta(const FstabEntry& fstab_entry, in LoadAndVerifyVbmeta()
308 AvbUniquePtr avb_handle(new AvbHandle()); in LoadAndVerifyVbmeta()
375 AvbUniquePtr AvbHandle::LoadAndVerifyVbmeta() { in LoadAndVerifyVbmeta()
387 AvbUniquePtr AvbHandle::Open() { in Open()
390 AvbUniquePtr avb_handle(new AvbHandle()); in Open()
472 AvbHashtreeResult AvbHandle::SetUpStandaloneAvbHashtree(FstabEntry* fstab_entry, in SetUpStandaloneAvbHashtree()
482 AvbHashtreeResult AvbHandle::SetUpAvbHashtree(FstabEntry* fstab_entry, bool wait_for_verity_dev) { in SetUpAvbHashtree()
501 bool AvbHandle::TearDownAvbHashtree(FstabEntry* fstab_entry, bool wait) { in TearDownAvbHashtree()
[all …]
/system/core/init/
Dfirst_stage_mount.cpp57 using android::fs_mgr::AvbHandle;
206 static bool IsStandaloneImageRollback(const AvbHandle& builtin_vbmeta, in IsStandaloneImageRollback()
207 const AvbHandle& standalone_vbmeta, in IsStandaloneImageRollback()
220 if (AvbHandle::IsDeviceUnlocked()) { in IsStandaloneImageRollback()
744 auto avb_standalone_handle = AvbHandle::LoadAndVerifyVbmeta( in SetUpDmVerity()
786 avb_handle_ = AvbHandle::Open(); in InitAvbHandle()
839 AvbUniquePtr avb_handle = AvbHandle::Open(); in SetInitAvbVersionInRecovery()
Dselinux.cpp84 using android::fs_mgr::AvbHandle;
315 AvbHandle::IsDeviceUnlocked() && access(kDebugRamdiskSEPolicy, F_OK) == 0); in LoadSplitPolicy()
Dinit.cpp95 using android::fs_mgr::AvbHandle;
766 if (force_debuggable_env && AvbHandle::IsDeviceUnlocked()) { in SecondStageMain()
/system/core/fs_mgr/
Dfs_mgr.cpp1392 avb_handle = AvbHandle::Open(); in fs_mgr_mount_all()
1406 if (AvbHandle::SetUpStandaloneAvbHashtree(&current_entry) == AvbHashtreeResult::kFail) { in fs_mgr_mount_all()
1582 if (!AvbHandle::TearDownAvbHashtree(&current_entry, true /* wait */)) { in fs_mgr_umount_all()
1858 avb_handle = AvbHandle::Open(); in fs_mgr_do_mount_helper()
1872 if (AvbHandle::SetUpStandaloneAvbHashtree(&fstab_entry) == AvbHashtreeResult::kFail) { in fs_mgr_do_mount_helper()