Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_test.cpp43 void ModifyVBMetaHeaderFlags(const base::FilePath& vbmeta_image_path, uint32_t flags);
46 void PublicFsAvbTest::ModifyVBMetaHeaderFlags(const base::FilePath& vbmeta_image_path, in ModifyVBMetaHeaderFlags() argument
48 if (!base::PathExists(vbmeta_image_path)) return; in ModifyVBMetaHeaderFlags()
51 std::string image_file_name = vbmeta_image_path.RemoveExtension().BaseName().value(); in ModifyVBMetaHeaderFlags()
54 android::base::unique_fd fd(open(vbmeta_image_path.value().c_str(), O_RDWR | O_CLOEXEC)); in ModifyVBMetaHeaderFlags()
102 auto vbmeta_image_path = [this](const std::string& partition_name) { in TEST_F() local
109 true /* rollback_protection */, vbmeta_image_path); in TEST_F()
125 true /* rollback_protection */, vbmeta_image_path); in TEST_F()
175 auto vbmeta_image_path = [this](const std::string& partition_name) { in TEST_F() local
182 true /* rollback_protection */, vbmeta_image_path); in TEST_F()
[all …]
Davb_util_test.cpp1236 auto vbmeta_image_path = [this](const std::string& partition_name) { in TEST_F() local
1244 true /* load_chained_vbmeta */, true /* rollback_protection */, vbmeta_image_path, in TEST_F()
1261 vbmeta_image_path, false /* is_chained_vbmeta*/, &vbmeta_images)); in TEST_F()
1314 auto vbmeta_image_path = [this](const std::string& partition_name) { in TEST_F() local
1323 true /* load_chained_vbmeta */, true /* rollback_protection */, vbmeta_image_path, in TEST_F()
1340 vbmeta_image_path, false /* is_chained_vbmeta*/, &vbmeta_images)); in TEST_F()
1351 true /* rollback_protection */, vbmeta_image_path, false /* is_chained_vbmeta*/, in TEST_F()
1405 auto vbmeta_image_path = [this](const std::string& partition_name) { in TEST_F() local
1412 true /* load_chained_vbmeta */, true /* rollback_protection */, vbmeta_image_path, in TEST_F()
1422 true /* load_chained_vbmeta */, true /* rollback_protection */, vbmeta_image_path, in TEST_F()
[all …]