/art/runtime/mirror/ |
D | class_loader.h | 29 class MANAGED ClassLoader : public Object { 33 return sizeof(ClassLoader); in InstanceSize() 35 ClassLoader* GetParent() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetParent() 36 return GetFieldObject<ClassLoader>(OFFSET_OF_OBJECT_MEMBER(ClassLoader, parent_)); in GetParent() 42 HeapReference<ClassLoader> parent_; 46 DISALLOW_IMPLICIT_CONSTRUCTORS(ClassLoader);
|
D | object_test.cc | 332 Handle<mirror::ClassLoader> loader(hs.NewHandle(soa.Decode<ClassLoader*>(class_loader))); in TEST_F() 466 Handle<ClassLoader> class_loader_1(hs.NewHandle(soa.Decode<ClassLoader*>(jclass_loader_1))); in TEST_F() 467 Handle<ClassLoader> class_loader_2(hs.NewHandle(soa.Decode<ClassLoader*>(jclass_loader_2))); in TEST_F() 529 Handle<ClassLoader> class_loader(hs.NewHandle(soa.Decode<ClassLoader*>(jclass_loader))); in TEST_F() 564 Handle<ClassLoader> class_loader(hs.NewHandle(soa.Decode<ClassLoader*>(jclass_loader))); in TEST_F() 602 Handle<ClassLoader> class_loader(hs.NewHandle(soa.Decode<ClassLoader*>(jclass_loader))); in TEST_F()
|
/art/test/071-dexfile/src/ |
D | Main.java | 68 ClassLoader dexClassLoader = getDexClassLoader(); in testDexClassLoader() 80 private static ClassLoader getDexClassLoader() throws Exception { in getDexClassLoader() 81 ClassLoader classLoader = Main.class.getClassLoader(); in getDexClassLoader() 86 ClassLoader.class); in getDexClassLoader() 88 …return (ClassLoader) DexClassLoader_init.newInstance(CLASS_PATH, getOdexDir(), LIB_DIR, classLoade… in getDexClassLoader() 92 ClassLoader classLoader = Main.class.getClassLoader(); in testDexFile()
|
/art/test/086-null-super/src/ |
D | Main.java | 47 static class BrokenDexLoader extends ClassLoader { 60 public BrokenDexLoader(ClassLoader parent) { in BrokenDexLoader() 78 Class mDexClass = ClassLoader.getSystemClassLoader(). in findDexClass() 85 new Class[] { String.class, ClassLoader.class }); in findDexClass() 152 loader = new BrokenDexLoader(ClassLoader.getSystemClassLoader()); in testFailLoadAndGc()
|
/art/compiler/ |
D | common_compiler_test.h | 28 class ClassLoader; variable 51 void MakeExecutable(mirror::ClassLoader* class_loader, const char* class_name) 61 void CompileClass(mirror::ClassLoader* class_loader, const char* class_name) 66 void CompileDirectMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name, 70 void CompileVirtualMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name,
|
D | common_compiler_test.cc | 267 void CommonCompilerTest::MakeExecutable(mirror::ClassLoader* class_loader, const char* class_name) { in MakeExecutable() 271 Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader)); in MakeExecutable() 348 void CommonCompilerTest::CompileClass(mirror::ClassLoader* class_loader, const char* class_name) { in CompileClass() 352 Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader)); in CompileClass() 372 void CommonCompilerTest::CompileDirectMethod(Handle<mirror::ClassLoader> class_loader, in CompileDirectMethod() 385 void CommonCompilerTest::CompileVirtualMethod(Handle<mirror::ClassLoader> class_loader, const char*… in CompileVirtualMethod()
|
/art/test/087-gc-after-link/src/ |
D | Main.java | 47 static class BrokenDexLoader extends ClassLoader { 60 public BrokenDexLoader(ClassLoader parent) { in BrokenDexLoader() 81 dexClass = ClassLoader.getSystemClassLoader(). in findDexClass() 87 new Class[] { String.class, ClassLoader.class }); in findDexClass() 161 loader = new BrokenDexLoader(ClassLoader.getSystemClassLoader()); in testFailLoadAndGc()
|
/art/test/068-classloader/src/ |
D | Main.java | 27 loader = new FancyLoader(ClassLoader.getSystemClassLoader()); in main() 67 static void testAccess1(ClassLoader loader) { in testAccess1() 97 static void testAccess2(ClassLoader loader) { in testAccess2() 117 static void testAccess3(ClassLoader loader) { in testAccess3() 137 static void testExtend(ClassLoader loader) { in testExtend() 186 static void testExtendOkay(ClassLoader loader) { in testExtendOkay() 234 static void testInterface(ClassLoader loader) { in testInterface() 280 static void testAbstract(ClassLoader loader) { in testAbstract() 325 static void testImplement(ClassLoader loader) { in testImplement() 383 static void testIfaceImplement(ClassLoader loader) { in testIfaceImplement()
|
D | FancyLoader.java | 36 public class FancyLoader extends ClassLoader { 52 public FancyLoader(ClassLoader parent) { in FancyLoader() 115 new Class[] { String.class, ClassLoader.class }); in findClassDalvik()
|
/art/compiler/driver/ |
D | compiler_driver-inl.h | 38 inline mirror::ClassLoader* CompilerDriver::GetClassLoader(ScopedObjectAccess& soa, in GetClassLoader() 40 return soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()); in GetClassLoader() 45 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit) { in ResolveCompilingMethodsClass() 47 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveCompilingMethodsClass() 62 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, in ResolveField() 65 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveField() 169 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, in ResolveMethod() 172 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveMethod() 211 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, in IsFastInvoke()
|
D | compiler_driver_test.cc | 85 Handle<mirror::ClassLoader> loader( in MakeDexFileExecutable() 86 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(class_loader))); in MakeDexFileExecutable() 158 CompileVirtualMethod(NullHandle<mirror::ClassLoader>(), "java.lang.Class", "isFinalizable", in TEST_F() 160 CompileDirectMethod(NullHandle<mirror::ClassLoader>(), "java.lang.Object", "<init>", "()V"); in TEST_F()
|
D | compiler_driver.cc | 520 Thread* self, Handle<mirror::ClassLoader> class_loader, const DexFile& dex_file, in GetDexToDexCompilationlevel() 583 Handle<mirror::ClassLoader> class_loader( in CompileOne() 584 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(jclass_loader))); in CompileOne() 757 NullHandle<mirror::ClassLoader>()))); in LoadImageClasses() 1075 Handle<mirror::ClassLoader> class_loader_handle( in ComputeInstanceFieldInfo() 1076 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()))); in ComputeInstanceFieldInfo() 1127 Handle<mirror::ClassLoader> class_loader_handle( in ComputeStaticFieldInfo() 1128 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()))); in ComputeStaticFieldInfo() 1293 Handle<mirror::ClassLoader> class_loader(hs.NewHandle( in ComputeInvokeInfo() 1294 soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()))); in ComputeInvokeInfo() [all …]
|
/art/runtime/ |
D | class_linker.h | 43 class ClassLoader; variable 76 Handle<mirror::ClassLoader> class_loader) 83 Handle<mirror::ClassLoader> class_loader) 100 Handle<mirror::ClassLoader> class_loader, 107 mirror::ClassLoader* class_loader) 120 bool RemoveClass(const char* descriptor, mirror::ClassLoader* class_loader) 169 Handle<mirror::ClassLoader> class_loader) 180 Handle<mirror::ClassLoader> class_loader, 206 Handle<mirror::ClassLoader> class_loader, 216 Handle<mirror::ClassLoader> class_loader) [all …]
|
D | class_linker-inl.h | 33 return FindClass(self, descriptor, NullHandle<mirror::ClassLoader>()); in FindSystemClass() 49 Handle<mirror::ClassLoader> class_loader(hs.NewHandle((*element_class)->GetClassLoader())); in FindArrayClass() 82 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveType() 98 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveType() 127 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveMethod() 149 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveField()
|
D | class_linker_test.cc | 103 mirror::ClassLoader* class_loader) in AssertArrayClass() 107 Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader)); in AssertArrayClass() 322 void AssertDexFileClass(mirror::ClassLoader* class_loader, const std::string& descriptor) in AssertDexFileClass() 342 void AssertDexFile(const DexFile* dex, mirror::ClassLoader* class_loader) in AssertDexFile() 556 struct ClassLoaderOffsets : public CheckOffsets<mirror::ClassLoader> { 557 ClassLoaderOffsets() : CheckOffsets<mirror::ClassLoader>(false, "Ljava/lang/ClassLoader;") { in ClassLoaderOffsets() 558 offsets.push_back(CheckOffset(OFFSETOF_MEMBER(mirror::ClassLoader, packages_), "packages")); in ClassLoaderOffsets() 559 offsets.push_back(CheckOffset(OFFSETOF_MEMBER(mirror::ClassLoader, parent_), "parent")); in ClassLoaderOffsets() 560 offsets.push_back(CheckOffset(OFFSETOF_MEMBER(mirror::ClassLoader, proxyCache_), "proxyCache")); in ClassLoaderOffsets() 627 Handle<mirror::ClassLoader> class_loader( in TEST_F() [all …]
|
D | transaction_test.cc | 106 Handle<mirror::ClassLoader> class_loader( in TEST_F() 107 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Transaction")))); in TEST_F() 201 Handle<mirror::ClassLoader> class_loader( in TEST_F() 202 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Transaction")))); in TEST_F() 301 Handle<mirror::ClassLoader> class_loader( in TEST_F() 302 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Transaction")))); in TEST_F() 415 Handle<mirror::ClassLoader> class_loader( in TEST_F() 416 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Transaction")))); in TEST_F() 435 Handle<mirror::ClassLoader> class_loader( in TEST_F() 436 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Transaction")))); in TEST_F() [all …]
|
D | proxy_test.cc | 113 Handle<mirror::ClassLoader> class_loader( in TEST_F() 114 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(jclass_loader))); in TEST_F() 147 Handle<mirror::ClassLoader> class_loader( in TEST_F() 148 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(jclass_loader))); in TEST_F()
|
/art/runtime/verifier/ |
D | reg_type_cache.h | 33 class ClassLoader; variable 55 RegType& From(mirror::ClassLoader* loader, const char* descriptor, bool precise) 65 RegType& FromDescriptor(mirror::ClassLoader* loader, const char* descriptor, bool precise) 143 RegType& GetComponentType(RegType& array, mirror::ClassLoader* loader) 154 mirror::Class* ResolveClass(const char* descriptor, mirror::ClassLoader* loader)
|
D | method_verifier.h | 145 Handle<mirror::ClassLoader> class_loader, 153 Handle<mirror::ClassLoader> class_loader, 207 Handle<mirror::ClassLoader>* class_loader, const DexFile::ClassDef* class_def, in MethodVerifier() 232 mirror::ClassLoader* GetClassLoader() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 245 Handle<mirror::ClassLoader>* class_loader, const DexFile::ClassDef* class_def, 270 Handle<mirror::ClassLoader> class_loader, 657 Handle<mirror::ClassLoader>* class_loader_ GUARDED_BY(Locks::mutator_lock_);
|
/art/runtime/native/ |
D | java_lang_Runtime.cc | 71 Handle<mirror::ClassLoader> classLoader( in Runtime_nativeLoad() 72 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(javaLoader))); in Runtime_nativeLoad()
|
D | java_lang_VMClassLoader.cc | 29 mirror::ClassLoader* loader = soa.Decode<mirror::ClassLoader*>(javaLoader); in VMClassLoader_findLoadedClass()
|
D | java_lang_Class.cc | 64 …Handle<mirror::ClassLoader> class_loader(hs.NewHandle(soa.Decode<mirror::ClassLoader*>(javaLoader)… in Class_classForName()
|
/art/test/029-assert/src/ |
D | Main.java | 31 ClassLoader.getSystemClassLoader().setDefaultAssertionStatus(true); in main()
|
/art/test/086-null-super/ |
D | info.txt | 1 ClassLoader.loadClass() is expected to throw an exception, usually
|
/art/compiler/dex/ |
D | mir_field_info.cc | 48 Handle<mirror::ClassLoader> class_loader( in Resolve() 95 Handle<mirror::ClassLoader> class_loader( in Resolve()
|