Home
last modified time | relevance | path

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

/external/avb/test/
Davbtool_unittest.cc281 int64_t vbmeta_size, vbmeta_padded_size; in TEST_F() local
282 ASSERT_TRUE(base::GetFileSize(vbmeta_path, &vbmeta_size)); in TEST_F()
285 EXPECT_NE(vbmeta_size, vbmeta_padded_size); in TEST_F()
291 int64_t vbmeta_size_rounded_up = ((vbmeta_size + 4095) / 4096) * 4096; in TEST_F()
552 EXPECT_EQ(1280UL, f.vbmeta_size); in AddHashFooterTest()
558 avb_vbmeta_image_verify(vbmeta_data, f.vbmeta_size, NULL, NULL)); in AddHashFooterTest()
563 vbmeta_data, f.vbmeta_size, collect_descriptors, &descriptors); in AddHashFooterTest()
894 EXPECT_EQ(1344UL, f.vbmeta_size); in AddHashtreeFooterTest()
900 avb_vbmeta_image_verify(vbmeta_data, f.vbmeta_size, NULL, NULL)); in AddHashtreeFooterTest()
905 vbmeta_data, f.vbmeta_size, collect_descriptors, &descriptors); in AddHashtreeFooterTest()
[all …]
Davb_slot_verify_unittest.cc518 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F()
522 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F()
731 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F()
735 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F()
741 slot_data->vbmeta_images[1].vbmeta_size, in TEST_F()
1098 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F()
1102 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F()
1218 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F()
1222 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F()
Davb_util_unittest.cc82 h.vbmeta_size = htobe64(n64); in TEST_F()
95 EXPECT_EQ(n64, s.vbmeta_size); in TEST_F()
/external/avb/libavb/
Davb_footer.c36 dest->vbmeta_size = avb_be64toh(dest->vbmeta_size); in avb_footer_validate_and_byteswap()
Davb_slot_verify.c357 size_t vbmeta_size; in load_and_verify_vbmeta() local
412 vbmeta_size = VBMETA_MAX_SIZE; in load_and_verify_vbmeta()
442 if (footer.vbmeta_size > VBMETA_MAX_SIZE) { in load_and_verify_vbmeta()
450 vbmeta_size = footer.vbmeta_size; in load_and_verify_vbmeta()
453 vbmeta_buf = avb_malloc(vbmeta_size); in load_and_verify_vbmeta()
462 vbmeta_size, in load_and_verify_vbmeta()
496 avb_assert(vbmeta_num_read <= vbmeta_size); in load_and_verify_vbmeta()
651 vbmeta_image_data->vbmeta_size = in load_and_verify_vbmeta()
1131 slot_data->vbmeta_images[n].vbmeta_size); in append_options()
1132 total_size += slot_data->vbmeta_images[n].vbmeta_size; in append_options()
[all …]
Davb_footer.h68 uint64_t vbmeta_size; member
Davb_slot_verify.h145 size_t vbmeta_size; member
/external/avb/
Davbtool1778 self.vbmeta_size) = struct.unpack(self.FORMAT_STRING, data)
1787 self.vbmeta_size = 0
1797 self.vbmeta_offset, self.vbmeta_size)
2012 vbmeta_end_offset = footer.vbmeta_offset + footer.vbmeta_size
2091 o.write('VBMeta size: {} bytes\n'.format(footer.vbmeta_size))
2719 footer.vbmeta_size = len(vbmeta_blob)
2897 footer.vbmeta_size = len(vbmeta_blob)
3132 footer.vbmeta_size = len(vbmeta_blob)