Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfs_avb/tests/
Davb_util_test.cpp62 bool CompareVBMeta(const base::FilePath& avb_image_path, const VBMetaData& expected_vbmeta);
599 bool AvbUtilTest::CompareVBMeta(const base::FilePath& avb_image_path, in CompareVBMeta() argument
601 if (!base::PathExists(avb_image_path)) return false; in CompareVBMeta()
603 std::string image_file_name = avb_image_path.RemoveExtension().BaseName().value(); in CompareVBMeta()
607 extracted_vbmeta_path = avb_image_path; // no need to extract if it's a vbmeta image. in CompareVBMeta()
609 extracted_vbmeta_path = ExtractVBMetaImage(avb_image_path, image_file_name + "-vbmeta.img"); in CompareVBMeta()