Lines Matching refs:profile1

412   ScratchFile profile1;  in TEST_F()  local
417 GetFd(profile1), in TEST_F()
423 SetupProfile(dex1, dex2, kNumberOfMethodsToEnableCompilation, 0, profile1, &info1); in TEST_F()
441 CheckProfileInfo(profile1, info1); in TEST_F()
447 ScratchFile profile1; in TEST_F() local
451 GetFd(profile1)}); in TEST_F()
456 SetupProfile(dex1, dex2, 0, kNumberOfClassesToEnableCompilation, profile1, &info1); in TEST_F()
471 CheckProfileInfo(profile1, info1); in TEST_F()
475 ScratchFile profile1; in TEST_F() local
480 GetFd(profile1), in TEST_F()
487 SetupProfile(dex1, dex2, kNumberOfMethodsToEnableCompilation, 0, profile1, &info1); in TEST_F()
514 CheckProfileInfo(profile1, info1); in TEST_F()
519 ScratchFile profile1; in TEST_F() local
524 GetFd(profile1), in TEST_F()
530 SetupProfile(dex1, dex2, kNumberOfMethodsToSkipCompilation, 0, profile1, &info1); in TEST_F()
540 ASSERT_TRUE(profile1.GetFile()->ResetOffset()); in TEST_F()
541 ASSERT_TRUE(file_info1.Load(GetFd(profile1))); in TEST_F()
553 CheckProfileInfo(profile1, info1); in TEST_F()
594 ScratchFile profile1; in TEST_F() local
599 GetFd(profile1), in TEST_F()
606 SetupProfile(dex1, dex2, kNumberOfMethodsToEnableCompilation, 0, profile1, &info1); in TEST_F()
616 CheckProfileInfo(profile1, info1); in TEST_F()
624 ScratchFile profile1; in TEST_F() local
628 GetFd(profile1)}); in TEST_F()
634 SetupProfile(dex1, dex2, kNumberOfMethodsToEnableCompilation, 0, profile1, &info1); in TEST_F()
640 ASSERT_TRUE(profile1.GetFile()->ResetOffset()); in TEST_F()
646 CheckProfileInfo(profile1, info1); in TEST_F()
922 ScratchFile profile1; in TEST_F() local
924 EXPECT_TRUE(CreateProfile(input_file_contents1, profile1.GetFilename(), core_dex)); in TEST_F()
929 boot_profile1.Load(profile1.GetFilename(), /*for_boot_image*/ true); in TEST_F()
943 args.push_back("--profile-file=" + profile1.GetFilename()); in TEST_F()
1109 ScratchFile profile1; in TEST_F() local
1112 std::vector<int> profile_fds({GetFd(profile1)}); in TEST_F()
1118 SetupProfile(dex1, dex2, kNumberOfMethodsToEnableCompilation, 0, profile1, &info1, in TEST_F()
1145 CheckProfileInfo(profile1, info1); in TEST_F()
1269 ScratchFile profile1; in TEST_F() local
1274 GetFd(profile1), in TEST_F()
1286 SetupProfile(&d1, dex1, kNumberOfMethodsToEnableCompilation, 0, profile1, &info1); in TEST_F()
1306 argv_str.push_back("--profile-file-fd=" + std::to_string(profile1.GetFd())); in TEST_F()
1321 ASSERT_TRUE(profile1.GetFile()->ResetOffset()); in TEST_F()
1341 info2_filter.Load(profile1.GetFd(), /*merge_classes=*/ true, filter_fn); in TEST_F()
1352 ScratchFile profile1; in TEST_F() local
1373 profile1, in TEST_F()
1384 argv_str.push_back("--profile-file-fd=" + std::to_string(profile1.GetFd())); in TEST_F()
1523 ScratchFile profile1; in TEST_F() local
1527 info1.Save(profile1.GetFd()); in TEST_F()
1528 profile1.GetFile()->ResetOffset(); in TEST_F()
1534 std::vector<int> profile_fds({ GetFd(profile1)}); in TEST_F()
1541 reference_profile_fd = GetFd(profile1); in TEST_F()
1542 profile1.GetFile()->ResetOffset(); in TEST_F()
1552 ScratchFile profile1; in TEST_F() local
1557 ASSERT_TRUE(profile1.GetFile()->WriteFully(content.c_str(), content.length())); in TEST_F()
1558 profile1.GetFile()->ResetOffset(); in TEST_F()
1564 std::vector<int> profile_fds({ GetFd(profile1)}); in TEST_F()