Home
last modified time | relevance | path

Searched refs:header_version (Results 1 – 8 of 8) sorted by relevance

/system/tools/mkbootimg/
Dmkbootimg.py80 args.output.write(pack('I', args.header_version)) # version of bootimage header
91 args.header_version, # version of header
111 if args.header_version > 3:
112 raise ValueError('Boot header version %d not supported' % args.header_version)
113 elif args.header_version == 3:
129 args.header_version, # version of bootimage header
139 if args.header_version > 0:
141 if args.header_version > 1:
149 if args.header_version > 0:
157 if args.header_version == 1:
[all …]
/system/update_engine/payload_generator/
Dboot_img_filesystem.cc58 uint32_t header_version = in CreateFromFile() local
60 if (header_version > 3) { in CreateFromFile()
61 LOG(WARNING) << "Boot image header version " << header_version in CreateFromFile()
68 header_version == 3 ? sizeof(boot_img_hdr_v3) : sizeof(boot_img_hdr_v0); in CreateFromFile()
76 if (header_version < 3) { in CreateFromFile()
79 CHECK_LT(hdr_v0->header_version, 3u); in CreateFromFile()
86 CHECK_EQ(3u, hdr_v3->header_version); in CreateFromFile()
Dboot_img_filesystem_unittest.cc47 hdr_v3.header_version = 3; in GetBootImg()
56 hdr_v0.header_version = 0; in GetBootImg()
/system/core/fastboot/
Dbootimg_utils.cpp43 if (h->header_version == 3) { in bootimg_set_cmdline()
68 hdr->header_version = 3; in mkbootimg_v3()
79 if (src.header_version == 3) { in mkbootimg()
111 if (hdr->header_version == 1) { in mkbootimg()
113 } else if (hdr->header_version == 2) { in mkbootimg()
Dfastboot.cpp507 if (g_boot_img_hdr.header_version != 2) { in LoadBootableImage()
509 g_boot_img_hdr.header_version); in LoadBootableImage()
1835 g_boot_img_hdr.header_version = strtoul(optarg, nullptr, 0); in Main()
/system/tools/mkbootimg/include/bootimg/
Dbootimg.h77 uint32_t header_version; member
272 uint32_t header_version; member
282 uint32_t header_version; member
/system/nvram/core/tests/
Dnvram_manager_test.cpp39 static void SetupHeader(uint32_t header_version, uint32_t index) { in SetupHeader() argument
41 header.version = header_version; in SetupHeader()
/system/vold/
DCheckpoint.cpp416 uint16_t header_version; member