Searched refs:boot_path (Results 1 – 4 of 4) sorted by relevance
37 std::string_view boot_path) { in ExtractRamdiskRaw() argument39 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() argument114 const auto raw_ramdisk_file = ExtractRamdiskRaw(boot_path); in ExtractRamdiskToDirectory()
191 std::string boot_path; in TEST_F() local197 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()
29 std::string_view boot_path);
275 const std::string boot_path = "/dev/block/by-name/init_boot" + slot_suffix_; in TEST_F() local276 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()