Home
last modified time | relevance | path

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

/system/core/libunwindstack/
DDexFile.h32 class DexFile : protected art_api::dex::DexFile {
34 virtual ~DexFile() = default;
38 static std::unique_ptr<DexFile> Create(uint64_t dex_file_offset_in_memory, Memory* memory,
42 DexFile(art_api::dex::DexFile&& art_dex_file) : art_api::dex::DexFile(std::move(art_dex_file)) {} in DexFile() function
45 class DexFileFromFile : public DexFile {
51 DexFileFromFile(art_api::dex::DexFile&& art_dex_file) : DexFile(std::move(art_dex_file)) {} in DexFileFromFile()
54 class DexFileFromMemory : public DexFile {
60 DexFileFromMemory(art_api::dex::DexFile&& art_dex_file, std::vector<uint8_t>&& memory) in DexFileFromMemory()
61 : DexFile(std::move(art_dex_file)), memory_(std::move(memory)) {} in DexFileFromMemory()
DDexFile.cpp35 std::unique_ptr<DexFile> DexFile::Create(uint64_t dex_file_offset_in_memory, Memory* memory, in Create()
38 std::unique_ptr<DexFile> dex_file = in Create()
47 bool DexFile::GetMethodInformation(uint64_t dex_offset, std::string* method_name, in GetMethodInformation()
66 std::unique_ptr<art_api::dex::DexFile> art_dex_file = in Create()
82 std::unique_ptr<art_api::dex::DexFile> art_dex_file = in Create()
DDexFiles.cpp131 DexFile* DexFiles::GetDexFile(uint64_t dex_file_offset, MapInfo* info) { in GetDexFile()
133 DexFile* dex_file; in GetDexFile()
136 std::unique_ptr<DexFile> new_dex_file = DexFile::Create(dex_file_offset, memory_.get(), info); in GetDexFile()
171 DexFile* dex_file = GetDexFile(addr, info); in GetMethodInformation()
DAndroid.bp51 "DexFile.cpp",
94 "DexFile.cpp",
104 "DexFile.cpp",
/system/extras/simpleperf/
Dread_dex_file.cpp33 const std::function<std::unique_ptr<art_api::dex::DexFile>(uint64_t offset)>& open_file_cb) { in ReadSymbols()
35 std::unique_ptr<art_api::dex::DexFile> dex_file = open_file_cb(offset); in ReadSymbols()
62 dex_file_offsets, symbols, [&](uint64_t offset) -> std::unique_ptr<art_api::dex::DexFile> { in ReadSymbolsFromDexFileInMemory()
69 std::unique_ptr<art_api::dex::DexFile> dex_file = in ReadSymbolsFromDexFileInMemory()
70 art_api::dex::DexFile::OpenFromMemory(file_addr, &max_file_size, "", &error_msg); in ReadSymbolsFromDexFileInMemory()
87 dex_file_offsets, symbols, [&](uint64_t offset) -> std::unique_ptr<art_api::dex::DexFile> { in ReadSymbolsFromDexFile()
89 std::unique_ptr<art_api::dex::DexFile> dex_file = in ReadSymbolsFromDexFile()
90 art_api::dex::DexFile::OpenFromFd(fd, offset, file_path, &error_msg); in ReadSymbolsFromDexFile()
/system/core/libunwindstack/tests/
DDexFileTest.cpp109 EXPECT_TRUE(DexFile::Create(0x500, &memory, &info) != nullptr); in TEST()
122 EXPECT_TRUE(DexFile::Create(0x600, &memory, &info) != nullptr); in TEST()
135 EXPECT_TRUE(DexFile::Create(0x400, &memory, &info) != nullptr); in TEST()
142 EXPECT_TRUE(DexFile::Create(0x4000, &memory, &info) != nullptr); in TEST()
149 EXPECT_TRUE(DexFile::Create(0x4000, &memory, &info) != nullptr); in TEST()
162 std::unique_ptr<DexFile> dex_file = DexFile::Create(0x4000, &memory, &info); in TEST()
167 dex_file = DexFile::Create(0x4000, &memory, &info); in TEST()
175 std::unique_ptr<DexFile> dex_file(DexFile::Create(0x4000, &memory, &info)); in TEST()
193 std::unique_ptr<DexFile> dex_file(DexFile::Create(0x4000, &memory, &info)); in TEST()
/system/core/libunwindstack/include/unwindstack/
DDexFiles.h34 class DexFile; variable
45 DexFile* GetDexFile(uint64_t dex_file_offset, MapInfo* info);
69 std::unordered_map<uint64_t, std::unique_ptr<DexFile>> files_;