Home
last modified time | relevance | path

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

/art/runtime/
Dclass_loader_context_test.cc41 void VerifyContextSize(ClassLoaderContext* context, size_t expected_size) { in VerifyContextSize()
46 void VerifyClassLoaderPCL(ClassLoaderContext* context, in VerifyClassLoaderPCL()
50 context, index, ClassLoaderContext::kPathClassLoader, classpath); in VerifyClassLoaderPCL()
53 void VerifyClassLoaderDLC(ClassLoaderContext* context, in VerifyClassLoaderDLC()
57 context, index, ClassLoaderContext::kDelegateLastClassLoader, classpath); in VerifyClassLoaderDLC()
60 void VerifyClassLoaderPCLFromTestDex(ClassLoaderContext* context, in VerifyClassLoaderPCLFromTestDex()
64 context, index, ClassLoaderContext::kPathClassLoader, test_name); in VerifyClassLoaderPCLFromTestDex()
67 void VerifyClassLoaderDLCFromTestDex(ClassLoaderContext* context, in VerifyClassLoaderDLCFromTestDex()
71 context, index, ClassLoaderContext::kDelegateLastClassLoader, test_name); in VerifyClassLoaderDLCFromTestDex()
88 ClassLoaderContext* context, in VerifyOpenDexFiles()
[all …]
Dclass_loader_context.h35 class ClassLoaderContext {
37 ~ClassLoaderContext();
92 ClassLoaderContext* stored_context = nullptr) const;
127 static std::unique_ptr<ClassLoaderContext> Create(const std::string& spec);
136 static std::unique_ptr<ClassLoaderContext> CreateContextForClassLoader(jobject class_loader,
141 static std::unique_ptr<ClassLoaderContext> Default();
171 ClassLoaderContext();
178 explicit ClassLoaderContext(bool owns_the_dex_files);
212 ClassLoaderContext* stored_context) const;
252 DISALLOW_COPY_AND_ASSIGN(ClassLoaderContext);
Dclass_loader_context.cc46 ClassLoaderContext::ClassLoaderContext() in ClassLoaderContext() function in art::ClassLoaderContext
52 ClassLoaderContext::ClassLoaderContext(bool owns_the_dex_files) in ClassLoaderContext() function in art::ClassLoaderContext
58 ClassLoaderContext::~ClassLoaderContext() { in ~ClassLoaderContext()
73 std::unique_ptr<ClassLoaderContext> ClassLoaderContext::Default() { in Default()
77 std::unique_ptr<ClassLoaderContext> ClassLoaderContext::Create(const std::string& spec) { in Create()
78 std::unique_ptr<ClassLoaderContext> result(new ClassLoaderContext()); in Create()
88 bool ClassLoaderContext::ParseClassLoaderSpec(const std::string& class_loader_spec, in ParseClassLoaderSpec()
137 ClassLoaderContext::ClassLoaderType
138 ClassLoaderContext::ExtractClassLoaderType(const std::string& class_loader_spec) { in ExtractClassLoaderType()
152 bool ClassLoaderContext::Parse(const std::string& spec, bool parse_checksums) { in Parse()
[all …]
Doat_file_assistant.h184 ClassLoaderContext* context = nullptr);
214 ClassLoaderContext* class_loader_context,
365 ClassLoaderContext* context);
406 bool ClassLoaderContextIsOkay(ClassLoaderContext* context);
450 const ClassLoaderContext* class_loader_context,
Doat_file_manager.h38 class ClassLoaderContext; variable
121 const ClassLoaderContext* context,
Doat_file_manager.cc359 const ClassLoaderContext* context, in HasCollisions()
410 std::unique_ptr<ClassLoaderContext> context; in OpenDexFilesFromOat()
418 context = ClassLoaderContext::CreateContextForClassLoader(class_loader, dex_elements); in OpenDexFilesFromOat()
448 ClassLoaderContext* actual_context = Runtime::Current()->GetClassPathString().empty() in OpenDexFilesFromOat()
Doat_file_assistant_test.cc45 static ClassLoaderContext* kSpecialSharedLibraryContext = nullptr;
1404 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str); in TEST_F()
1471 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str); in TEST_F()
1482 std::unique_ptr<ClassLoaderContext> updated_context = ClassLoaderContext::Create(context_str); in TEST_F()
1502 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str); in TEST_F()
1510 std::unique_ptr<ClassLoaderContext> relative_context = in TEST_F()
1511 ClassLoaderContext::Create("PCL[ContextDex.jar]"); in TEST_F()
Doat_file_assistant.cc212 ClassLoaderContext* class_loader_context) { in GetDexOptNeeded()
252 ClassLoaderContext* class_loader_context, in MakeUpToDate()
701 const ClassLoaderContext* class_loader_context, in GenerateOatFileNoChecks()
1104 ClassLoaderContext* context) { in GetDexOptNeeded()
1204 bool OatFileAssistant::OatFileInfo::ClassLoaderContextIsOkay(ClassLoaderContext* context) { in ClassLoaderContextIsOkay()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc198 class_loader_context_ = ClassLoaderContext::Create(context_str); in ParseArgs()
293 std::unique_ptr<ClassLoaderContext> class_loader_context_;
/art/dex2oat/
Ddex2oat_options.def90 DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContext)
Ddex2oat_options.cc247 .IntoKey(M::ClassLoaderContext) in CreateArgumentParser()
Ddex2oat.cc1266 if (args.Exists(M::ClassLoaderContext)) { in ParseArgs()
1267 std::string class_loader_context_arg = *args.Get(M::ClassLoaderContext); in ParseArgs()
1268 class_loader_context_ = ClassLoaderContext::Create(class_loader_context_arg); in ParseArgs()
1275 stored_class_loader_context_ = ClassLoaderContext::Create(stored_context_arg); in ParseArgs()
1606 class_loader_context_ = ClassLoaderContext::Default(); in Setup()
2874 std::unique_ptr<ClassLoaderContext> class_loader_context_;
2877 std::unique_ptr<ClassLoaderContext> stored_class_loader_context_;
/art/runtime/native/
Ddalvik_system_DexFile.cc497 std::unique_ptr<ClassLoaderContext> context = nullptr; in GetDexOptNeeded()
499 context = ClassLoaderContext::Create(class_loader_context); in GetDexOptNeeded()