Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Doat_writer_test.cc455 const OatHeader& oat_header = oat_file->GetOatHeader(); in TEST_F() local
456 ASSERT_TRUE(oat_header.IsValid()); in TEST_F()
457 ASSERT_EQ(class_linker->GetBootClassPath().size(), oat_header.GetDexFileCount()); // core in TEST_F()
458 ASSERT_TRUE(oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey) != nullptr); in TEST_F()
459 ASSERT_STREQ("testkey", oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey)); in TEST_F()
518 std::unique_ptr<OatHeader> oat_header(OatHeader::Create(insn_set, in TEST_F() local
522 ASSERT_NE(oat_header.get(), nullptr); in TEST_F()
523 ASSERT_TRUE(oat_header->IsValid()); in TEST_F()
525 char* magic = const_cast<char*>(oat_header->GetMagic()); in TEST_F()
527 ASSERT_FALSE(oat_header->IsValid()); in TEST_F()
[all …]
Dimage_writer.cc3453 void ImageWriter::UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header) { in UpdateOatFileHeader() argument
3455 cur_image_info.oat_checksum_ = oat_header.GetChecksum(); in UpdateOatFileHeader()
3460 oat_header.GetJniDlsymLookupTrampolineOffset()); in UpdateOatFileHeader()
3462 oat_header.GetJniDlsymLookupCriticalTrampolineOffset()); in UpdateOatFileHeader()
3464 oat_header.GetQuickGenericJniTrampolineOffset()); in UpdateOatFileHeader()
3466 oat_header.GetQuickImtConflictTrampolineOffset()); in UpdateOatFileHeader()
3468 oat_header.GetQuickResolutionTrampolineOffset()); in UpdateOatFileHeader()
3470 oat_header.GetQuickToInterpreterBridgeOffset()); in UpdateOatFileHeader()
3472 oat_header.GetNterpTrampolineOffset()); in UpdateOatFileHeader()
Dimage_writer.h171 void UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header);
/art/runtime/
Ddexopt_test.cc166 const OatHeader& oat_header = odex_file->GetOatHeader(); in GenerateOatForTest() local
167 const char* oat_bcp = oat_header.GetStoreValueByKey(OatHeader::kBootClassPathKey); in GenerateOatForTest()
170 const char* checksums = oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey); in GenerateOatForTest()
Druntime.cc1439 const OatHeader& oat_header = oat_file->GetOatHeader(); in Init() local
1440 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()
295 const OatHeader& oat_header = oat_file_->GetOatHeader(); in WalkOatMethod() local
302 uint32_t entry_point = oat_method.GetCodeOffset() - oat_header.GetExecutableOffset(); in WalkOatMethod()
313 info.isa = oat_header.GetInstructionSet(); in WalkOatMethod()
315 info.is_native_debuggable = oat_header.IsNativeDebuggable(); in WalkOatMethod()
[all …]
/art/imgdiag/
Dimgdiag.cc852 const OatHeader& oat_header = oat_file->GetOatHeader(); in BuildEntryPointNames() local
853 const void* jdl = oat_header.GetJniDlsymLookupTrampoline(); in BuildEntryPointNames()
857 const void* jdlc = oat_header.GetJniDlsymLookupCriticalTrampoline(); in BuildEntryPointNames()
861 const void* qgjt = oat_header.GetQuickGenericJniTrampoline(); in BuildEntryPointNames()
865 const void* qrt = oat_header.GetQuickResolutionTrampoline(); in BuildEntryPointNames()
869 const void* qict = oat_header.GetQuickImtConflictTrampoline(); in BuildEntryPointNames()
873 const void* q2ib = oat_header.GetQuickToInterpreterBridge(); in BuildEntryPointNames()