HomeSort by relevance Sort by last modified time
    Searched refs:dex_location (Results 1 - 25 of 25) sorted by null

  /art/runtime/
oat_file_assistant_test.cc 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));
245 std::string dex_location = GetScratchDir() + "\/DexNoOat.jar"; local
246 Copy(GetDexSrc1(), dex_location); local
276 std::string dex_location = GetScratchDir() + "\/NoDexNoOat.jar"; local
297 std::string dex_location = GetScratchDir() + "\/OatUpToDate.jar"; local
298 Copy(GetDexSrc1(), dex_location); local
327 std::string dex_location = GetScratchDir() + "\/ProfileOatUpToDate.jar"; local
328 Copy(GetDexSrc1(), dex_location); local
353 std::string dex_location = GetScratchDir() + "\/ProfileOatOutOfDate.jar"; local
354 Copy(GetDexSrc1(), dex_location); local
379 std::string dex_location = GetScratchDir() + "\/MultiDexOatUpToDate.jar"; local
380 Copy(GetMultiDexSrc1(), dex_location); local
400 std::string dex_location = GetScratchDir() + "\/MultiDexSecondaryOutOfDate.jar"; local
403 Copy(GetMultiDexSrc1(), dex_location); local
408 Copy(GetMultiDexSrc2(), dex_location); local
420 std::string dex_location = GetScratchDir() + "\/RelativeEncodedDexLocation.jar"; local
424 Copy(GetMultiDexSrc1(), dex_location); local
451 std::string dex_location = GetScratchDir() + "\/OatOutOfDate.jar"; local
455 Copy(GetDexSrc1(), dex_location); local
457 Copy(GetDexSrc2(), dex_location); local
478 std::string dex_location = GetScratchDir() + "\/DexOdexNoOat.jar"; local
482 Copy(GetDexSrc1(), dex_location); local
511 std::string dex_location = GetScratchDir() + "\/StrippedDexOdexNoOat.jar"; local
515 Copy(GetDexSrc1(), dex_location); local
519 Copy(GetStrippedDexSrc1(), dex_location); local
565 std::string dex_location = GetScratchDir() + "\/StrippedDexOdexOat.jar"; local
569 Copy(GetDexSrc2(), dex_location); local
573 Copy(GetDexSrc1(), dex_location); local
577 Copy(GetStrippedDexSrc1(), dex_location); local
632 std::string dex_location = GetScratchDir() + "\/ResourceOnlyDex.jar"; local
634 Copy(GetStrippedDexSrc1(), dex_location); local
679 std::string dex_location = GetScratchDir() + "\/SelfRelocation.jar"; local
683 Copy(GetDexSrc1(), dex_location); local
738 std::string dex_location = GetScratchDir() + "\/NoSelfRelocation.jar"; local
742 Copy(GetDexSrc1(), dex_location); local
770 std::string dex_location = GetScratchDir() + "\/OdexOatOverlap.jar"; local
775 Copy(GetDexSrc1(), dex_location); local
811 std::string dex_location = GetScratchDir() + "\/DexPicOdexNoOat.jar"; local
815 Copy(GetDexSrc1(), dex_location); local
839 std::string dex_location = GetScratchDir() + "\/DexVerifyAtRuntimeOdexNoOat.jar"; local
843 Copy(GetDexSrc1(), dex_location); local
867 std::string dex_location = GetScratchDir() + "\/LoadOatUpToDate.jar"; local
869 Copy(GetDexSrc1(), dex_location); local
886 std::string dex_location = GetScratchDir() + "\/LoadExecInterpretOnlyOatUpToDate.jar"; local
888 Copy(GetDexSrc1(), dex_location); local
905 std::string dex_location = GetScratchDir() + "\/LoadNoExecOatUpToDate.jar"; local
907 Copy(GetDexSrc1(), dex_location); local
925 std::string dex_location = GetScratchDir() + "\/LoadDexNoAlternateOat.jar"; local
928 Copy(GetDexSrc1(), dex_location); local
953 std::string dex_location = GetScratchDir() + "\/LoadDexUnwriteableAlternateOat.jar"; local
959 Copy(GetDexSrc1(), dex_location); local
974 std::string dex_location = GetScratchDir() + "\/GenNoDex.jar"; local
1026 std::string dex_location = MakePathRelative(abs_dex_location); local
1043 std::string dex_location = "\/xx"; local
1068 std::string dex_location = GetScratchDir() + "\/LongDexExtension.jarx"; local
1069 Copy(GetDexSrc1(), dex_location); local
1128 std::string dex_location = GetScratchDir() + "\/RaceToGenerate.jar"; local
1160 std::string dex_location = GetScratchDir() + "\/LoadDexOdexNoOat.jar"; local
1164 Copy(GetDexSrc1(), dex_location); local
1182 std::string dex_location = GetScratchDir() + "\/LoadMultiDexOdexNoOat.jar"; local
1186 Copy(GetMultiDexSrc1(), dex_location); local
    [all...]
dex_cache_resolved_classes.h 29 DexCacheResolvedClasses(const std::string& dex_location,
32 : dex_location_(dex_location),
dex_file_test.cc 362 const char* dex_location = dex_location_str.c_str(); local
363 ASSERT_EQ("/system/app/framework.jar", DexFile::GetMultiDexLocation(0, dex_location));
365 DexFile::GetMultiDexLocation(1, dex_location));
367 DexFile::GetMultiDexLocation(100, dex_location));
373 std::string dex_location(dex_location_real.get());
375 ASSERT_EQ(dex_location, DexFile::GetDexCanonicalLocation(dex_location.c_str()));
376 std::string multidex_location = DexFile::GetMultiDexLocation(1, dex_location.c_str());
379 std::string dex_location_sym = dex_location + "symlink";
380 ASSERT_EQ(0, symlink(dex_location.c_str(), dex_location_sym.c_str()))
    [all...]
oat_file_manager.cc 542 const char* dex_location,
549 CHECK(dex_location != nullptr);
558 OatFileAssistant oat_file_assistant(dex_location,
606 << dex_location;
609 " load classes for " << dex_location;
617 LOG(WARNING) << "Dex location " << dex_location << " does not seem to include dex file. "
656 ScopedTrace trace2(StringPrintf("Adding image space for location %s", dex_location));
660 dex_location,
686 dex_files = oat_file_assistant.LoadDexFiles(*source_oat_file, dex_location);
698 if (!DexFile::Open(dex_location, dex_location, /*out*/ &error_msg, &dex_files))
    [all...]
oat_file_assistant.h 93 // The dex_location must not be null and should remain available and
95 // Typically the dex_location is the absolute path to the original,
98 // Note: Currently the dex_location must have an extension.
110 OatFileAssistant(const char* dex_location,
117 OatFileAssistant(const char* dex_location,
197 const OatFile& oat_file, const char* dex_location);
oat_file_manager.h 84 // Finds or creates the oat file holding dex_location. Then loads and returns
99 const char* dex_location,
oat_file_assistant.cc 65 OatFileAssistant::OatFileAssistant(const char* dex_location,
69 : OatFileAssistant(dex_location, nullptr, isa, profile_changed, load_executable)
72 OatFileAssistant::OatFileAssistant(const char* dex_location,
78 CHECK(dex_location != nullptr) << "OatFileAssistant: null dex location";
79 dex_location_.assign(dex_location);
269 const OatFile& oat_file, const char* dex_location) {
275 dex_location, nullptr, false);
278 << oat_file.GetLocation() << " for dex location " << dex_location;
291 std::string secondary_dex_location = DexFile::GetMultiDexLocation(i, dex_location);
794 // The odex file name is formed by replacing the dex_location extension wit
    [all...]
oat_file.cc     [all...]
oat_file.h 216 const OatDexFile* GetOatDexFile(const char* dex_location,
runtime.cc 886 const char* dex_location = dex_locations[i].c_str(); local
892 if (!DexFile::Open(dex_filename, dex_location, &error_msg, dex_files)) {
    [all...]
dex_file.cc     [all...]
runtime.h 478 void NotifyDexLoaded(const std::string& dex_location);
dex_file.h     [all...]
class_linker.h 147 const char* dex_location,
    [all...]
class_linker.cc     [all...]
  /art/compiler/utils/
test_dex_file_builder_test.cc 32 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());
test_dex_file_builder.h 82 std::unique_ptr<const DexFile> Build(const std::string& dex_location) {
232 &dex_file_data_[0], dex_file_data_.size(), dex_location, 0u, nullptr, false, &error_msg));
  /art/runtime/jit/
offline_profiling_info.cc 47 std::string ProfileCompilationInfo::GetProfileDexFileKey(const std::string& dex_location) {
48 DCHECK(!dex_location.empty());
49 size_t last_sep_index = dex_location.find_last_of('/');
51 return dex_location;
53 DCHECK(last_sep_index < dex_location.size());
54 return dex_location.substr(last_sep_index + 1);
167 3 * sizeof(uint16_t) + // method_set.size + class_set.size + dex_location.size
198 const std::string& dex_location = it.first; local
204 if (dex_location.size() >= kMaxDexFileKeyLength) {
213 dex_location.size()
256 const std::string dex_location = GetProfileDexFileKey(classes.GetDexLocation()); local
    [all...]
offline_profiling_info.h 80 static std::string GetProfileDexFileKey(const std::string& dex_location);
111 DexFileData* GetOrAddDexFileData(const std::string& dex_location, uint32_t checksum);
112 bool AddMethodIndex(const std::string& dex_location, uint32_t checksum, uint16_t method_idx);
113 bool AddClassIndex(const std::string& dex_location, uint32_t checksum, uint16_t class_idx);
119 std::string dex_location; member in struct:art::ProfileCompilationInfo::ProfileLineHeader
172 const std::string& dex_location);
profile_saver.cc 505 void ProfileSaver::NotifyDexUse(const std::string& dex_location) {
506 if (!ShouldProfileLocation(dex_location)) {
525 bool mark_created = MaybeRecordDexUseInternal(dex_location,
585 const std::string& dex_location,
589 if (dex_location.empty()) {
598 if (app_code_paths.find(dex_location) != app_code_paths.end()) {
603 if (app_data_dirs.find(dex_location) != app_data_dirs.end()) {
617 UniqueCPtr<const char[]> dex_location_real_path(realpath(dex_location.c_str(), nullptr));
619 PLOG(WARNING) << "Could not get realpath for " << dex_location;
profile_saver.h 47 static void NotifyDexUse(const std::string& dex_location);
103 const std::string& dex_location,
profile_compilation_info_test.cc 53 bool AddMethod(const std::string& dex_location,
57 return info->AddMethodIndex(dex_location, checksum, method_index);
60 bool AddClass(const std::string& dex_location,
64 return info->AddMethodIndex(dex_location, checksum, class_index);
179 ASSERT_TRUE(AddMethod("dex_location", /* checksum */ 1, /* method_idx */ 1, &info));
181 ASSERT_FALSE(AddMethod("dex_location", /* checksum */ 2, /* method_idx */ 2, &info));
188 ASSERT_TRUE(AddMethod("dex_location", /* checksum */ 1, /* method_idx */ 1, &info1));
191 ASSERT_TRUE(AddMethod("dex_location", /* checksum */ 2, /* method_idx */ 2, &info2));
  /art/dex2oat/
dex2oat_test.cc 47 void GenerateOdexForTest(const std::string& dex_location,
53 args.push_back("--dex-file=" + dex_location);
74 dex_location.c_str(),
91 dex_location.c_str(),
196 std::string dex_location = GetScratchDir() + "/Dex2OatSwapTest.jar"; local
199 Copy(GetDexSrc1(), dex_location); local
211 GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kSpeed, copy);
299 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; local
302 Copy(GetDexSrc1(), dex_location); local
306 GenerateOdexForTest(dex_location, odex_location, filter, copy)
    [all...]
dex2oat.cc 1540 std::string dex_location = dex_file->GetLocation(); local
    [all...]
  /frameworks/native/cmds/installd/
commands.cpp     [all...]

Completed in 753 milliseconds