Searched refs:boot_path (Results 1 – 4 of 4) sorted by relevance
36 std::string_view boot_path) { in ExtractRamdiskRaw() argument38 TEMP_FAILURE_RETRY(open(boot_path.data(), O_RDONLY))); in ExtractRamdiskRaw()39 if (!bootimg.ok()) return ErrnoError() << "open(" << boot_path << ")"; in ExtractRamdiskRaw()70 std::string_view boot_path) { in ExtractRamdiskToDirectory() argument71 auto raw_ramdisk_file = ExtractRamdiskRaw(boot_path); in ExtractRamdiskToDirectory()
78 std::string boot_path = "/dev/block/by-name/boot" + slot_suffix; in TEST_F() local79 if (0 != access(boot_path.c_str(), F_OK)) { in TEST_F()81 FAIL() << "Can't access " << boot_path << ": " << strerror(saved_errno); in TEST_F()84 auto extracted_ramdisk = android::ExtractRamdiskToDirectory(boot_path); in TEST_F()
29 std::string_view boot_path);
605 std::string boot_path = "/dev/block/by-name/boot" + fs_mgr_get_slot_suffix(); in TEST() local608 boot_path, "boot", "" /* expected_key_blob */, in TEST()628 android::base::unique_fd fd(open(boot_path.c_str(), O_RDONLY)); in TEST()674 std::string boot_path = "/dev/block/by-name/boot" + fs_mgr_get_slot_suffix(); in LoadGkiComplianceV2Images() local677 android::base::unique_fd fd(open(boot_path.c_str(), O_RDONLY)); in LoadGkiComplianceV2Images()