Home
last modified time | relevance | path

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

/aosp_15_r20/system/core/fastboot/
H A Dsuper_flash_helper_test.cpp28 unique_fd OpenTestFile(const std::string& file, int flags) { in OpenTestFile() function
47 return OpenTestFile(name, O_RDONLY | O_CLOEXEC); in OpenFile()
52 auto super_empty_fd = OpenTestFile("super_empty.img", O_RDONLY); in TEST()
67 auto real_super_fd = OpenTestFile("super.img", O_RDONLY); in TEST()
H A Dvendor_boot_img_utils_test.cpp212 OpenTestFile("test_dtb.img", &dtb, &dtb_content); in SetUp()
213 OpenTestFile("test_bootconfig.img", &bootconfig, &bootconfig_content); in SetUp()
214 OpenTestFile("test_vendor_ramdisk_none.img", &none, &none_content); in SetUp()
215 OpenTestFile("test_vendor_ramdisk_platform.img", &platform, &platform_content); in SetUp()
216 OpenTestFile("test_vendor_ramdisk_replace.img", &replace, &replace_content); in SetUp()
231 void OpenTestFile(const char* rel_path, std::unique_ptr<TestFileHandle>* handle, in OpenTestFile() function in __anonec0eb9cf0111::RepackVendorBootImgTestEnv
/aosp_15_r20/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
H A Dtest_v2.cpp1496 unique_fd OpenTestFile(const std::string& file, int flags) { in OpenTestFile() function
1510 auto fd = OpenTestFile(filename, O_RDONLY); in TEST_F()
1528 auto fd = OpenTestFile("incompressible_block", O_RDONLY); in TEST_F()