Searched refs:dex_file (Results 1 – 6 of 6) sorted by relevance
/system/unwinding/libunwindstack/tests/ |
D | DexFileTest.cpp | 146 std::shared_ptr<DexFile> dex_file = in TEST() local 148 ASSERT_TRUE(dex_file != nullptr); in TEST() 152 dex_file = DexFile::Create(0x4000, sizeof(kDexData), &memory, info.get()); in TEST() 153 EXPECT_TRUE(dex_file == nullptr); in TEST() 174 std::shared_ptr<DexFile> dex_file(DexFile::Create(0x4000, sizeof(kDexData), &memory, info.get())); in TEST() local 175 ASSERT_TRUE(dex_file != nullptr); in TEST() 179 ASSERT_TRUE(dex_file->GetFunctionName(0x4102, &method, &method_offset)); in TEST() 183 ASSERT_TRUE(dex_file->GetFunctionName(0x4118, &method, &method_offset)); in TEST() 192 std::shared_ptr<DexFile> dex_file(DexFile::Create(0x4000, sizeof(kDexData), &memory, info.get())); in TEST() local 193 ASSERT_TRUE(dex_file != nullptr); in TEST() [all …]
|
D | DexFilesTest.cpp | 104 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/ |
D | read_dex_file.cpp | 36 static void ReadSymbols(art_api::dex::DexFile& dex_file, uint64_t file_offset, in ReadSymbols() argument 45 dex_file.ForEachMethod(callback); in ReadSymbols() 59 std::unique_ptr<art_api::dex::DexFile> dex_file; in ReadSymbolsFromDexFileInMemory() local 61 art_api::dex::DexFile::Create(file_addr, max_file_size, nullptr, "", &dex_file); in ReadSymbolsFromDexFileInMemory() 62 if (dex_file == nullptr) { in ReadSymbolsFromDexFileInMemory() 67 ReadSymbols(*dex_file, file_offset, symbol_callback); in ReadSymbolsFromDexFileInMemory()
|
D | record_file.proto | 56 DexFile dex_file = 5; // Only when type = DSO_DEX_FILE field
|
D | record_file_reader.cpp | 667 const auto& dex_file_offsets = proto_file.dex_file().dex_file_offset(); in ReadFileV2Feature()
|
/system/unwinding/libunwindstack/ |
D | DexFile.cpp | 105 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()
|