Lines Matching refs:verity_image
128 TemporaryFile verity_image; in TEST_F() local
130 ASSERT_TRUE(android::base::WriteFully(verity_image.fd, image_.data(), in TEST_F()
134 ASSERT_EQ(0, fec_open(&handle, verity_image.path, O_RDONLY, FEC_FS_EXT4, 2)); in TEST_F()
160 TemporaryFile verity_image; in TEST_F() local
162 ASSERT_TRUE(android::base::WriteFully(verity_image.fd, image_.data(), in TEST_F()
165 BuildAndAppendsEccImage(verity_image.path, ecc_image.path); in TEST_F()
168 ASSERT_TRUE(android::base::WriteStringToFd(ecc_content, verity_image.fd)); in TEST_F()
170 ASSERT_EQ(0, fec_open(&handle, verity_image.path, O_RDONLY, FEC_FS_EXT4, 2)); in TEST_F()
193 TemporaryFile verity_image; in TEST_F() local
195 ASSERT_TRUE(android::base::WriteFully(verity_image.fd, image_.data(), in TEST_F()
198 BuildAndAppendsEccImage(verity_image.path, ecc_image.path); in TEST_F()
201 ASSERT_TRUE(android::base::WriteStringToFd(ecc_content, verity_image.fd)); in TEST_F()
205 ASSERT_EQ(corrupt_offset, lseek64(verity_image.fd, corrupt_offset, 0)); in TEST_F()
207 ASSERT_TRUE(android::base::WriteFully(verity_image.fd, corruption.data(), in TEST_F()
213 fec_open(&handle, verity_image.path, O_RDONLY, FEC_FS_EXT4, 2)); in TEST_F()