Searched refs:vbmeta_offset (Results 1 – 8 of 8) sorted by relevance
/system/extras/libfec/ |
D | avb_utils.cpp | 42 uint64_t vbmeta_offset = footer.vbmeta_offset; in parse_vbmeta_from_footer() local 44 check(vbmeta_offset <= f->size - sizeof(footer) - vbmeta_size); in parse_vbmeta_from_footer() 49 vbmeta_offset)) { in parse_vbmeta_from_footer()
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 453 uint64_t vbmeta_offset = 0; in VerifyVBMetaData() local 466 vbmeta_offset = footer->vbmeta_offset; in VerifyVBMetaData() 476 ssize_t num_read = TEMP_FAILURE_RETRY(pread64(fd, vbmeta->data(), vbmeta_size, vbmeta_offset)); in VerifyVBMetaData() 479 PERROR << partition_name << ": Failed to read vbmeta at offset " << vbmeta_offset in VerifyVBMetaData()
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | avb_util_test.cpp | 77 uint64_t vbmeta_offset = 0; // for vbmeta.img in SetVBMetaFlags() local 81 vbmeta_offset = footer->vbmeta_offset; in SetVBMetaFlags() 84 auto flags_offset = vbmeta_offset + offsetof(AvbVBMetaImageHeader, flags); in SetVBMetaFlags() 248 EXPECT_EQ(10661888, footer->vbmeta_offset); in TEST_F() 771 footer->vbmeta_offset + authentication_block_offset + header->hash_offset, in TEST_F() 786 ModifyFile(system_path, footer->vbmeta_offset + auxiliary_block_offset, in TEST_F() 1049 (system_footer->vbmeta_offset + authentication_block_offset + system_header->hash_offset), in TEST_F() 1076 ModifyFile(system_path, system_footer->vbmeta_offset + auxiliary_block_offset, in TEST_F() 1455 ModifyFile(system_path, system_footer->vbmeta_offset + auxiliary_block_offset, in TEST_F() 1474 ModifyFile(system_path, system_footer->vbmeta_offset + offsetof(AvbVBMetaImageHeader, flags), in TEST_F()
|
/system/update_engine/payload_generator/ |
D | payload_generation_config_android.cc | 147 footer.vbmeta_offset + sizeof(AvbVBMetaImageHeader) <= part.size); in LoadVerityConfig() 149 part.path, footer.vbmeta_offset, footer.vbmeta_size, &buffer)); in LoadVerityConfig()
|
/system/core/fastboot/ |
D | fastboot.cpp | 983 uint64_t vbmeta_offset = 0; in rewrite_vbmeta_buffer() local 991 vbmeta_offset = be64toh(footer->vbmeta_offset); in rewrite_vbmeta_buffer() 994 if (0 != data.compare(vbmeta_offset, AVB_MAGIC_LEN, AVB_MAGIC)) { in rewrite_vbmeta_buffer() 995 die("Failed to find AVB_MAGIC at offset: %" PRId64, vbmeta_offset); in rewrite_vbmeta_buffer() 998 fprintf(stderr, "Rewriting vbmeta struct at offset: %" PRId64 "\n", vbmeta_offset); in rewrite_vbmeta_buffer() 1006 uint64_t flags_offset = 123 + vbmeta_offset; in rewrite_vbmeta_buffer()
|
/system/apex/apexer/ |
D | apexer.py | 622 vbmeta_offset = int(re.search('VBMeta\ offset:\ *([0-9]+)', info).group(1)) 624 partition_size = RoundUp(vbmeta_offset + vbmeta_size,
|
/system/apex/apexd/ |
D | apex_file.cpp | 287 off_t offset = apex.GetImageOffset().value() + footer.vbmeta_offset; in VerifyVbMeta()
|
/system/gsid/ |
D | gsi_service.cpp | 1120 if (!ReadFullyAtOffset(fd, vbmeta_bytes.data(), vbmeta_bytes.size(), footer.vbmeta_offset)) { in GetAvbPublicKeyFromFd()
|