Lines Matching refs:dex
32 std::unique_ptr<const DexFile> dex(OpenTestDexFile("Interfaces")); in TEST_F() local
33 ASSERT_TRUE(dex != nullptr); in TEST_F()
38 EXPECT_FALSE(map.Get(MethodReference(dex.get(), 1), &value)); in TEST_F()
39 EXPECT_FALSE(map.HaveDexFile(dex.get())); in TEST_F()
41 EXPECT_TRUE(map.Insert(MethodReference(dex.get(), 1), 0, 1) == Map::kInsertResultInvalidDexFile); in TEST_F()
42 map.AddDexFile(dex.get()); in TEST_F()
43 EXPECT_TRUE(map.HaveDexFile(dex.get())); in TEST_F()
46 EXPECT_TRUE(registered_dex_files[0] == dex.get()); in TEST_F()
47 EXPECT_GT(dex->NumMethodIds(), 10u); in TEST_F()
49 EXPECT_TRUE(map.Get(MethodReference(dex.get(), 1), &value)); in TEST_F()
53 EXPECT_TRUE(map.Insert(MethodReference(dex.get(), 1), 0, kInsertValue) == in TEST_F()
55 EXPECT_TRUE(map.Get(MethodReference(dex.get(), 1), &value)); in TEST_F()
58 EXPECT_TRUE(map.Insert(MethodReference(dex.get(), 2), 0, kInsertValue2) == in TEST_F()
60 EXPECT_TRUE(map.Get(MethodReference(dex.get(), 1), &value)); in TEST_F()
62 EXPECT_TRUE(map.Get(MethodReference(dex.get(), 2), &value)); in TEST_F()
65 EXPECT_TRUE(map.Insert(MethodReference(dex.get(), 1), 0, kInsertValue + 1) == in TEST_F()
68 EXPECT_TRUE(map.Insert(MethodReference(dex.get(), 1), kInsertValue, kInsertValue + 1) == in TEST_F()
70 EXPECT_TRUE(map.Get(MethodReference(dex.get(), 1), &value)); in TEST_F()