Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Doat_writer_test.cc419 const OatHeader& oat_header = oat_file->GetOatHeader(); in TEST_F() local
420 ASSERT_TRUE(oat_header.IsValid()); in TEST_F()
421 ASSERT_EQ(class_linker->GetBootClassPath().size(), oat_header.GetDexFileCount()); // core in TEST_F()
422 ASSERT_TRUE(oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey) != nullptr); in TEST_F()
423 ASSERT_STREQ("testkey", oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey)); in TEST_F()
482 std::unique_ptr<OatHeader> oat_header(OatHeader::Create(insn_set, in TEST_F() local
486 ASSERT_NE(oat_header.get(), nullptr); in TEST_F()
487 ASSERT_TRUE(oat_header->IsValid()); in TEST_F()
489 char* magic = const_cast<char*>(oat_header->GetMagic()); in TEST_F()
491 ASSERT_FALSE(oat_header->IsValid()); in TEST_F()
[all …]
Dimage_writer.cc3592 void ImageWriter::UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header) { in UpdateOatFileHeader() argument
3594 cur_image_info.oat_checksum_ = oat_header.GetChecksum(); in UpdateOatFileHeader()
3599 oat_header.GetJniDlsymLookupOffset()); in UpdateOatFileHeader()
3601 oat_header.GetQuickGenericJniTrampolineOffset()); in UpdateOatFileHeader()
3603 oat_header.GetQuickImtConflictTrampolineOffset()); in UpdateOatFileHeader()
3605 oat_header.GetQuickResolutionTrampolineOffset()); in UpdateOatFileHeader()
3607 oat_header.GetQuickToInterpreterBridgeOffset()); in UpdateOatFileHeader()
Dimage_writer.h171 void UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header);
/art/runtime/
Ddexopt_test.cc130 const OatHeader& oat_header = odex_file->GetOatHeader(); in GenerateOatForTest() local
133 const char* checksums = oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey); in GenerateOatForTest()
Druntime.cc1202 const OatHeader& oat_header = oat_file->GetOatHeader(); in Init() local
1203 const char* oat_boot_class_path = oat_header.GetStoreValueByKey(OatHeader::kBootClassPathKey); in Init()
/art/oatdump/
Doatdump.cc189 const OatHeader& oat_header = oat_file_->GetOatHeader(); in Symbolize() local
191 if (oat_header.Get ## fn_name ## Offset() != 0) { \ in Symbolize()
194 info.isa = oat_header.GetInstructionSet(); \ in Symbolize()
196 size_t code_offset = oat_header.Get ## fn_name ## Offset(); \ in Symbolize()
197 code_offset -= CompiledCode::CodeDelta(oat_header.GetInstructionSet()); \ in Symbolize()
198 info.code_address = code_offset - oat_header.GetExecutableOffset(); \ in Symbolize()
297 const OatHeader& oat_header = oat_file_->GetOatHeader(); in WalkOatMethod() local
304 uint32_t entry_point = oat_method.GetCodeOffset() - oat_header.GetExecutableOffset(); in WalkOatMethod()
315 info.isa = oat_header.GetInstructionSet(); in WalkOatMethod()
317 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.GetJniDlsymLookup(); in BuildEntryPointNames()
856 const void* qgjt = oat_header.GetQuickGenericJniTrampoline(); in BuildEntryPointNames()
860 const void* qrt = oat_header.GetQuickResolutionTrampoline(); in BuildEntryPointNames()
864 const void* qict = oat_header.GetQuickImtConflictTrampoline(); in BuildEntryPointNames()
868 const void* q2ib = oat_header.GetQuickToInterpreterBridge(); in BuildEntryPointNames()