Lines Matching refs:oat_header
128 const OatHeader& oat_header = oat_file->GetOatHeader(); in TEST_F() local
129 ASSERT_TRUE(oat_header.IsValid()); in TEST_F()
130 ASSERT_EQ(1U, oat_header.GetDexFileCount()); // core in TEST_F()
131 ASSERT_EQ(42U, oat_header.GetImageFileLocationOatChecksum()); in TEST_F()
132 ASSERT_EQ(4096U, oat_header.GetImageFileLocationOatDataBegin()); in TEST_F()
133 ASSERT_EQ("lue.art", std::string(oat_header.GetStoreValueByKey(OatHeader::kImageLocationKey))); in TEST_F()
198 std::unique_ptr<OatHeader> oat_header(OatHeader::Create(insn_set, in TEST_F() local
204 ASSERT_NE(oat_header.get(), nullptr); in TEST_F()
205 ASSERT_TRUE(oat_header->IsValid()); in TEST_F()
207 char* magic = const_cast<char*>(oat_header->GetMagic()); in TEST_F()
209 ASSERT_FALSE(oat_header->IsValid()); in TEST_F()
211 ASSERT_FALSE(oat_header->IsValid()); in TEST_F()