/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 | 38 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);
|
D | class_loader_context.cc | 63 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 …]
|
D | oat_file_manager.h | 38 class ClassLoaderContext; variable 171 const ClassLoaderContext* context, 184 ClassLoaderContext* context,
|
D | oat_file_assistant.h | 147 ClassLoaderContext* context, 295 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() 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()
|
D | oat_file_assistant_test.cc | 81 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()
|
D | vdex_file.h | 33 class ClassLoaderContext; variable 357 bool MatchesClassLoaderContext(const ClassLoaderContext& context) const;
|
D | vdex_file.cc | 496 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()
|
D | oat_file_assistant.cc | 188 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/ |
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 | 88 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/ |
D | dalvik_system_BaseDexClassLoader.cc | 42 ClassLoaderContext::EncodeClassPathContextsForClassLoader(class_loader); in BaseDexClassLoader_computeClassLoaderContextsNative()
|
D | dalvik_system_DexFile.cc | 334 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()
|
D | dalvik_system_VMRuntime.cc | 775 return ClassLoaderContext::IsValidEncoding(encoded_class_loader_context.c_str()); in VMRuntime_isValidClassLoaderContext()
|
/art/dex2oat/ |
D | dex2oat_options.def | 88 DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContext)
|
D | dex2oat_options.cc | 244 .IntoKey(M::ClassLoaderContext) in CreateArgumentParser()
|
D | dex2oat.cc | 1379 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_;
|