Home
last modified time | relevance | path

Searched refs:loadClass (Results 1 – 25 of 39) sorted by relevance

12

/art/test/626-const-class-linking/src/
DMisbehavingLoader.java36 protected Class<?> loadClass(String name, boolean resolve) in loadClass() method in MisbehavingLoader
40 return super.loadClass(name, resolve); in loadClass()
43 return defining_loader.loadClass("Helper2", resolve); in loadClass()
45 return super.loadClass(name, resolve); in loadClass()
DDelegatingLoader.java37 protected Class<?> loadClass(String name, boolean resolve) in loadClass() method in DelegatingLoader
41 return defining_loader.loadClass(name, resolve); in loadClass()
43 return super.loadClass(name, resolve); in loadClass()
DRacyMisbehavingLoader.java58 protected Class<?> loadClass(String name, boolean resolve) in loadClass() method in RacyMisbehavingLoader
66 result = defining_loaders[my_index & 1].loadClass(name, resolve); in loadClass()
73 result = defining_loaders[my_index & 1].loadClass("Test3", resolve); in loadClass()
77 return super.loadClass(name, resolve); in loadClass()
DRacyLoader.java47 protected Class<?> loadClass(String name, boolean resolve) in loadClass() method in RacyLoader
52 Class<?> result = defining_loaders[my_index & 1].loadClass(name, resolve); in loadClass()
56 return super.loadClass(name, resolve); in loadClass()
DMain.java46 Class<?> helper = delegating_loader.loadClass("Helper1"); in testClearDexCache()
73 Class<?> helper1 = delegating_loader.loadClass("Helper1"); in testMultiDex()
78 Class<?> helper2 = delegating_loader.loadClass("Helper2"); in testMultiDex()
103 Class<?> helper = misbehaving_loader.loadClass("Helper1"); in testMisbehavingLoader()
127 final Class<?> helper1 = racy_loader.loadClass("Helper1"); in testRacyLoader()
161 final Class<?> helper1 = racy_loader.loadClass("Helper1"); in testRacyLoader2()
163 final Class<?> helper3 = racy_loader.loadClass("Helper3"); in testRacyLoader2()
199 final Class<?> helper1 = racy_loader.loadClass("RacyMisbehavingHelper"); in testRacyMisbehavingLoader()
234 final Class<?> helper1 = racy_loader.loadClass("RacyMisbehavingHelper"); in testRacyMisbehavingLoader2()
DDefiningLoader.java63 mDexClass = parent.loadClass("dalvik.system.DexFile"); in DefiningLoader()
196 synchronized protected Class<?> loadClass(String name, boolean resolve) in loadClass() method in DefiningLoader
236 res = super.loadClass(name, resolve); // returns class or throws in loadClass()
/art/test/068-classloader/src/
DMain.java96 Class<?> target1 = loader1.loadClass("MutationTarget"); in testSeparation()
97 Class<?> target2 = loader2.loadClass("MutationTarget"); in testSeparation()
103 Class<?> mutator1 = loader1.loadClass("Mutator"); in testSeparation()
104 Class<?> mutator2 = loader2.loadClass("Mutator"); in testSeparation()
154 altClass = loader.loadClass("Inaccessible1"); in testAccess1()
184 altClass = loader.loadClass("Inaccessible2"); in testAccess2()
204 altClass = loader.loadClass("Inaccessible3"); in testAccess3()
226 doubledExtendClass = loader.loadClass("DoubledExtend"); in testExtend()
275 doubledExtendOkayClass = loader.loadClass("DoubledExtendOkay"); in testExtendOkay()
323 getDoubledClass = loader.loadClass("GetDoubled"); in testInterface()
[all …]
DFancyLoader.java56 mDexClass = parent.loadClass("dalvik.system.DexFile"); in FancyLoader()
183 protected Class<?> loadClass(String name, boolean resolve) in loadClass() method in FancyLoader
224 res = super.loadClass(name, resolve); // returns class or throws in loadClass()
/art/test/497-inlining-and-class-loader/src/
DMain.java45 protected Class<?> loadClass(String className, boolean resolve) throws ClassNotFoundException { in loadClass() method in MyClassLoader
48 return level1ClassLoader.loadClass(className); in loadClass()
53 return getParent().loadClass(className); in loadClass()
57 return getParent().loadClass(className); in loadClass()
95 Class<?> foo = o.loadClass("LoadedByMyClassLoader"); in main()
/art/test/612-jit-dex-cache/src/
DMain.java30 protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException { in loadClass() method in DelegateLastPathClassLoader
38 return super.loadClass(name, resolve); in loadClass()
47 return loader.loadClass("LoadedByAppClassLoader"); in classFromDifferentLoader()
/art/test/613-inlining-dex-cache/src/
DMain.java30 protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException { in loadClass() method in DelegateLastPathClassLoader
38 return super.loadClass(name, resolve); in loadClass()
48 Class cls = loader.loadClass("LoadedByAppClassLoader"); in main()
/art/test/134-nodex2oat-nofallback/
Dexpected.txt5 at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
6 at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
30 at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
31 at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
36 at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
37 at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
61 at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
62 at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
/art/test/142-classloader2/src/
DMain.java57 Class<?> exClass = myClassLoader.loadClass("A"); in main()
76 Class<?> badClass = Main.class.getClassLoader().loadClass("B"); in main()
86 Class<?> badClass = Main.class.getClassLoader().loadClass("B"); in main()
/art/test/086-null-super/src/
DMain.java79 loadClass("dalvik.system.DexFile"); in findDexClass()
109 public Class<?> loadClass(String name, boolean resolve) in loadClass() method in Main.BrokenDexLoader
116 return super.loadClass(name, resolve); in loadClass()
/art/test/156-register-dex-file-multi-loader/src/
DMain.java44 protected Class<?> loadClass(String className, boolean resolve) throws ClassNotFoundException { in loadClass() method in MyClassLoader
64 return getParent().loadClass(className); in loadClass()
72 Class<?> foo = o.loadClass("Main"); in main()
/art/test/071-dexfile/src/
DMain.java69 Class<?> Another = dexClassLoader.loadClass("Another"); in testDexClassLoader()
82 Class<?> DexClassLoader = classLoader.loadClass("dalvik.system.DexClassLoader"); in getDexClassLoader()
96 Class<?> DexFile = classLoader.loadClass("dalvik.system.DexFile"); in testDexFile()
/art/test/131-structural-change/src/
DMain.java32 Class<?> bClass = getClass().getClassLoader().loadClass("A"); in run()
41 Class<?> bClass = getClass().getClassLoader().loadClass("B"); in run()
/art/test/496-checker-inlining-class-loader/src/
DMain.java54 protected Class<?> loadClass(String className, boolean resolve) throws ClassNotFoundException { in loadClass() method in MyClassLoader
62 return getParent().loadClass(className); in loadClass()
130 Class<?> foo = o.loadClass("LoadedByMyClassLoader"); in main()
/art/test/087-gc-after-link/src/
DMain.java82 loadClass("dalvik.system.DexFile"); in findDexClass()
119 public Class<?> loadClass(String name, boolean resolve) in loadClass() method in Main.BrokenDexLoader
126 return super.loadClass(name, resolve); in loadClass()
/art/test/542-unresolved-access-check/src/
DMain.java47 protected Class<?> loadClass(String className, boolean resolve) throws ClassNotFoundException { in loadClass() method in MyClassLoader
68 return getParent().loadClass(className); in loadClass()
75 Class<?> foo = o.loadClass("LoadedByMyClassLoader"); in main()
/art/test/138-duplicate-classes-check2/src/
DFancyLoader.java57 mDexClass = parent.loadClass("dalvik.system.DexFile"); in FancyLoader()
184 protected Class<?> loadClass(String name, boolean resolve) in loadClass() method in FancyLoader
225 res = super.loadClass(name, resolve); // returns class or throws in loadClass()
/art/test/647-jni-get-field-id/src/
DDefiningLoader.java63 mDexClass = parent.loadClass("dalvik.system.DexFile"); in DefiningLoader()
196 synchronized protected Class<?> loadClass(String name, boolean resolve) in loadClass() method in DefiningLoader
236 res = super.loadClass(name, resolve); // returns class or throws in loadClass()
/art/test/935-non-retransformable/src/
DMain.java85 Class<?> klass = (Class<?>)new_loader.loadClass("TestMain"); in main()
96 Redefinition.doCommonClassRetransformation(new_loader.loadClass("Transform")); in main()
/art/test/141-class-unload/src/
DMain.java135 Class<?> intHolder = loader.loadClass("IntHolder"); in testNoUnloadHelper()
167 Class<?> intHolder = loader.loadClass("IntHolder"); in setUpUnloadClass()
183 return loader.loadClass("IntHolder").newInstance(); in allocObjectInOtherClassLoader()
213 Class<?> intHolder = loader.loadClass("IntHolder"); in setUpUnloadLoader()
235 Class<?> intHolder = loader.loadClass("IntHolder"); in setUpLoadLibrary()
/art/test/952-invoke-custom/src/
DMain.java65 classLoader.loadClass("TestLinkerMethodMultipleArgumentTypes"); in TestLinkerMethodMultipleArgumentTypes()
85 classLoader.loadClass("TestLinkerMethodMinimalArguments"); in TestLinkerMethodMinimalArguments()
125 classLoader.loadClass("TestInvokeCustomWithConcurrentThreads"); in TestInvokeCustomWithConcurrentThreads()

12