Lines Matching refs:GetMethodHotness

777     EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex1, 2)).IsInProfile());  in TEST_F()
778 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex1, 4)).IsInProfile()); in TEST_F()
779 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, 1)).IsStartup()); in TEST_F()
780 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex1, 3)).IsStartup()); in TEST_F()
781 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, 5)).IsPostStartup()); in TEST_F()
782 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex1, 6)).IsStartup()); in TEST_F()
783 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex2, 2)).IsStartup()); in TEST_F()
784 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex2, 4)).IsPostStartup()); in TEST_F()
800 EXPECT_FALSE(test_info.GetMethodHotness(MethodReference(dex1, 11)).IsStartup()); in TEST_F()
806 EXPECT_TRUE(test_info.GetMethodHotness(MethodReference(dex1, 11)).IsStartup()); in TEST_F()
829 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex.get(), id)).IsHot()); in TEST_F()
830 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex.get(), id)).IsStartup()); in TEST_F()
833 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex.get(), id)).IsStartup()); in TEST_F()
836 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex.get(), id)).IsPostStartup()); in TEST_F()
838 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex.get(), 6)).IsPostStartup()); in TEST_F()
840 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex.get(), 0)).IsInProfile()); in TEST_F()
841 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex.get(), 4)).IsInProfile()); in TEST_F()
842 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex.get(), 7)).IsInProfile()); in TEST_F()
843 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex.get(), 1)).IsPostStartup()); in TEST_F()
844 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex.get(), 4)).IsStartup()); in TEST_F()
845 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex.get(), 6)).IsStartup()); in TEST_F()
1247 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, index)).IsInProfile()); in TEST_F()
1248 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, index)) in TEST_F()
1250 << info.GetMethodHotness(MethodReference(dex1, index)).GetFlags(); in TEST_F()
1277 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, 0)).IsInProfile()); in TEST_F()
1278 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, 0)) in TEST_F()
1319 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, 0)).IsInProfile()); in TEST_F()
1320 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, 0)) in TEST_F()
1323 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, 1)).IsInProfile()); in TEST_F()
1324 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, 1)) in TEST_F()
1332 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, 0)).IsInProfile()); in TEST_F()
1333 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex1, 0)) in TEST_F()
1336 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, 1)).IsInProfile()); in TEST_F()
1337 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, 1)) in TEST_F()
1345 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex1, 0)) in TEST_F()
1347 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex1, 1)) in TEST_F()
1392 EXPECT_TRUE(info.GetMethodHotness(hot).IsInProfile()); in TEST_F()
1393 EXPECT_EQ(info.GetMethodHotness(hot).GetFlags(), Hotness::kFlagHot); in TEST_F()
1395 EXPECT_TRUE(info.GetMethodHotness(hot_startup).IsInProfile()); in TEST_F()
1396 EXPECT_EQ(info.GetMethodHotness(hot_startup).GetFlags(), in TEST_F()
1399 EXPECT_TRUE(info.GetMethodHotness(startup).IsInProfile()); in TEST_F()
1400 EXPECT_EQ(info.GetMethodHotness(startup).GetFlags(), Hotness::kFlagStartup); in TEST_F()
1455 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, i), psa1).IsInProfile()); in TEST_F()
1459 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, i), psa2).IsInProfile()); in TEST_F()
1464 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex1, i), psa1).IsInProfile()); in TEST_F()
1468 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex1, i), psa2).IsInProfile()); in TEST_F()
1473 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, i)).IsInProfile()); in TEST_F()
1478 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex1, i)).IsInProfile()); in TEST_F()
1485 EXPECT_FALSE(info.GetMethodHotness(ref, not_exisiting).IsInProfile()); in TEST_F()
1591 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, i), psa1).IsInProfile()); in TEST_F()
1595 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, i), psa2).IsInProfile()); in TEST_F()
1596 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex2, i), psa2).IsInProfile()); in TEST_F()
1602 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex1, i), psa2).IsInProfile()); in TEST_F()
1603 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex2, i), psa2).IsInProfile()); in TEST_F()
1682 EXPECT_TRUE(info.GetMethodHotness(ref, psa1).IsInProfile()); in TEST_F()
1684 EXPECT_FALSE(info.GetMethodHotness(ref_checksum_missmatch, psa1).IsInProfile()); in TEST_F()
1687 EXPECT_TRUE(info.GetMethodHotness(ref).IsInProfile()); in TEST_F()
1688 EXPECT_FALSE(info.GetMethodHotness(ref_checksum_missmatch).IsInProfile()); in TEST_F()