Home
last modified time | relevance | path

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

/system/core/fastboot/
Dvendor_boot_img_utils_test.cpp305 auto hdr_v4 = static_cast<const vendor_boot_img_hdr_v4*>(hdr); in TEST_P() local
306 EXPECT_EQ(hdr_v4->vendor_ramdisk_table_entry_num, 1); in TEST_P()
307 EXPECT_EQ(hdr_v4->vendor_ramdisk_table_size, 1 * hdr_v4->vendor_ramdisk_table_entry_size); in TEST_P()
308 EXPECT_GE(hdr_v4->vendor_ramdisk_table_entry_size, sizeof(vendor_ramdisk_table_entry_v4)); in TEST_P()
311 EXPECT_EQ(entry->ramdisk_size, hdr_v4->vendor_ramdisk_size); in TEST_P()
314 EXPECT_EQ(hdr_v4->bootconfig_size, env->bootconfig->size()); in TEST_P()
315 auto r = round_up(hdr_v4->vendor_ramdisk_table_size, hdr_v4->page_size); in TEST_P()
316 auto s = round_up(hdr_v4->bootconfig_size, hdr_v4->page_size); in TEST_P()
Dbootimg_utils.cpp71 auto hdr_v4 = reinterpret_cast<boot_img_hdr_v4*>(hdr); in mkbootimg_v3_and_above() local
72 hdr_v4->signature_size = 0; in mkbootimg_v3_and_above()
Dvendor_boot_img_utils.cpp247 auto hdr_v4 = static_cast<const vendor_boot_img_hdr_v4*>(hdr); in replace_default_vendor_ramdisk() local
248 const uint32_t r = round_up(hdr_v4->vendor_ramdisk_table_size, hdr_v4->page_size); in replace_default_vendor_ramdisk()
249 const uint32_t s = round_up(hdr_v4->bootconfig_size, hdr_v4->page_size); in replace_default_vendor_ramdisk()