Home
last modified time | relevance | path

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

/system/core/libunwindstack/
DDexFile.cpp39 DexFileFromFile::Create(dex_file_offset_in_memory - info->start + info->offset, info->name); in Create()
58 std::unique_ptr<DexFileFromFile> DexFileFromFile::Create(uint64_t dex_file_offset_in_file, in Create()
72 return std::unique_ptr<DexFileFromFile>(new DexFileFromFile(std::move(*art_dex_file.release()))); in Create()
DDexFile.h45 class DexFileFromFile : public DexFile {
47 static std::unique_ptr<DexFileFromFile> Create(uint64_t dex_file_offset_in_file,
51 DexFileFromFile(art_api::dex::DexFile&& art_dex_file) : DexFile(std::move(art_dex_file)) {} in DexFileFromFile() function
/system/core/libunwindstack/tests/
DDexFileTest.cpp35 EXPECT_TRUE(DexFileFromFile::Create(0, "/file/does/not/exist") == nullptr); in TEST()
45 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) == nullptr); in TEST()
51 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) == nullptr); in TEST()
61 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) != nullptr); in TEST()
72 EXPECT_TRUE(DexFileFromFile::Create(0x100, tf.path) != nullptr); in TEST()