Home
last modified time | relevance | path

Searched refs:ClassLoaderContext (Results 1 – 18 of 18) 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.h38 class ClassLoaderContext {
59 ~ClassLoaderContext();
123 ClassLoaderContext* stored_context = nullptr) const;
187 static std::unique_ptr<ClassLoaderContext> Create(const std::string& spec);
196 static std::unique_ptr<ClassLoaderContext> CreateContextForClassLoader(jobject class_loader,
201 static std::unique_ptr<ClassLoaderContext> Default();
242 ClassLoaderContext();
268 explicit ClassLoaderContext(bool owns_the_dex_files);
304 ClassLoaderContext* stored_context) const;
368 DISALLOW_COPY_AND_ASSIGN(ClassLoaderContext);
Dclass_loader_context.cc63 ClassLoaderContext::ClassLoaderContext() in ClassLoaderContext() function in art::ClassLoaderContext
69 ClassLoaderContext::ClassLoaderContext(bool owns_the_dex_files) in ClassLoaderContext() function in art::ClassLoaderContext
78 ClassLoaderContext::ClassLoaderInfo* info, in AddToWorkList()
79 std::vector<ClassLoaderContext::ClassLoaderInfo*>& work_list) { in AddToWorkList()
88 ClassLoaderContext::~ClassLoaderContext() { in ~ClassLoaderContext()
108 std::unique_ptr<ClassLoaderContext> ClassLoaderContext::Default() { in Default()
112 std::unique_ptr<ClassLoaderContext> ClassLoaderContext::Create(const std::string& spec) { in Create()
113 std::unique_ptr<ClassLoaderContext> result(new ClassLoaderContext()); in Create()
157 std::unique_ptr<ClassLoaderContext::ClassLoaderInfo> ClassLoaderContext::ParseClassLoaderSpec( in ParseClassLoaderSpec()
295 ClassLoaderContext::ClassLoaderType
[all …]
Doat_file_manager.h38 class ClassLoaderContext; variable
171 const ClassLoaderContext* context,
184 ClassLoaderContext* context,
Doat_file_assistant.h147 ClassLoaderContext* context,
295 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()
404 ClassLoaderContext::VerificationResult result = context->VerifyClassLoaderContextMatch( in CheckCollision()
409 case ClassLoaderContext::VerificationResult::kForcedToSkipChecks: in CheckCollision()
411 case ClassLoaderContext::VerificationResult::kMismatch: in CheckCollision()
414 case ClassLoaderContext::VerificationResult::kVerifies: in CheckCollision()
431 ClassLoaderContext* context, in ShouldLoadAppImage()
470 std::unique_ptr<ClassLoaderContext> context; in OpenDexFilesFromOat()
478 context = ClassLoaderContext::CreateContextForClassLoader(class_loader, dex_elements); in OpenDexFilesFromOat()
817 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::CreateContextForClassLoader( in OpenDexFilesFromOat_Impl()
Doat_file_assistant_test.cc81 ClassLoaderContext::Default(), in GetDexOptNeeded()
90 const std::unique_ptr<ClassLoaderContext>& context = ClassLoaderContext::Default(), in GetDexOptNeeded()
178 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str); in TEST_F()
205 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str); in TEST_F()
217 std::unique_ptr<ClassLoaderContext> relative_context = in TEST_F()
218 ClassLoaderContext::Create("PCL[ContextDex.jar]"); in TEST_F()
1397 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str); in TEST_F()
1412 std::unique_ptr<ClassLoaderContext> updated_context = ClassLoaderContext::Create(context_str); in TEST_F()
1422 std::unique_ptr<ClassLoaderContext> updated_context = ClassLoaderContext::Create(context_str); in TEST_F()
Dvdex_file.h33 class ClassLoaderContext; variable
357 bool MatchesClassLoaderContext(const ClassLoaderContext& context) const;
Dvdex_file.cc496 bool VdexFile::MatchesClassLoaderContext(const ClassLoaderContext& context) const { in MatchesClassLoaderContext()
499 ClassLoaderContext::VerificationResult result = context.VerifyClassLoaderContextMatch(spec); in MatchesClassLoaderContext()
500 if (result != ClassLoaderContext::VerificationResult::kMismatch) { in MatchesClassLoaderContext()
Doat_file_assistant.cc188 ClassLoaderContext* class_loader_context, in GetDexOptNeeded()
800 ClassLoaderContext* context, in GetDexOptNeeded()
894 bool OatFileAssistant::OatFileInfo::ClassLoaderContextIsOkay(ClassLoaderContext* context, in ClassLoaderContextIsOkay()
927 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.cc88 std::unique_ptr<ClassLoaderContext> context = class_loader_context == nullptr in Verify()
90 : ClassLoaderContext::Create(class_loader_context); in Verify()
323 TEST_F(DexoptAnalyzerTest, ClassLoaderContext) { in TEST_F() argument
/art/runtime/native/
Ddalvik_system_BaseDexClassLoader.cc42 ClassLoaderContext::EncodeClassPathContextsForClassLoader(class_loader); in BaseDexClassLoader_computeClassLoaderContextsNative()
Ddalvik_system_DexFile.cc334 std::unique_ptr<ClassLoaderContext> context = in DexFile_getClassLoaderContext()
335 ClassLoaderContext::CreateContextForClassLoader(class_loader, dex_elements); in DexFile_getClassLoaderContext()
556 std::unique_ptr<ClassLoaderContext> context = nullptr; in GetDexOptNeeded()
558 context = ClassLoaderContext::Create(class_loader_context); in GetDexOptNeeded()
Ddalvik_system_VMRuntime.cc775 return ClassLoaderContext::IsValidEncoding(encoded_class_loader_context.c_str()); in VMRuntime_isValidClassLoaderContext()
/art/dex2oat/
Ddex2oat_options.def88 DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContext)
Ddex2oat_options.cc244 .IntoKey(M::ClassLoaderContext) in CreateArgumentParser()
Ddex2oat.cc1379 if (args.Exists(M::ClassLoaderContext)) { in ParseArgs()
1380 std::string class_loader_context_arg = *args.Get(M::ClassLoaderContext); in ParseArgs()
1381 class_loader_context_ = ClassLoaderContext::Create(class_loader_context_arg); in ParseArgs()
1399 stored_class_loader_context_ = ClassLoaderContext::Create(stored_context_arg); in ParseArgs()
1406 /*verify_checksums*/ false) != ClassLoaderContext::VerificationResult::kVerifies) { in ParseArgs()
1855 class_loader_context_ = ClassLoaderContext::Default(); in Setup()
3000 std::unique_ptr<ClassLoaderContext> class_loader_context_;
3007 std::unique_ptr<ClassLoaderContext> stored_class_loader_context_;