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.cpp1258 auto vbmeta_image_path = [this](const std::string& partition_name) { in TEST_F() local
1266 true /* load_chained_vbmeta */, true /* rollback_protection */, vbmeta_image_path, in TEST_F()
1283 vbmeta_image_path, false /* is_chained_vbmeta*/, &vbmeta_images)); in TEST_F()
1336 auto vbmeta_image_path = [this](const std::string& partition_name) { in TEST_F() local
1345 true /* load_chained_vbmeta */, true /* rollback_protection */, vbmeta_image_path, in TEST_F()
1362 vbmeta_image_path, false /* is_chained_vbmeta*/, &vbmeta_images)); in TEST_F()
1373 true /* rollback_protection */, vbmeta_image_path, false /* is_chained_vbmeta*/, in TEST_F()
1427 auto vbmeta_image_path = [this](const std::string& partition_name) { in TEST_F() local
1434 true /* load_chained_vbmeta */, true /* rollback_protection */, vbmeta_image_path, in TEST_F()
1444 true /* load_chained_vbmeta */, true /* rollback_protection */, vbmeta_image_path, in TEST_F()
[all …]