• Home
  • Raw
  • Download

Lines Matching refs:dex_location

81     for (const std::string& dex_location : dex_locations) {  local
82 args.push_back("--dex-file=" + dex_location);
110 const std::string& dex_location, in GenerateOdexForTest() argument
116 return GenerateOdexForTest(dex_location,
129 const std::string& dex_location, in GenerateOdexForTest() argument
137 int status = GenerateOdexForTestWithStatus({dex_location}, in GenerateOdexForTest()
156 dex_location.c_str(), in GenerateOdexForTest()
179 dex_location.c_str(), in GenerateOdexForTest()
253 std::string dex_location = GetScratchDir() + "/Dex2OatSwapTest.jar"; local
256 Copy(GetTestDexFileName(), dex_location);
268 ASSERT_TRUE(GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kSpeed, copy));
485 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; local
489 Copy(GetDexSrc1(), dex_location);
493 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.c_str(), in CheckResult()
635 const std::string& dex_location, in GenerateProfile() argument
644 std::string profile_key = ProfileCompilationInfo::GetProfileDexFileKey(dex_location); in GenerateProfile()
653 void CompileProfileOdex(const std::string& dex_location, in CompileProfileOdex() argument
661 const char* location = dex_location.c_str();
670 dex_location,
684 ASSERT_TRUE(GenerateOdexForTest(dex_location,
708 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; in RunTest() local
711 Copy(GetDexSrc2(), dex_location); in RunTest()
715 CompileProfileOdex(dex_location, in RunTest()
728 CompileProfileOdex(dex_location, in RunTest()
735 CheckResult(dex_location, odex_location, app_image_file); in RunTest()
745 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; in RunTestVDex() local
749 Copy(GetDexSrc2(), dex_location); in RunTestVDex()
757 CompileProfileOdex(dex_location, in RunTestVDex()
769 CompileProfileOdex(dex_location, in RunTestVDex()
783 void CheckResult(const std::string& dex_location, in CheckResult() argument
793 dex_location.c_str(), in CheckResult()
798 const char* location = dex_location.c_str(); in CheckResult()
869 std::string dex_location = GetScratchDir() + "/UnquickenMultiDex.jar"; in RunUnquickenMultiDex() local
872 Copy(GetTestDexFileName("MultiDex"), dex_location); in RunUnquickenMultiDex()
880 ASSERT_TRUE(GenerateOdexForTest(dex_location, in RunUnquickenMultiDex()
892 ASSERT_TRUE(GenerateOdexForTest(dex_location, in RunUnquickenMultiDex()
900 CheckResult(dex_location, odex_location); in RunUnquickenMultiDex()
905 std::string dex_location = GetScratchDir() + "/UnquickenMultiDex.jar"; in RunUnquickenMultiDexCDex() local
910 Copy(GetTestDexFileName("MultiDex"), dex_location); in RunUnquickenMultiDexCDex()
921 ASSERT_TRUE(GenerateOdexForTest(dex_location, in RunUnquickenMultiDexCDex()
934 ASSERT_TRUE(GenerateOdexForTest(dex_location, in RunUnquickenMultiDexCDex()
943 CheckResult(dex_location, odex_location2); in RunUnquickenMultiDexCDex()
947 void CheckResult(const std::string& dex_location, const std::string& odex_location) { in CheckResult() argument
954 dex_location.c_str(), in CheckResult()
985 std::string dex_location = GetScratchDir() + "/Dex2OatSwapTest.jar"; local
988 Copy(GetTestDexFileName(), dex_location);
995 ASSERT_TRUE(GenerateOdexForTest(dex_location,
1032 std::string dex_location = GetScratchDir() + "/Dex2OatSwapTest.jar"; local
1035 Copy(GetTestDexFileName(), dex_location);
1038 return GenerateOdexForTestWithStatus({dex_location},
1063 std::string dex_location = GetUsedDexLocation(); in RunTest() local
1066 Copy(use_second_source ? GetDexSrc2() : GetDexSrc1(), dex_location); in RunTest()
1083 ASSERT_TRUE(GenerateOdexForTest(dex_location, in RunTest()
1499 const std::string dex_location = GetTestDexFileName("MultiDex"); in TEST_F() local
1502 { dex_location }, in TEST_F()
1514 dex_location.c_str(), in TEST_F()
1807 const std::string& dex_location = apk_file.GetFilename(); in TEST_F() local
1809 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1817 std::string dex_location = GetScratchDir() + "/Dex2OatStderrLoggerTest.jar"; in TEST_F() local
1821 Copy(GetDexSrc1(), dex_location); in TEST_F()
1823 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1834 std::string dex_location = GetScratchDir() + "/Dex2OatCompilationReason.jar"; in TEST_F() local
1838 Copy(GetDexSrc1(), dex_location); in TEST_F()
1840 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1851 dex_location.c_str(), in TEST_F()
1859 std::string dex_location = GetScratchDir() + "/Dex2OatNoCompilationReason.jar"; in TEST_F() local
1863 Copy(GetDexSrc1(), dex_location); in TEST_F()
1865 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1876 dex_location.c_str(), in TEST_F()
1887 const std::string dex_location = dex->GetLocation(); in TEST_F() local
1890 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
1912 dex_location.c_str(), in TEST_F()
1915 ASSERT_TRUE(odex_file != nullptr) << dex_location; in TEST_F()
1947 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
2000 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F() local
2008 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
2024 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
2076 const std::string& dex_location = invalid_dex.GetFilename(); in TEST_F() local
2080 {dex_location}, in TEST_F()
2172 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F() local
2231 ASSERT_TRUE(GenerateOdexForTest(dex_location, in TEST_F()
2372 std::string dex_location = GetScratchDir() + "/Dex2OatSwapTest.jar"; local
2375 Copy(GetTestDexFileName(), dex_location);
2377 ASSERT_TRUE(GenerateOdexForTest(dex_location,