Searched defs:dex_location (Results 1 - 10 of 10) sorted by relevance

/art/compiler/utils/
H A Dtest_dex_file_builder_test.cc32 const char* dex_location = "TestDexFileBuilder/SimpleTest"; local
33 std::unique_ptr<const DexFile> dex_file(builder.Build(dex_location));
35 EXPECT_STREQ(dex_location, dex_file->GetLocation().c_str());
H A Dtest_dex_file_builder.h81 std::unique_ptr<const DexFile> Build(const std::string& dex_location) { argument
217 &dex_file_data_[0], dex_file_data_.size(), dex_location, 0u, nullptr, &error_msg));
/art/runtime/
H A Ddex_file_test.cc361 const char* dex_location = dex_location_str.c_str(); local
362 ASSERT_EQ("/system/app/framework.jar", DexFile::GetMultiDexLocation(0, dex_location));
364 DexFile::GetMultiDexLocation(1, dex_location));
366 DexFile::GetMultiDexLocation(100, dex_location));
372 std::string dex_location(dex_location_real.get());
374 ASSERT_EQ(dex_location, DexFile::GetDexCanonicalLocation(dex_location.c_str()));
375 std::string multidex_location = DexFile::GetMultiDexLocation(1, dex_location.c_str());
378 std::string dex_location_sym = dex_location + "symlink";
379 ASSERT_EQ(0, symlink(dex_location
[all...]
H A Doat_file_assistant_test.cc189 void GenerateOdexForTest(const std::string& dex_location, argument
197 args.push_back("--dex-file=" + dex_location);
215 void GeneratePicOdexForTest(const std::string& dex_location, argument
217 GenerateOdexForTest(dex_location, odex_location, true);
284 static void GenerateOatForTest(const char* dex_location) { argument
285 OatFileAssistant oat_file_assistant(dex_location, kRuntimeISA, false);
294 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; local
295 Copy(GetDexSrc1(), dex_location); local
297 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false);
318 std::string dex_location local
337 std::string dex_location = GetScratchDir() + "/OatUpToDate.jar"; local
338 Copy(GetDexSrc1(), dex_location); local
359 std::string dex_location = GetScratchDir() + "/MultiDexOatUpToDate.jar"; local
360 Copy(GetMultiDexSrc1(), dex_location); local
379 std::string dex_location = GetScratchDir() + "/MultiDexSecondaryOutOfDate.jar"; local
382 Copy(GetMultiDexSrc1(), dex_location); local
387 Copy(GetMultiDexSrc2(), dex_location); local
398 std::string dex_location = GetScratchDir() + "/RelativeEncodedDexLocation.jar"; local
402 Copy(GetMultiDexSrc1(), dex_location); local
428 std::string dex_location = GetScratchDir() + "/OatOutOfDate.jar"; local
432 Copy(GetDexSrc1(), dex_location); local
434 Copy(GetDexSrc2(), dex_location); local
452 std::string dex_location = GetScratchDir() + "/DexOdexNoOat.jar"; local
456 Copy(GetDexSrc1(), dex_location); local
478 std::string dex_location = GetScratchDir() + "/StrippedDexOdexNoOat.jar"; local
482 Copy(GetDexSrc1(), dex_location); local
486 Copy(GetStrippedDexSrc1(), dex_location); local
529 std::string dex_location = GetScratchDir() + "/StrippedDexOdexOat.jar"; local
533 Copy(GetDexSrc2(), dex_location); local
537 Copy(GetDexSrc1(), dex_location); local
541 Copy(GetStrippedDexSrc1(), dex_location); local
587 std::string dex_location = GetScratchDir() + "/ResourceOnlyDex.jar"; local
589 Copy(GetStrippedDexSrc1(), dex_location); local
627 std::string dex_location = GetScratchDir() + "/SelfRelocation.jar"; local
631 Copy(GetDexSrc1(), dex_location); local
679 std::string dex_location = GetScratchDir() + "/OdexOatOverlap.jar"; local
684 Copy(GetDexSrc1(), dex_location); local
731 std::string dex_location = GetScratchDir() + "/DexPicOdexNoOat.jar"; local
735 Copy(GetDexSrc1(), dex_location); local
756 std::string dex_location = GetScratchDir() + "/LoadOatUpToDate.jar"; local
758 Copy(GetDexSrc1(), dex_location); local
775 std::string dex_location = GetScratchDir() + "/LoadNoExecOatUpToDate.jar"; local
777 Copy(GetDexSrc1(), dex_location); local
795 std::string dex_location = GetScratchDir() + "/LoadDexNoAlternateOat.jar"; local
798 Copy(GetDexSrc1(), dex_location); local
861 std::string dex_location = MakePathRelative(abs_dex_location); local
877 std::string dex_location = "/xx"; local
900 std::string dex_location = GetScratchDir() + "/LongDexExtension.jarx"; local
901 Copy(GetDexSrc1(), dex_location); local
919 RaceGenerateTask(const std::string& dex_location, const std::string& oat_location) argument
954 std::string dex_location = GetScratchDir() + "/RaceToGenerate.jar"; local
959 Copy(GetLibCoreDexFileName(), dex_location); local
984 std::string dex_location = GetScratchDir() + "/LoadDexOdexNoOat.jar"; local
988 Copy(GetDexSrc1(), dex_location); local
1006 std::string dex_location = GetScratchDir() + "/LoadMultiDexOdexNoOat.jar"; local
1010 Copy(GetMultiDexSrc1(), dex_location); local
[all...]
H A Doat_file.cc528 const OatFile::OatDexFile* OatFile::GetOatDexFile(const char* dex_location, argument
531 // NOTE: We assume here that the canonical location for a given dex_location never
540 StringPiece key(dex_location);
548 // This dex_location is not one of the dex locations directly mentioned in the
556 // We haven't seen this dex_location before, we must check the canonical location.
557 std::string dex_canonical_location = DexFile::GetDexCanonicalLocation(dex_location);
558 if (dex_canonical_location != dex_location) {
579 std::string dex_canonical_location = DexFile::GetDexCanonicalLocation(dex_location);
584 LOG(WARNING) << "Failed to find OatDexFile for DexFile " << dex_location
H A Doat_file_assistant.cc46 OatFileAssistant::OatFileAssistant(const char* dex_location, argument
49 : OatFileAssistant(dex_location, nullptr, isa, load_executable, nullptr) { }
51 OatFileAssistant::OatFileAssistant(const char* dex_location, argument
55 : OatFileAssistant(dex_location, oat_location, isa, load_executable, nullptr) { }
57 OatFileAssistant::OatFileAssistant(const char* dex_location, argument
61 : OatFileAssistant(dex_location, nullptr, isa, load_executable, package_name) { }
63 OatFileAssistant::OatFileAssistant(const char* dex_location, argument
68 : dex_location_(dex_location), isa_(isa),
205 const OatFile& oat_file, const char* dex_location) {
211 dex_location, nullpt
204 LoadDexFiles( const OatFile& oat_file, const char* dex_location) argument
[all...]
H A Ddex_file.cc1023 std::string DexFile::GetMultiDexLocation(size_t index, const char* dex_location) { argument
1025 return dex_location;
1027 return StringPrintf("%s" kMultiDexSeparatorString "classes%zu.dex", dex_location, index + 1);
1031 std::string DexFile::GetDexCanonicalLocation(const char* dex_location) { argument
1032 CHECK_NE(dex_location, static_cast<const char*>(nullptr));
1033 std::string base_location = GetBaseLocation(dex_location);
1034 const char* suffix = dex_location + base_location.size();
1042 return dex_location;
H A Druntime.cc768 const char* dex_location = dex_locations[i].c_str(); local
774 if (!DexFile::Open(dex_filename, dex_location, &error_msg, dex_files)) {
H A Dclass_linker.cc903 const char* dex_location, const char* oat_location,
911 OatFileAssistant oat_file_assistant(dex_location, oat_location, kRuntimeISA,
953 << dex_location;
956 " load classes for " << dex_location;
962 if (!DexFile::MaybeDex(dex_location)) {
964 LOG(WARNING) << "Dex location " << dex_location << " does not seem to include dex file. "
980 dex_files = oat_file_assistant.LoadDexFiles(*source_oat_file, dex_location);
992 if (!DexFile::Open(dex_location, dex_location, &error_msg, &dex_files)) {
994 error_msgs->push_back("Failed to open dex files from " + std::string(dex_location));
902 OpenDexFilesFromOat( const char* dex_location, const char* oat_location, std::vector<std::string>* error_msgs) argument
[all...]
/art/dex2oat/
H A Ddex2oat.cc1631 const char* dex_location = dex_locations[i]; local
1638 if (!DexFile::Open(dex_filename, dex_location, &error_msg, dex_files)) {

Completed in 138 milliseconds