Searched refs:DexFileFromFile (Results 1 – 3 of 3) sorted by relevance
39 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()
45 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
35 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()