Home
last modified time | relevance | path

Searched refs:ClassLoaderContext (Results 1 – 16 of 16) sorted by relevance

/art/runtime/
Dclass_loader_context_test.cc45 void VerifyContextSize(ClassLoaderContext* context, size_t expected_size) { in VerifyContextSize()
50 void VerifyClassLoaderPCL(ClassLoaderContext* context, in VerifyClassLoaderPCL()
54 context, index, ClassLoaderContext::kPathClassLoader, classpath); in VerifyClassLoaderPCL()
57 void VerifyClassLoaderDLC(ClassLoaderContext* context, in VerifyClassLoaderDLC()
61 context, index, ClassLoaderContext::kDelegateLastClassLoader, classpath); in VerifyClassLoaderDLC()
64 void VerifyClassLoaderIMC(ClassLoaderContext* context, in VerifyClassLoaderIMC()
68 context, index, ClassLoaderContext::kInMemoryDexClassLoader, classpath); in VerifyClassLoaderIMC()
71 void VerifyClassLoaderSharedLibraryPCL(ClassLoaderContext* context, in VerifyClassLoaderSharedLibraryPCL()
76 context, loader_index, shared_library_index, ClassLoaderContext::kPathClassLoader, in VerifyClassLoaderSharedLibraryPCL()
80 void VerifyClassLoaderSharedLibraryIMC(ClassLoaderContext* context, in VerifyClassLoaderSharedLibraryIMC()
[all …]
Dclass_loader_context.h37 class ClassLoaderContext {
52 ~ClassLoaderContext();
116 ClassLoaderContext* stored_context = nullptr) const;
155 static std::unique_ptr<ClassLoaderContext> Create(const std::string& spec);
164 static std::unique_ptr<ClassLoaderContext> CreateContextForClassLoader(jobject class_loader,
169 static std::unique_ptr<ClassLoaderContext> Default();
197 ClassLoaderContext();
223 explicit ClassLoaderContext(bool owns_the_dex_files);
259 ClassLoaderContext* stored_context) const;
308 DISALLOW_COPY_AND_ASSIGN(ClassLoaderContext);
Dclass_loader_context.cc59 ClassLoaderContext::ClassLoaderContext() in ClassLoaderContext() function in art::ClassLoaderContext
65 ClassLoaderContext::ClassLoaderContext(bool owns_the_dex_files) in ClassLoaderContext() function in art::ClassLoaderContext
74 ClassLoaderContext::ClassLoaderInfo* info, in AddToWorkList()
75 std::vector<ClassLoaderContext::ClassLoaderInfo*>& work_list) { in AddToWorkList()
84 ClassLoaderContext::~ClassLoaderContext() { in ~ClassLoaderContext()
104 std::unique_ptr<ClassLoaderContext> ClassLoaderContext::Default() { in Default()
108 std::unique_ptr<ClassLoaderContext> ClassLoaderContext::Create(const std::string& spec) { in Create()
109 std::unique_ptr<ClassLoaderContext> result(new ClassLoaderContext()); in Create()
153 std::unique_ptr<ClassLoaderContext::ClassLoaderInfo> ClassLoaderContext::ParseClassLoaderSpec( in ParseClassLoaderSpec()
291 ClassLoaderContext::ClassLoaderType
[all …]
Doat_file_manager.h38 class ClassLoaderContext; variable
169 const ClassLoaderContext* context,
182 ClassLoaderContext* context,
Doat_file_assistant.h149 ClassLoaderContext* context = nullptr,
297 ClassLoaderContext* context,
339 bool ClassLoaderContextIsOkay(ClassLoaderContext* context, const std::vector<int>& context_fds);
Doat_file_manager.cc289 const ClassLoaderContext* context, in CheckClassCollision()
381 const ClassLoaderContext* context, in CheckCollision()
398 ClassLoaderContext::VerificationResult result = context->VerifyClassLoaderContextMatch( in CheckCollision()
403 case ClassLoaderContext::VerificationResult::kForcedToSkipChecks: in CheckCollision()
405 case ClassLoaderContext::VerificationResult::kMismatch: in CheckCollision()
408 case ClassLoaderContext::VerificationResult::kVerifies: in CheckCollision()
425 ClassLoaderContext* context, in ShouldLoadAppImage()
463 std::unique_ptr<ClassLoaderContext> context; in OpenDexFilesFromOat()
471 context = ClassLoaderContext::CreateContextForClassLoader(class_loader, dex_elements); in OpenDexFilesFromOat()
777 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::CreateContextForClassLoader( in OpenDexFilesFromOat_Impl()
Dvdex_file.h33 class ClassLoaderContext; variable
355 bool MatchesClassLoaderContext(const ClassLoaderContext& context) const;
Dvdex_file.cc457 bool VdexFile::MatchesClassLoaderContext(const ClassLoaderContext& context) const { in MatchesClassLoaderContext()
460 ClassLoaderContext::VerificationResult result = context.VerifyClassLoaderContextMatch(spec); in MatchesClassLoaderContext()
461 if (result != ClassLoaderContext::VerificationResult::kMismatch) { in MatchesClassLoaderContext()
Doat_file_assistant_test.cc149 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str); in TEST_F()
176 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str); in TEST_F()
188 std::unique_ptr<ClassLoaderContext> relative_context = in TEST_F()
189 ClassLoaderContext::Create("PCL[ContextDex.jar]"); in TEST_F()
1370 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str); in TEST_F()
1376 std::unique_ptr<ClassLoaderContext> updated_context = ClassLoaderContext::Create(context_str); in TEST_F()
Doat_file_assistant.cc189 ClassLoaderContext* class_loader_context, in GetDexOptNeeded()
818 ClassLoaderContext* context, in GetDexOptNeeded()
909 bool OatFileAssistant::OatFileInfo::ClassLoaderContextIsOkay(ClassLoaderContext* context, in ClassLoaderContextIsOkay()
933 ClassLoaderContext::VerificationResult::kMismatch; in ClassLoaderContextIsOkay()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc299 std::unique_ptr<ClassLoaderContext> class_loader_context; in GetDexOptNeeded()
301 class_loader_context = ClassLoaderContext::Create(context_str_); in GetDexOptNeeded()
348 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str_); in FlattenClassLoaderContext()
Ddexoptanalyzer_test.cc316 TEST_F(DexoptAnalyzerTest, ClassLoaderContext) { in TEST_F() argument
/art/runtime/native/
Ddalvik_system_DexFile.cc333 std::unique_ptr<ClassLoaderContext> context = in DexFile_getClassLoaderContext()
334 ClassLoaderContext::CreateContextForClassLoader(class_loader, dex_elements); in DexFile_getClassLoaderContext()
555 std::unique_ptr<ClassLoaderContext> context = nullptr; in GetDexOptNeeded()
557 context = ClassLoaderContext::Create(class_loader_context); in GetDexOptNeeded()
/art/dex2oat/
Ddex2oat_options.def88 DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContext)
Ddex2oat.cc1197 if (args.Exists(M::ClassLoaderContext)) { in ParseArgs()
1198 std::string class_loader_context_arg = *args.Get(M::ClassLoaderContext); in ParseArgs()
1199 class_loader_context_ = ClassLoaderContext::Create(class_loader_context_arg); in ParseArgs()
1217 stored_class_loader_context_ = ClassLoaderContext::Create(stored_context_arg); in ParseArgs()
1224 /*verify_checksums*/ false) != ClassLoaderContext::VerificationResult::kVerifies) { in ParseArgs()
1531 class_loader_context_ = ClassLoaderContext::Default(); in Setup()
2736 std::unique_ptr<ClassLoaderContext> class_loader_context_;
2743 std::unique_ptr<ClassLoaderContext> stored_class_loader_context_;
Ddex2oat_options.cc240 .IntoKey(M::ClassLoaderContext) in CreateArgumentParser()