Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/gki/
Dramdisk_utils.cpp37 std::string_view boot_path) { in ExtractRamdiskRaw() argument
39 TEMP_FAILURE_RETRY(open(std::string(boot_path).c_str(), O_RDONLY))); in ExtractRamdiskRaw()
40 if (!bootimg.ok()) return ErrnoError() << "open(" << boot_path << ")"; in ExtractRamdiskRaw()
50 return Error() << boot_path in ExtractRamdiskRaw()
113 std::string_view boot_path) { in ExtractRamdiskToDirectory() argument
114 const auto raw_ramdisk_file = ExtractRamdiskRaw(boot_path); in ExtractRamdiskToDirectory()
Dgeneric_boot_image_test.cpp191 std::string boot_path; in TEST_F() local
197 boot_path = "/dev/block/by-name/init_boot" + slot_suffix; in TEST_F()
211 boot_path = "/dev/block/by-name/boot" + slot_suffix; in TEST_F()
213 if (0 != access(boot_path.c_str(), R_OK)) { in TEST_F()
215 FAIL() << "Can't access " << boot_path << ": " << strerror(saved_errno); in TEST_F()
219 const auto extracted_ramdisk = android::ExtractRamdiskToDirectory(boot_path); in TEST_F()
Dramdisk_utils.h29 std::string_view boot_path);
/test/vts-testcase/security/avb/
Dvts_built_with_ddk_test.cpp275 const std::string boot_path = "/dev/block/by-name/init_boot" + slot_suffix_; in TEST_F() local
276 if (!std::filesystem::exists(boot_path)) { in TEST_F()
277 GTEST_SKIP() << "Boot path " << boot_path << " does not exist."; in TEST_F()
279 const auto extracted_ramdisk = android::ExtractRamdiskToDirectory(boot_path); in TEST_F()