Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
DDexFileTest.cpp154 std::shared_ptr<DexFile> dex_file = in TEST() local
156 ASSERT_TRUE(dex_file != nullptr); in TEST()
160 dex_file = DexFile::Create(0x4000, sizeof(kDexData), &memory, info.get()); in TEST()
161 EXPECT_TRUE(dex_file == nullptr); in TEST()
182 std::shared_ptr<DexFile> dex_file(DexFile::Create(0x4000, sizeof(kDexData), &memory, info.get())); in TEST() local
183 ASSERT_TRUE(dex_file != nullptr); in TEST()
187 ASSERT_TRUE(dex_file->GetFunctionName(0x4102, &method, &method_offset)); in TEST()
191 ASSERT_TRUE(dex_file->GetFunctionName(0x4118, &method, &method_offset)); in TEST()
200 std::shared_ptr<DexFile> dex_file(DexFile::Create(0x4000, sizeof(kDexData), &memory, info.get())); in TEST() local
201 ASSERT_TRUE(dex_file != nullptr); in TEST()
[all …]
DDexFilesTest.cpp104 void WriteEntry32(uint64_t entry_addr, uint32_t next, uint32_t prev, uint32_t dex_file,
106 void WriteEntry64(uint64_t entry_addr, uint64_t next, uint64_t prev, uint64_t dex_file,
108 void WriteDex(uint64_t dex_file);
148 uint32_t dex_file, uint64_t dex_size) { in WriteEntry32() argument
155 memory_->SetData32(entry_addr + 8, dex_file); in WriteEntry32()
162 uint64_t dex_file, uint64_t dex_size) { in WriteEntry64() argument
169 memory_->SetData64(entry_addr + 16, dex_file); in WriteEntry64()
174 void DexFilesTest::WriteDex(uint64_t dex_file) { in WriteDex() argument
175 memory_->SetMemory(dex_file, kDexData, sizeof(kDexData)); in WriteDex()
/system/extras/simpleperf/
Dread_dex_file.cpp37 static void ReadSymbols(art_api::dex::DexFile& dex_file, uint64_t file_offset, in ReadSymbols() argument
46 dex_file.ForEachMethod(callback); in ReadSymbols()
60 std::unique_ptr<art_api::dex::DexFile> dex_file; in ReadSymbolsFromDexFileInMemory() local
62 art_api::dex::DexFile::Create(file_addr, max_file_size, nullptr, "", &dex_file); in ReadSymbolsFromDexFileInMemory()
63 if (dex_file == nullptr) { in ReadSymbolsFromDexFileInMemory()
68 ReadSymbols(*dex_file, file_offset, symbol_callback); in ReadSymbolsFromDexFileInMemory()
DJITDebugReader_test.cpp59 std::string dex_file = GetTestData("base.vdex"); in TEST() local
60 uint64_t file_size = GetFileSize(dex_file); in TEST()
68 android::base::unique_fd fd(open(dex_file.c_str(), O_RDONLY | O_CLOEXEC)); in TEST()
Drecord_file.proto56 DexFile dex_file = 5; // Only when type = DSO_DEX_FILE field
Drecord_file_reader.cpp667 const auto& dex_file_offsets = proto_file.dex_file().dex_file_offset(); in ReadFileV2Feature()
/system/unwinding/libunwindstack/
DDexFile.cpp105 std::shared_ptr<DexFile> dex_file = CreateFromDisk(base_addr, file_size, info); in Create() local
106 if (dex_file != nullptr) { in Create()
107 return dex_file; in Create()