Lines Matching refs:psa1
1442 ProfileSampleAnnotation psa1("test1"); in TEST_F() local
1446 ASSERT_TRUE(AddMethod(&info, dex1, /* method_idx= */ i, Hotness::kFlagHot, psa1)); in TEST_F()
1452 auto run_test = [&dex1 = dex1, &psa1 = psa1, &psa2 = psa2](const ProfileCompilationInfo& info) { in TEST_F()
1455 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, i), psa1).IsInProfile()); in TEST_F()
1456 EXPECT_TRUE(info.GetHotMethodInfo(MethodReference(dex1, i), psa1) != nullptr); in TEST_F()
1464 EXPECT_FALSE(info.GetMethodHotness(MethodReference(dex1, i), psa1).IsInProfile()); in TEST_F()
1465 EXPECT_FALSE(info.GetHotMethodInfo(MethodReference(dex1, i), psa1) != nullptr); in TEST_F()
1510 ProfileSampleAnnotation psa1("test1"); in TEST_F() local
1514 ASSERT_TRUE(AddClass(&info, dex1, dex::TypeIndex(i), psa1)); in TEST_F()
1520 auto run_test = [&dex1 = dex1, &psa1 = psa1, &psa2 = psa2](const ProfileCompilationInfo& info) { in TEST_F()
1523 EXPECT_TRUE(info.ContainsClass(*dex1, dex::TypeIndex(i), psa1)); in TEST_F()
1530 EXPECT_FALSE(info.ContainsClass(*dex1, dex::TypeIndex(i), psa1)); in TEST_F()
1570 ProfileSampleAnnotation psa1("test1"); in TEST_F() local
1574 ASSERT_TRUE(AddMethod(&info1, dex1, /* method_idx= */ i, Hotness::kFlagHot, psa1)); in TEST_F()
1575 ASSERT_TRUE(AddClass(&info1, dex1, dex::TypeIndex(i), psa1)); in TEST_F()
1578 ASSERT_TRUE(AddMethod(&info2, dex1, /* method_idx= */ i, Hotness::kFlagHot, psa1)); in TEST_F()
1581 ASSERT_TRUE(AddClass(&info2, dex1, dex::TypeIndex(i), psa1)); in TEST_F()
1591 EXPECT_TRUE(info.GetMethodHotness(MethodReference(dex1, i), psa1).IsInProfile()); in TEST_F()
1592 EXPECT_TRUE(info.ContainsClass(*dex1, dex::TypeIndex(i), psa1)); in TEST_F()
1612 ProfileSampleAnnotation psa1("test1"); in TEST_F() local
1621 ASSERT_TRUE(AddMethod(&info, dex1, /* method_idx= */ i, Hotness::kFlagHot, psa1)); in TEST_F()
1622 ASSERT_TRUE(AddClass(&info, dex1, dex::TypeIndex(i), psa1)); in TEST_F()
1628 ASSERT_TRUE(AddMethod(&info, dex1, /* method_idx= */ i, Hotness::kFlagStartup, psa1)); in TEST_F()
1638 *dex1, &classes, &hot_methods, &startup_methods, &post_startup_methods, psa1)); in TEST_F()
1657 ProfileSampleAnnotation psa1("test1"); in TEST_F() local
1663 ASSERT_TRUE(info.AddMethod(ProfileMethodInfo(ref), Hotness::kFlagHot, psa1)); in TEST_F()
1665 ASSERT_FALSE(info.AddMethod(ProfileMethodInfo(ref_checksum_missmatch), Hotness::kFlagHot, psa1)); in TEST_F()
1674 ProfileSampleAnnotation psa1("test1"); in TEST_F() local
1679 ASSERT_TRUE(info.AddMethod(ProfileMethodInfo(ref), Hotness::kFlagHot, psa1)); 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()
1723 ProfileSampleAnnotation psa1("test1"); in TEST_F() local
1728 ASSERT_TRUE(AddMethod(&info, dex1, /* method_idx= */ i, Hotness::kFlagHot, psa1)); in TEST_F()
1729 ASSERT_TRUE(AddClass(&info, dex1, dex::TypeIndex(i), psa1)); in TEST_F()
1754 std::list<ProfileSampleAnnotation> expectedAnnotations1({psa1, psa2}); in TEST_F()
1787 ProfileSampleAnnotation psa1("test1"); in TEST_F() local
1792 ASSERT_TRUE(AddMethod(&info1, dex1, /* method_idx= */ i, Hotness::kFlagHot, psa1)); in TEST_F()
1793 ASSERT_TRUE(AddClass(&info2, dex1, dex::TypeIndex(i), psa1)); in TEST_F()
1820 std::list<ProfileSampleAnnotation> expectedAnnotations1({psa1, psa2}); in TEST_F()