Searched refs:BOOT_MAGIC (Results 1 – 6 of 6) sorted by relevance
/system/update_engine/payload_generator/ |
D | boot_img_filesystem.cc | 41 memcmp(header_magic.data(), BOOT_MAGIC, BOOT_MAGIC_SIZE) != 0) { in CreateFromFile() 78 CHECK_EQ(0, memcmp(hdr_v0->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE)); in CreateFromFile() 85 CHECK_EQ(0, memcmp(hdr_v3->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE)); in CreateFromFile()
|
D | boot_img_filesystem_unittest.cc | 44 memcpy(hdr_v3.magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in GetBootImg() 52 memcpy(hdr_v0.magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in GetBootImg()
|
/system/tools/mkbootimg/ |
D | mkbootimg.py | 68 BOOT_MAGIC = 'ANDROID!'.encode() 70 args.output.write(pack('8s', BOOT_MAGIC)) 86 BOOT_MAGIC = 'VNDRBOOT'.encode() 88 args.vendor_boot.write(pack('8s', BOOT_MAGIC)) 109 BOOT_MAGIC = 'ANDROID!'.encode() 116 args.output.write(pack('8s', BOOT_MAGIC))
|
/system/core/fastboot/ |
D | bootimg_utils.cpp | 63 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in mkbootimg_v3() 100 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in mkbootimg()
|
D | fastboot.cpp | 481 if (!memcmp(kernel_data.data(), BOOT_MAGIC, BOOT_MAGIC_SIZE)) { in LoadBootableImage()
|
/system/tools/mkbootimg/include/bootimg/ |
D | bootimg.h | 21 #define BOOT_MAGIC "ANDROID!" macro
|