Searched refs:dex_file (Results 1 – 7 of 7) sorted by relevance
/system/unwinding/libunwindstack/tests/ |
D | DexFileTest.cpp | 154 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 …]
|
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 | 37 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()
|
D | JITDebugReader_test.cpp | 59 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()
|
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()
|