Home
last modified time | relevance | path

Searched refs:oat_header (Results 1 – 7 of 7) sorted by relevance

/art/dex2oat/linker/
Doat_writer_test.cc470 const OatHeader& oat_header = oat_file->GetOatHeader(); in TEST_F() local
471 ASSERT_TRUE(oat_header.IsValid()); in TEST_F()
472 ASSERT_EQ(class_linker->GetBootClassPath().size(), oat_header.GetDexFileCount()); // core in TEST_F()
473 ASSERT_TRUE(oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey) != nullptr); in TEST_F()
474 ASSERT_STREQ("testkey", oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey)); in TEST_F()
533 std::unique_ptr<OatHeader> oat_header(OatHeader::Create(insn_set, in TEST_F() local
537 ASSERT_NE(oat_header.get(), nullptr); in TEST_F()
538 ASSERT_TRUE(oat_header->IsValid()); in TEST_F()
540 char* magic = const_cast<char*>(oat_header->GetMagic()); in TEST_F()
542 ASSERT_FALSE(oat_header->IsValid()); in TEST_F()
[all …]
Dimage_writer.cc3594 void ImageWriter::UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header) { in UpdateOatFileHeader() argument
3596 cur_image_info.oat_checksum_ = oat_header.GetChecksum(); in UpdateOatFileHeader()
3601 oat_header.GetJniDlsymLookupTrampolineOffset()); in UpdateOatFileHeader()
3603 oat_header.GetJniDlsymLookupCriticalTrampolineOffset()); in UpdateOatFileHeader()
3605 oat_header.GetQuickGenericJniTrampolineOffset()); in UpdateOatFileHeader()
3607 oat_header.GetQuickImtConflictTrampolineOffset()); in UpdateOatFileHeader()
3609 oat_header.GetQuickResolutionTrampolineOffset()); in UpdateOatFileHeader()
3611 oat_header.GetQuickToInterpreterBridgeOffset()); in UpdateOatFileHeader()
Dimage_writer.h173 void UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header);
/art/runtime/
Ddexopt_test.cc145 const OatHeader& oat_header = odex_file->GetOatHeader(); in GenerateOatForTest() local
146 const char* oat_bcp = oat_header.GetStoreValueByKey(OatHeader::kBootClassPathKey); in GenerateOatForTest()
149 const char* checksums = oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey); in GenerateOatForTest()
Druntime.cc1270 const OatHeader& oat_header = oat_file->GetOatHeader(); in Init() local
1271 const char* oat_boot_class_path = oat_header.GetStoreValueByKey(OatHeader::kBootClassPathKey); in Init()
/art/oatdump/
Doatdump.cc185 const OatHeader& oat_header = oat_file_->GetOatHeader(); in Symbolize() local
187 if (oat_header.Get ## fn_name ## Offset() != 0) { \ in Symbolize()
190 info.isa = oat_header.GetInstructionSet(); \ in Symbolize()
192 size_t code_offset = oat_header.Get ## fn_name ## Offset(); \ in Symbolize()
193 code_offset -= CompiledCode::CodeDelta(oat_header.GetInstructionSet()); \ in Symbolize()
194 info.code_address = code_offset - oat_header.GetExecutableOffset(); \ in Symbolize()
294 const OatHeader& oat_header = oat_file_->GetOatHeader(); in WalkOatMethod() local
301 uint32_t entry_point = oat_method.GetCodeOffset() - oat_header.GetExecutableOffset(); in WalkOatMethod()
312 info.isa = oat_header.GetInstructionSet(); in WalkOatMethod()
314 info.is_native_debuggable = oat_header.IsNativeDebuggable(); in WalkOatMethod()
[all …]
/art/imgdiag/
Dimgdiag.cc851 const OatHeader& oat_header = oat_file->GetOatHeader(); in BuildEntryPointNames() local
852 const void* jdl = oat_header.GetJniDlsymLookupTrampoline(); in BuildEntryPointNames()
856 const void* jdlc = oat_header.GetJniDlsymLookupCriticalTrampoline(); in BuildEntryPointNames()
860 const void* qgjt = oat_header.GetQuickGenericJniTrampoline(); in BuildEntryPointNames()
864 const void* qrt = oat_header.GetQuickResolutionTrampoline(); in BuildEntryPointNames()
868 const void* qict = oat_header.GetQuickImtConflictTrampoline(); in BuildEntryPointNames()
872 const void* q2ib = oat_header.GetQuickToInterpreterBridge(); in BuildEntryPointNames()