Home
last modified time | relevance | path

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

/system/tools/mkbootimg/include/bootimg/
Dbootimg.h286 struct vendor_boot_img_hdr_v3 { struct
404 struct vendor_boot_img_hdr_v4 : public vendor_boot_img_hdr_v3 {
/system/core/fastboot/
Dvendor_boot_img_utils.cpp130 [[nodiscard]] Result<uint32_t> get_vendor_boot_header_size(const vendor_boot_img_hdr_v3* hdr) { in get_vendor_boot_header_size()
131 if (hdr->header_version == 3) return sizeof(vendor_boot_img_hdr_v3); in get_vendor_boot_header_size()
140 if (content.size() < sizeof(vendor_boot_img_hdr_v3)) { in check_vendor_boot_hdr()
142 content.size(), sizeof(vendor_boot_img_hdr_v3)); in check_vendor_boot_hdr()
145 auto hdr = reinterpret_cast<const vendor_boot_img_hdr_v3*>(content.data()); in check_vendor_boot_hdr()
214 auto hdr = reinterpret_cast<const vendor_boot_img_hdr_v3*>(vendor_boot.data()); in replace_default_vendor_ramdisk()
226 auto new_hdr = reinterpret_cast<vendor_boot_img_hdr_v3*>(updater.new_begin()); in replace_default_vendor_ramdisk()
Dvendor_boot_img_utils_test.cpp290 auto hdr = reinterpret_cast<const vendor_boot_img_hdr_v3*>(new_content.data()); in TEST_P()
296 auto o = round_up(sizeof(vendor_boot_img_hdr_v3), hdr->page_size); in TEST_P()
385 auto o = round_up(sizeof(vendor_boot_img_hdr_v3), hdr->page_size); in TEST_P()