/art/runtime/ |
D | class_loader_context_test.cc | 45 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 …]
|
D | class_loader_context.h | 37 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);
|
D | class_loader_context.cc | 59 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 …]
|
D | oat_file_manager.h | 38 class ClassLoaderContext; variable 169 const ClassLoaderContext* context, 182 ClassLoaderContext* context,
|
D | oat_file_assistant.h | 149 ClassLoaderContext* context = nullptr, 297 ClassLoaderContext* context, 339 bool ClassLoaderContextIsOkay(ClassLoaderContext* context, const std::vector<int>& context_fds);
|
D | oat_file_manager.cc | 289 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()
|
D | vdex_file.h | 33 class ClassLoaderContext; variable 355 bool MatchesClassLoaderContext(const ClassLoaderContext& context) const;
|
D | vdex_file.cc | 457 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()
|
D | oat_file_assistant_test.cc | 149 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()
|
D | oat_file_assistant.cc | 189 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/ |
D | dexoptanalyzer.cc | 299 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()
|
D | dexoptanalyzer_test.cc | 316 TEST_F(DexoptAnalyzerTest, ClassLoaderContext) { in TEST_F() argument
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 333 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/ |
D | dex2oat_options.def | 88 DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContext)
|
D | dex2oat.cc | 1197 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_;
|
D | dex2oat_options.cc | 240 .IntoKey(M::ClassLoaderContext) in CreateArgumentParser()
|