Lines Matching refs:dex_location

89     for (const std::string& dex_location : dex_locations) {  local
90 args.push_back("--dex-file=" + dex_location);
123 AssertionResult GenerateOdexForTest(const std::string& dex_location, in GenerateOdexForTest() argument
130 return GenerateOdexForTest(dex_location,
143 AssertionResult GenerateOdexForTest(const std::string& dex_location, in GenerateOdexForTest() argument
153 std::string loc_arg = "--zip-location=" + dex_location; in GenerateOdexForTest()
161 dex_locations.push_back(dex_location); in GenerateOdexForTest()
183 dex_location, in GenerateOdexForTest()
211 dex_location, in GenerateOdexForTest()
246 std::string dex_location = GetScratchDir() + "/Dex2OatSwapTest.jar"; local
249 Copy(GetTestDexFileName(), dex_location);
261 ASSERT_TRUE(GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kSpeed, copy));
486 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; local
490 Copy(GetDexSrc1(), dex_location);
494 ASSERT_TRUE(GenerateOdexForTest(dex_location, odex_location, filter, new_args));
497 CheckResult(dex_location,
505 void CheckResult(const std::string& dex_location, in CheckResult() argument
521 dex_location, in CheckResult()
627 const std::string& dex_location, in GenerateProfile() argument
630 const char* location = dex_location.c_str(); in GenerateProfile()
655 void CompileProfileOdex(const std::string& dex_location, in CompileProfileOdex() argument
676 dex_location, odex_location, CompilerFilter::kSpeedProfile, copy, expect_status, use_fd));
684 void CompileProfileOdex(const std::string& dex_location, in CompileProfileOdex() argument
692 GenerateProfile(profile_location, dex_location, num_profile_classes);
693 CompileProfileOdex(dex_location,
715 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; in RunTest() local
718 Copy(GetDexSrc2(), dex_location); in RunTest()
722 CompileProfileOdex(dex_location, in RunTest()
731 CheckCompilerFilter(dex_location, odex_location, CompilerFilter::Filter::kVerify); in RunTest()
735 CompileProfileOdex(dex_location, in RunTest()
741 CheckResult(dex_location, odex_location, app_image_file); in RunTest()
742 CheckCompilerFilter(dex_location, odex_location, CompilerFilter::Filter::kSpeedProfile); in RunTest()
751 void CheckCompilerFilter(const std::string& dex_location, in CheckCompilerFilter() argument
760 dex_location, in CheckCompilerFilter()
766 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; in RunTestVDex() local
770 Copy(GetDexSrc2(), dex_location); in RunTestVDex()
778 CompileProfileOdex(dex_location, in RunTestVDex()
790 CompileProfileOdex(dex_location, in RunTestVDex()
803 void CheckResult(const std::string& dex_location, in CheckResult() argument
813 dex_location, in CheckResult()
817 const char* location = dex_location.c_str(); in CheckResult()
878 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; in TEST_F() local
881 Copy(GetDexSrc2(), dex_location); in TEST_F()
883 CompileProfileOdex(dex_location, in TEST_F()
898 dex_location, in TEST_F()
907 std::string dex_location = GetScratchDir() + "/Dex.jar"; in TEST_F() local
910 Copy(GetDexSrc2(), dex_location); in TEST_F()
913 GenerateProfile(profile1_location, dex_location, /*num_classes=*/1, /*class_offset=*/0); in TEST_F()
914 CompileProfileOdex(dex_location, in TEST_F()
922 GenerateProfile(profile2_location, dex_location, /*num_classes=*/1, /*class_offset=*/1); in TEST_F()
923 CompileProfileOdex(dex_location, in TEST_F()
930 CompileProfileOdex(dex_location, in TEST_F()
937 CheckCompilerFilter(dex_location, odex_location, CompilerFilter::Filter::kSpeedProfile); in TEST_F()
946 std::string dex_location = GetScratchDir() + "/Dex.jar"; in TEST_F() local
949 Copy(GetDexSrc1(), dex_location); in TEST_F()
951 GenerateProfile(profile_old, dex_location, /*num_classes=*/1, /*class_offset=*/0); in TEST_F()
953 Copy(GetDexSrc2(), dex_location); in TEST_F()
955 GenerateProfile(profile_new, dex_location, /*num_classes=*/1, /*class_offset=*/0); in TEST_F()
959 GenerateProfile(profile_empty, dex_location, /*num_classes=*/0, /*class_offset=*/0); in TEST_F()
966 CompileProfileOdex(dex_location, in TEST_F()
976 CompileProfileOdex(dex_location, in TEST_F()
984 CompileProfileOdex(dex_location, in TEST_F()
1000 std::string dex_location = GetScratchDir() + "/Dex2OatSwapTest.jar"; local
1003 Copy(GetTestDexFileName(), dex_location);
1011 dex_location, odex_location, CompilerFilter::kSpeed, copy, expect_status));
1046 std::string dex_location = GetUsedDexLocation(); in RunTest() local
1049 Copy(use_second_source ? GetDexSrc2() : GetDexSrc1(), dex_location); in RunTest()
1065 ASSERT_TRUE(GenerateOdexForTest(dex_location, in RunTest()
1351 std::string dex_location = GetScratchDir() + "/Dex2OatStderrLoggerTest.jar"; in TEST_F() local
1355 Copy(GetDexSrc1(), dex_location); in TEST_F()
1357 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1368 std::string dex_location = GetScratchDir() + "/Dex2OatCompilationReason.jar"; in TEST_F() local
1372 Copy(GetDexSrc1(), dex_location); in TEST_F()
1374 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1385 dex_location, in TEST_F()
1392 std::string dex_location = GetScratchDir() + "/Dex2OatNoCompilationReason.jar"; in TEST_F() local
1396 Copy(GetDexSrc1(), dex_location); in TEST_F()
1398 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1409 dex_location, in TEST_F()
1419 const std::string dex_location = dex->GetLocation(); in TEST_F() local
1422 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1444 dex_location, in TEST_F()
1446 ASSERT_TRUE(odex_file != nullptr) << dex_location; in TEST_F()
1478 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1527 const std::string& dex_location = invalid_dex.GetFilename(); in TEST_F() local
1530 {dex_location}, odex_location, CompilerFilter::kVerify, /*extra_args*/ {}), in TEST_F()
1651 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F() local
1691 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1741 const std::string& dex_location = dex_file.GetFilename(); in TEST_F() local
1750 "--zip-location=" + dex_location, in TEST_F()
1752 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1765 const std::string dex_location = dex->GetLocation(); in TEST_F() local
1768 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1791 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F() local
1851 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1959 std::string dex_location = GetScratchDir() + "/Dex2OatSwapTest.jar"; local
1962 Copy(GetTestDexFileName(), dex_location);
1965 GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kSpeed, extra_args));