Lines Matching refs:dex_location

82     for (const std::string& dex_location : dex_locations) {  local
83 args.push_back("--dex-file=" + dex_location);
111 const std::string& dex_location, in GenerateOdexForTest() argument
118 return GenerateOdexForTest(dex_location,
132 const std::string& dex_location, in GenerateOdexForTest() argument
142 std::string loc_arg = "--zip-location=" + dex_location; in GenerateOdexForTest()
150 dex_locations.push_back(dex_location); in GenerateOdexForTest()
172 dex_location, in GenerateOdexForTest()
194 dex_location, in GenerateOdexForTest()
267 std::string dex_location = GetScratchDir() + "/Dex2OatSwapTest.jar"; local
270 Copy(GetTestDexFileName(), dex_location);
282 ASSERT_TRUE(GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kSpeed, copy));
500 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; local
504 Copy(GetDexSrc1(), dex_location);
508 ASSERT_TRUE(GenerateOdexForTest(dex_location, odex_location, filter, new_args));
512 CheckResult(dex_location,
520 void CheckResult(const std::string& dex_location, in CheckResult() argument
536 dex_location, in CheckResult()
668 void CompileProfileOdex(const std::string& dex_location, in CompileProfileOdex() argument
676 const char* location = dex_location.c_str();
696 ASSERT_TRUE(GenerateOdexForTest(dex_location,
720 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; in RunTest() local
723 Copy(GetDexSrc2(), dex_location); in RunTest()
727 CompileProfileOdex(dex_location, in RunTest()
740 CompileProfileOdex(dex_location, in RunTest()
747 CheckResult(dex_location, odex_location, app_image_file); in RunTest()
757 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; in RunTestVDex() local
761 Copy(GetDexSrc2(), dex_location); in RunTestVDex()
769 CompileProfileOdex(dex_location, in RunTestVDex()
781 CompileProfileOdex(dex_location, in RunTestVDex()
795 void CheckResult(const std::string& dex_location, in CheckResult() argument
805 dex_location, in CheckResult()
809 const char* location = dex_location.c_str(); in CheckResult()
880 std::string dex_location = GetScratchDir() + "/UnquickenMultiDex.jar"; in RunUnquickenMultiDex() local
883 Copy(GetTestDexFileName("MultiDex"), dex_location); in RunUnquickenMultiDex()
891 ASSERT_TRUE(GenerateOdexForTest(dex_location, in RunUnquickenMultiDex()
901 GetDexFileChecksums(dex_location, odex_location, &checksums1); in RunUnquickenMultiDex()
906 ASSERT_TRUE(GenerateOdexForTest(dex_location, in RunUnquickenMultiDex()
914 CheckResult(dex_location, odex_location); in RunUnquickenMultiDex()
917 GetDexFileChecksums(dex_location, odex_location, &checksums2); in RunUnquickenMultiDex()
926 std::string dex_location = GetScratchDir() + "/UnquickenMultiDex.jar"; in RunUnquickenMultiDexCDex() local
931 Copy(GetTestDexFileName("MultiDex"), dex_location); in RunUnquickenMultiDexCDex()
942 ASSERT_TRUE(GenerateOdexForTest(dex_location, in RunUnquickenMultiDexCDex()
954 ASSERT_TRUE(GenerateOdexForTest(dex_location, in RunUnquickenMultiDexCDex()
963 CheckResult(dex_location, odex_location2); in RunUnquickenMultiDexCDex()
967 void CheckResult(const std::string& dex_location, const std::string& odex_location) { in CheckResult() argument
974 dex_location, in CheckResult()
992 void GetDexFileChecksums(const std::string& dex_location, in GetDexFileChecksums() argument
1001 dex_location, in GetDexFileChecksums()
1022 std::string dex_location = GetScratchDir() + "/Dex2OatSwapTest.jar"; local
1025 Copy(GetTestDexFileName(), dex_location);
1032 ASSERT_TRUE(GenerateOdexForTest(dex_location,
1069 std::string dex_location = GetScratchDir() + "/Dex2OatSwapTest.jar"; local
1072 Copy(GetTestDexFileName(), dex_location);
1075 return GenerateOdexForTestWithStatus({dex_location},
1094 std::string dex_location = GetUsedDexLocation(); in RunTest() local
1097 Copy(use_second_source ? GetDexSrc2() : GetDexSrc1(), dex_location); in RunTest()
1114 ASSERT_TRUE(GenerateOdexForTest(dex_location, in RunTest()
1519 const std::string dex_location = GetTestDexFileName("MultiDex"); in TEST_F() local
1522 { dex_location }, in TEST_F()
1534 dex_location, in TEST_F()
1829 const std::string& dex_location = apk_file.GetFilename(); in TEST_F() local
1831 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1839 std::string dex_location = GetScratchDir() + "/Dex2OatStderrLoggerTest.jar"; in TEST_F() local
1843 Copy(GetDexSrc1(), dex_location); in TEST_F()
1845 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1856 std::string dex_location = GetScratchDir() + "/Dex2OatCompilationReason.jar"; in TEST_F() local
1860 Copy(GetDexSrc1(), dex_location); in TEST_F()
1862 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1873 dex_location, in TEST_F()
1880 std::string dex_location = GetScratchDir() + "/Dex2OatNoCompilationReason.jar"; in TEST_F() local
1884 Copy(GetDexSrc1(), dex_location); in TEST_F()
1886 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1897 dex_location, in TEST_F()
1907 const std::string dex_location = dex->GetLocation(); in TEST_F() local
1910 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1933 dex_location, in TEST_F()
1935 ASSERT_TRUE(odex_file != nullptr) << dex_location; in TEST_F()
1967 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
2021 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F() local
2029 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
2045 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
2097 const std::string& dex_location = invalid_dex.GetFilename(); in TEST_F() local
2101 {dex_location}, in TEST_F()
2209 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F() local
2248 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
2284 const std::string& dex_location = dex_file.GetFilename(); in TEST_F() local
2293 "--zip-location=" + dex_location, in TEST_F()
2295 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
2309 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F() local
2368 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
2510 std::string dex_location = GetScratchDir() + "/Dex2OatSwapTest.jar"; local
2513 Copy(GetTestDexFileName(), dex_location);
2515 ASSERT_TRUE(GenerateOdexForTest(dex_location,