Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Doat_writer_test.cc462 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()
[all …]
Dimage_writer.cc3597 void ImageWriter::UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header) { in UpdateOatFileHeader() argument
3599 cur_image_info.oat_checksum_ = oat_header.GetChecksum(); in UpdateOatFileHeader()
3604 oat_header.GetJniDlsymLookupTrampolineOffset()); in UpdateOatFileHeader()
3606 oat_header.GetJniDlsymLookupCriticalTrampolineOffset()); in UpdateOatFileHeader()
3608 oat_header.GetQuickGenericJniTrampolineOffset()); in UpdateOatFileHeader()
3610 oat_header.GetQuickImtConflictTrampolineOffset()); in UpdateOatFileHeader()
3612 oat_header.GetQuickResolutionTrampolineOffset()); in UpdateOatFileHeader()
3614 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.cc1269 const OatHeader& oat_header = oat_file->GetOatHeader(); in Init() local
1270 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()