Lines Matching refs:dex_location
83 void GenerateOdexForTest(const std::string& dex_location,
93 args.push_back("--dex-file=" + dex_location);
119 dex_location.c_str(),
140 void GeneratePicOdexForTest(const std::string& dex_location,
143 GenerateOdexForTest(dex_location, odex_location, filter, true, false);
148 void GenerateNoPatchOdexForTest(const std::string& dex_location,
151 GenerateOdexForTest(dex_location, odex_location, filter, false, false);
214 static void GenerateOatForTest(const char* dex_location, CompilerFilter::Filter filter) {
216 OatFileAssistant ofa(dex_location, kRuntimeISA, false, false);
221 args.push_back("--dex-file=" + std::string(dex_location));
236 dex_location,
245 std::string dex_location = GetScratchDir() + "/DexNoOat.jar";
246 Copy(GetDexSrc1(), dex_location);
248 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false);
276 std::string dex_location = GetScratchDir() + "/NoDexNoOat.jar";
278 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true);
297 std::string dex_location = GetScratchDir() + "/OatUpToDate.jar";
298 Copy(GetDexSrc1(), dex_location);
299 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed);
301 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false);
327 std::string dex_location = GetScratchDir() + "/ProfileOatUpToDate.jar";
328 Copy(GetDexSrc1(), dex_location);
329 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeedProfile);
331 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false);
353 std::string dex_location = GetScratchDir() + "/ProfileOatOutOfDate.jar";
354 Copy(GetDexSrc1(), dex_location);
355 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeedProfile);
357 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true, false);
379 std::string dex_location = GetScratchDir() + "/MultiDexOatUpToDate.jar";
380 Copy(GetMultiDexSrc1(), dex_location);
381 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed);
383 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true);
393 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());
400 std::string dex_location = GetScratchDir() + "/MultiDexSecondaryOutOfDate.jar";
403 Copy(GetMultiDexSrc1(), dex_location);
404 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed);
408 Copy(GetMultiDexSrc2(), dex_location);
410 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true);
420 std::string dex_location = GetScratchDir() + "/RelativeEncodedDexLocation.jar";
424 Copy(GetMultiDexSrc1(), dex_location);
428 args.push_back("--dex-file=" + dex_location);
437 OatFileAssistant oat_file_assistant(dex_location.c_str(),
444 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());
451 std::string dex_location = GetScratchDir() + "/OatOutOfDate.jar";
455 Copy(GetDexSrc1(), dex_location);
456 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed);
457 Copy(GetDexSrc2(), dex_location);
459 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false);
478 std::string dex_location = GetScratchDir() + "/DexOdexNoOat.jar";
482 Copy(GetDexSrc1(), dex_location);
483 GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kSpeed);
486 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false);
511 std::string dex_location = GetScratchDir() + "/StrippedDexOdexNoOat.jar";
515 Copy(GetDexSrc1(), dex_location);
516 GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kSpeed);
519 Copy(GetStrippedDexSrc1(), dex_location);
522 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true);
558 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());
565 std::string dex_location = GetScratchDir() + "/StrippedDexOdexOat.jar";
569 Copy(GetDexSrc2(), dex_location);
570 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed);
573 Copy(GetDexSrc1(), dex_location);
574 GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kSpeed);
577 Copy(GetStrippedDexSrc1(), dex_location);
580 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true);
625 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());
632 std::string dex_location = GetScratchDir() + "/ResourceOnlyDex.jar";
634 Copy(GetStrippedDexSrc1(), dex_location);
637 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true);
679 std::string dex_location = GetScratchDir() + "/SelfRelocation.jar";
683 Copy(GetDexSrc1(), dex_location);
684 GenerateOdexForTest(dex_location, oat_location, CompilerFilter::kSpeed);
686 OatFileAssistant oat_file_assistant(dex_location.c_str(),
730 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());
738 std::string dex_location = GetScratchDir() + "/NoSelfRelocation.jar";
742 Copy(GetDexSrc1(), dex_location);
743 GenerateNoPatchOdexForTest(dex_location, oat_location, CompilerFilter::kSpeed);
745 OatFileAssistant oat_file_assistant(dex_location.c_str(),
762 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());
770 std::string dex_location = GetScratchDir() + "/OdexOatOverlap.jar";
775 Copy(GetDexSrc1(), dex_location);
776 GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kSpeed);
783 OatFileAssistant oat_file_assistant(dex_location.c_str(),
804 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());
811 std::string dex_location = GetScratchDir() + "/DexPicOdexNoOat.jar";
815 Copy(GetDexSrc1(), dex_location);
816 GeneratePicOdexForTest(dex_location, odex_location, CompilerFilter::kSpeed);
819 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false);
839 std::string dex_location = GetScratchDir() + "/DexVerifyAtRuntimeOdexNoOat.jar";
843 Copy(GetDexSrc1(), dex_location);
844 GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kVerifyAtRuntime);
847 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false);
867 std::string dex_location = GetScratchDir() + "/LoadOatUpToDate.jar";
869 Copy(GetDexSrc1(), dex_location);
870 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed);
873 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true);
879 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());
886 std::string dex_location = GetScratchDir() + "/LoadExecInterpretOnlyOatUpToDate.jar";
888 Copy(GetDexSrc1(), dex_location);
889 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kInterpretOnly);
892 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true);
898 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());
905 std::string dex_location = GetScratchDir() + "/LoadNoExecOatUpToDate.jar";
907 Copy(GetDexSrc1(), dex_location);
908 GenerateOatForTest(dex_location.c_str(), CompilerFilter::kSpeed);
911 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false);
917 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());
925 std::string dex_location = GetScratchDir() + "/LoadDexNoAlternateOat.jar";
928 Copy(GetDexSrc1(), dex_location);
931 dex_location.c_str(), oat_location.c_str(), kRuntimeISA, false, true);
940 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());
946 OatFileAssistant ofm(dex_location.c_str(), kRuntimeISA, false, false);
953 std::string dex_location = GetScratchDir() + "/LoadDexUnwriteableAlternateOat.jar";
959 Copy(GetDexSrc1(), dex_location);
962 dex_location.c_str(), oat_location.c_str(), kRuntimeISA, false, true);
974 std::string dex_location = GetScratchDir() + "/GenNoDex.jar";
978 dex_location.c_str(), oat_location.c_str(), kRuntimeISA, false, true);
1026 std::string dex_location = MakePathRelative(abs_dex_location);
1027 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true);
1043 std::string dex_location = "/xx";
1045 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true);
1068 std::string dex_location = GetScratchDir() + "/LongDexExtension.jarx";
1069 Copy(GetDexSrc1(), dex_location);
1071 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false);
1088 explicit RaceGenerateTask(const std::string& dex_location, const std::string& oat_location)
1089 : dex_location_(dex_location), oat_location_(oat_location), loaded_oat_file_(nullptr)
1128 std::string dex_location = GetScratchDir() + "/RaceToGenerate.jar";
1133 Copy(GetLibCoreDexFileNames()[0], dex_location);
1140 std::unique_ptr<RaceGenerateTask> task(new RaceGenerateTask(dex_location, oat_location));
1160 std::string dex_location = GetScratchDir() + "/LoadDexOdexNoOat.jar";
1164 Copy(GetDexSrc1(), dex_location);
1165 GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kSpeed);
1168 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true);
1174 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());
1182 std::string dex_location = GetScratchDir() + "/LoadMultiDexOdexNoOat.jar";
1186 Copy(GetMultiDexSrc1(), dex_location);
1187 GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kSpeed);
1190 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true);
1196 dex_files = oat_file_assistant.LoadDexFiles(*oat_file, dex_location.c_str());