Lines Matching refs:dex_file
145 std::shared_ptr<DexFile> dex_file = DexFile::Create(0x4000, sizeof(kDexData), &memory, &info); in TEST() local
146 ASSERT_TRUE(dex_file != nullptr); in TEST()
150 dex_file = DexFile::Create(0x4000, sizeof(kDexData), &memory, &info); in TEST()
151 EXPECT_TRUE(dex_file == nullptr); in TEST()
172 std::shared_ptr<DexFile> dex_file(DexFile::Create(0x4000, sizeof(kDexData), &memory, &info)); in TEST() local
173 ASSERT_TRUE(dex_file != nullptr); in TEST()
177 ASSERT_TRUE(dex_file->GetFunctionName(0x4102, &method, &method_offset)); in TEST()
181 ASSERT_TRUE(dex_file->GetFunctionName(0x4118, &method, &method_offset)); in TEST()
190 std::shared_ptr<DexFile> dex_file(DexFile::Create(0x4000, sizeof(kDexData), &memory, &info)); in TEST() local
191 ASSERT_TRUE(dex_file != nullptr); in TEST()
195 EXPECT_FALSE(dex_file->GetFunctionName(0x100000, &method, &method_offset)); in TEST()
197 EXPECT_FALSE(dex_file->GetFunctionName(0x98, &method, &method_offset)); in TEST()
209 std::shared_ptr<DexFile> dex_file = DexFile::Create(0x4000, sizeof(kDexData), &memory, &info); in TEST() local
210 EXPECT_TRUE(dex_file != nullptr); in TEST()
214 ASSERT_TRUE(dex_file->GetFunctionName(0x4118, &method, &method_offset)); in TEST()
224 ASSERT_TRUE(dex_file->GetFunctionName(0x4118, &method, &method_offset)); in TEST()
229 ASSERT_TRUE(dex_file->GetFunctionName(0x4102, &method, &method_offset)); in TEST()