Lines Matching refs:dex_file
128 std::unique_ptr<DexFile> dex_file = DexFile::OpenFromMemory(kDexData, &size, "", &error_msg); in GetTestDexData() local
130 return dex_file; in GetTestDexData()
185 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
186 ASSERT_NE(dex_file, nullptr); in TEST()
188 MethodInfo info = dex_file->GetMethodInfoForOffset(0x102, false); in TEST()
193 info = dex_file->GetMethodInfoForOffset(0x118, false); in TEST()
199 info = dex_file->GetMethodInfoForOffset(0x104, false); in TEST()
206 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
207 ASSERT_NE(dex_file, nullptr); in TEST()
209 MethodInfo info = dex_file->GetMethodInfoForOffset(0x102, true); in TEST()
214 info = dex_file->GetMethodInfoForOffset(0x118, true); in TEST()
220 info = dex_file->GetMethodInfoForOffset(0x104, true); in TEST()
226 info = dex_file->GetMethodInfoForOffset(0x104, false); in TEST()
233 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
234 ASSERT_NE(dex_file, nullptr); in TEST()
236 MethodInfo info = dex_file->GetMethodInfoForOffset(0x100000, false); in TEST()
239 info = dex_file->GetMethodInfoForOffset(0x99, false); in TEST()
241 info = dex_file->GetMethodInfoForOffset(0x100, false); in TEST()
243 info = dex_file->GetMethodInfoForOffset(0x107, false); in TEST()
245 info = dex_file->GetMethodInfoForOffset(0x108, false); in TEST()
249 info = dex_file->GetMethodInfoForOffset(0x98, false); in TEST()
253 info = dex_file->GetMethodInfoForOffset(0x110, false); in TEST()
258 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
259 ASSERT_NE(dex_file, nullptr); in TEST()
264 ASSERT_EQ(dex_file->GetAllMethodInfos(false), infos); in TEST()
268 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
269 ASSERT_NE(dex_file, nullptr); in TEST()
274 ASSERT_EQ(dex_file->GetAllMethodInfos(true), infos); in TEST()
278 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
279 ASSERT_NE(dex_file, nullptr); in TEST()
281 auto df1 = DexFile(std::move(*dex_file)); in TEST()