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

/art/runtime/
H A Ddex_file_test.cc353 const char* dex_location = dex_location_str.c_str(); local
354 ASSERT_EQ("/system/app/framework.jar", DexFile::GetMultiDexClassesDexName(0, dex_location));
355 ASSERT_EQ("/system/app/framework.jar:classes2.dex", DexFile::GetMultiDexClassesDexName(1, dex_location));
356 ASSERT_EQ("/system/app/framework.jar:classes101.dex", DexFile::GetMultiDexClassesDexName(100, dex_location));
362 std::string dex_location(dex_location_real.get());
364 ASSERT_EQ(dex_location, DexFile::GetDexCanonicalLocation(dex_location.c_str()));
365 std::string multidex_location = DexFile::GetMultiDexClassesDexName(1, dex_location.c_str());
368 std::string dex_location_sym = dex_location + "symlink";
369 ASSERT_EQ(0, symlink(dex_location
[all...]
H A Doat_file.cc368 const OatFile::OatDexFile* OatFile::GetOatDexFile(const char* dex_location, argument
371 // NOTE: We assume here that the canonical location for a given dex_location never
380 StringPiece key(dex_location);
388 // This dex_location is not one of the dex locations directly mentioned in the
396 // We haven't seen this dex_location before, we must check the canonical location.
397 std::string dex_canonical_location = DexFile::GetDexCanonicalLocation(dex_location);
398 if (dex_canonical_location != dex_location) {
419 std::string dex_canonical_location = DexFile::GetDexCanonicalLocation(dex_location);
424 LOG(WARNING) << "Failed to find OatDexFile for DexFile " << dex_location
H A Ddex_file.cc960 std::string DexFile::GetMultiDexClassesDexName(size_t number, const char* dex_location) { argument
962 return dex_location;
964 return StringPrintf("%s" kMultiDexSeparatorString "classes%zu.dex", dex_location, number + 1);
968 std::string DexFile::GetDexCanonicalLocation(const char* dex_location) { argument
969 CHECK_NE(dex_location, static_cast<const char*>(nullptr));
970 std::string base_location = GetBaseLocation(dex_location);
971 const char* suffix = dex_location + base_location.size();
979 return dex_location;
H A Dclass_linker.cc697 const char* dex_location = dex_file.GetLocation().c_str(); local
699 return FindOpenedOatDexFile(nullptr, dex_location, &dex_location_checksum);
703 const char* dex_location,
715 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location,
730 // dex_location - the dex location used to generate the oat file
731 // dex_location_checksum - the checksum of the dex_location (may be null for pre-opted files)
736 const char* dex_location,
749 std::string next_name_str = DexFile::GetMultiDexClassesDexName(i, dex_location);
755 if ((i == 0) && (strcmp(next_name, dex_location) == 0)) {
774 " file'%s'", dex_location, next_location_checksu
702 FindOpenedOatDexFile(const char* oat_location, const char* dex_location, const uint32_t* dex_location_checksum) argument
735 LoadMultiDexFilesFromOatFile(const OatFile* oat_file, const char* dex_location, const uint32_t* dex_location_checksum, bool generated, std::vector<std::string>* error_msgs, std::vector<const DexFile*>* dex_files) argument
827 OpenDexFilesFromOat(const char* dex_location, const char* oat_location, std::vector<std::string>* error_msgs, std::vector<const DexFile*>* dex_files) argument
979 FindOatFileInOatLocationForDexFile(const char* dex_location, uint32_t dex_location_checksum, const char* oat_location, std::string* error_msg) argument
1044 CreateOatFileForDexLocation(const char* dex_location, int fd, const char* oat_location, std::vector<std::string>* error_msgs) argument
1048 VLOG(class_linker) << "Generating oat file " << oat_location << " for " << dex_location; local
1134 VerifyOatAndDexFileChecksums(const OatFile* oat_file, const char* dex_location, uint32_t dex_location_checksum, const InstructionSet instruction_set, std::string* error_msg) argument
1167 VerifyOatWithDexFile(const OatFile* oat_file, const char* dex_location, const uint32_t* dex_location_checksum, std::string* error_msg) argument
1198 FindOatFileContainingDexFileFromDexLocation( const char* dex_location, const uint32_t* dex_location_checksum, InstructionSet isa, std::vector<std::string>* error_msgs, bool* obsolete_file_cleanup_failed) argument
1247 OpenOatFileFromDexLocation(const std::string& dex_location, InstructionSet isa, bool *already_opened, bool *obsolete_file_cleanup_failed, std::vector<std::string>* error_msgs) argument
[all...]
/art/dex2oat/
H A Ddex2oat.cc600 const char* dex_location = dex_locations[i]; local
607 if (!DexFile::Open(dex_filename, dex_location, &error_msg, &dex_files)) {

Completed in 2289 milliseconds