Home
last modified time | relevance | path

Searched refs:DexFileFromFile (Results 1 – 3 of 3) sorted by relevance

/system/core/libunwindstack/
DDexFile.cpp71 DexFileFromFile::Create(dex_file_offset_in_memory - info->start + info->offset, info->name); in Create()
90 std::unique_ptr<DexFileFromFile> DexFileFromFile::Create(uint64_t dex_file_offset_in_file, in Create()
108 return std::unique_ptr<DexFileFromFile>(new DexFileFromFile(art_dex_file)); in Create()
DDexFile.h46 class DexFileFromFile : public DexFile {
48 static std::unique_ptr<DexFileFromFile> Create(uint64_t dex_file_offset_in_file,
52 DexFileFromFile(std::unique_ptr<art_api::dex::DexFile>& art_dex_file) : DexFile(art_dex_file) {} in DexFileFromFile() function
/system/core/libunwindstack/tests/
DDexFileTest.cpp37 EXPECT_TRUE(DexFileFromFile::Create(0, "/file/does/not/exist") == nullptr); in TEST()
47 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) == nullptr); in TEST()
53 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) == nullptr); in TEST()
63 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) != nullptr); in TEST()
74 EXPECT_TRUE(DexFileFromFile::Create(0x100, tf.path) != nullptr); in TEST()
103 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) != nullptr); in TEST()