Home
last modified time | relevance | path

Searched refs:AvbHandleStatus (Results 1 – 7 of 7) sorted by relevance

/system/core/fs_mgr/libfs_avb/
Dfs_avb.cpp219 avb_handle->status_ = AvbHandleStatus::kSuccess; in LoadAndVerifyVbmeta()
222 avb_handle->status_ = AvbHandleStatus::kVerificationError; in LoadAndVerifyVbmeta()
246 avb_handle->status_ = AvbHandleStatus::kVerificationDisabled; in LoadAndVerifyVbmeta()
248 avb_handle->status_ = AvbHandleStatus::kHashtreeDisabled; in LoadAndVerifyVbmeta()
317 avb_handle->status_ = AvbHandleStatus::kSuccess; in LoadAndVerifyVbmeta()
320 avb_handle->status_ = AvbHandleStatus::kVerificationError; in LoadAndVerifyVbmeta()
357 avb_handle->status_ = AvbHandleStatus::kVerificationError; in LoadAndVerifyVbmeta()
367 avb_handle->status_ = AvbHandleStatus::kVerificationDisabled; in LoadAndVerifyVbmeta()
418 avb_handle->status_ = AvbHandleStatus::kSuccess; in Open()
426 avb_handle->status_ = AvbHandleStatus::kVerificationError; in Open()
[all …]
Dtypes.cpp48 const char* AvbHandleStatusToString(AvbHandleStatus status) { in AvbHandleStatusToString()
69 std::ostream& operator<<(std::ostream& os, AvbHandleStatus status) { in operator <<()
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_test.cpp30 using android::fs_mgr::AvbHandleStatus;
111 EXPECT_EQ(AvbHandleStatus::kSuccess, avb_handle->status()); in TEST_F()
127 EXPECT_EQ(AvbHandleStatus::kSuccess, avb_handle->status()); in TEST_F()
193 EXPECT_EQ(AvbHandleStatus::kHashtreeDisabled, avb_handle->status()); in TEST_F()
213 EXPECT_EQ(AvbHandleStatus::kVerificationDisabled, avb_handle->status()); in TEST_F()
229 EXPECT_EQ(AvbHandleStatus::kVerificationError, avb_handle->status()); in TEST_F()
285 EXPECT_EQ(AvbHandleStatus::kSuccess, avb_handle->status()); in TEST_F()
308 EXPECT_EQ(AvbHandleStatus::kVerificationError, avb_handle->status()); in TEST_F()
Dfs_avb_device_test.cpp27 using android::fs_mgr::AvbHandleStatus;
122 EXPECT_EQ(AvbHandleStatus::kSuccess, avb_handle->status()); in TEST()
131 EXPECT_EQ(AvbHandleStatus::kSuccess, avb_handle->status()); in TEST()
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dfs_avb.h131 AvbHandleStatus status() const { return status_; } in status()
140 AvbHandle() : status_(AvbHandleStatus::kUninitialized) {} in AvbHandle()
144 AvbHandleStatus status_;
Dtypes.h48 enum class AvbHandleStatus { enum
56 std::ostream& operator<<(std::ostream& os, AvbHandleStatus status);
/system/core/init/
Dfirst_stage_mount.cpp61 using android::fs_mgr::AvbHandleStatus;
805 if (avb_handle_->status() == AvbHandleStatus::kHashtreeDisabled || in SetUpDmVerity()
806 avb_handle_->status() == AvbHandleStatus::kVerificationDisabled) { in SetUpDmVerity()