Lines Matching refs:oat_header
462 const OatHeader& oat_header = oat_file->GetOatHeader(); in TEST_F() local
463 ASSERT_TRUE(oat_header.IsValid()); in TEST_F()
464 ASSERT_EQ(class_linker->GetBootClassPath().size(), oat_header.GetDexFileCount()); // core in TEST_F()
465 ASSERT_TRUE(oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey) != nullptr); in TEST_F()
466 ASSERT_STREQ("testkey", oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey)); in TEST_F()
525 std::unique_ptr<OatHeader> oat_header(OatHeader::Create(insn_set, in TEST_F() local
529 ASSERT_NE(oat_header.get(), nullptr); in TEST_F()
530 ASSERT_TRUE(oat_header->IsValid()); in TEST_F()
532 char* magic = const_cast<char*>(oat_header->GetMagic()); in TEST_F()
534 ASSERT_FALSE(oat_header->IsValid()); in TEST_F()
536 ASSERT_FALSE(oat_header->IsValid()); in TEST_F()