Home
last modified time | relevance | path

Searched refs:ctor (Results 1 – 25 of 26) sorted by relevance

12

/art/test/998-redefine-use-after-free/src/
DMain.java33 Constructor<?> ctor = class_loader_class.getConstructor(String.class, ClassLoader.class); in getClassLoaderFor() local
34 return (ClassLoader)ctor.newInstance(location + "/" + TEST_NAME + "-ex.jar", in getClassLoaderFor()
/art/test/068-classloader/src/
DFancyLoader.java85 Constructor<?> ctor; in findClassDalvik() local
90 ctor = mDexClass.getConstructor(String.class); in findClassDalvik()
97 mDexFile = ctor.newInstance(DEX_FILE); in findClassDalvik()
DMain.java78 Constructor<?> ctor = mDexClass.getConstructor(String.class); in testNullClassLoader() local
79 Object mDexFile = ctor.newInstance(DEX_FILE); in testNullClassLoader()
/art/test/138-duplicate-classes-check2/src/
DMain.java30 Constructor<?> ctor = in getClassLoaderFor() local
33 return (ClassLoader) ctor.newInstance(location + "/" + TEST_NAME + "-ex.jar", in getClassLoaderFor()
/art/test/1949-short-dex-file/src/art/
DTest1949.java121 Constructor<?> ctor = class_loader_class.getConstructor(ByteBuffer.class, ClassLoader.class); in CreateClassLoader() local
123 return (ClassLoader)ctor.newInstance(ByteBuffer.wrap(dex), Test1949.class.getClassLoader()); in CreateClassLoader()
/art/test/938-load-transform-bcp/src/
DMain.java89 Constructor<?> ctor = class_loader_class.getConstructor(String.class, ClassLoader.class); in getClassLoaderFor() local
90 return (ClassLoader)ctor.newInstance(location + "/" + TEST_NAME + "-ex.jar", in getClassLoaderFor()
/art/test/934-load-transform/src/
DMain.java61 Constructor<?> ctor = class_loader_class.getConstructor(String.class, ClassLoader.class); in getClassLoaderFor() local
63 return (ClassLoader)ctor.newInstance(location + "/" + TEST_NAME + "-ex.jar", in getClassLoaderFor()
/art/test/626-const-class-linking/src/
DDefiningLoader.java92 Constructor<?> ctor; in findClassDalvik() local
97 ctor = mDexClass.getConstructor(String.class); in findClassDalvik()
104 mDexFile = ctor.newInstance(DEX_FILE); in findClassDalvik()
/art/test/647-jni-get-field-id/src/
DDefiningLoader.java92 Constructor<?> ctor; in findClassDalvik() local
97 ctor = mDexClass.getConstructor(String.class); in findClassDalvik()
104 mDexFile = ctor.newInstance(DEX_FILE); in findClassDalvik()
/art/test/935-non-retransformable/src/
DMain.java67 Constructor<?> ctor = class_loader_class.getConstructor(String.class, ClassLoader.class); in getClassLoaderFor() local
69 return (ClassLoader)ctor.newInstance(location + "/" + TEST_NAME + "-ex.jar", in getClassLoaderFor()
/art/test/164-resolution-trampoline-dex-cache/src/
DMain.java46 Constructor<?> ctor = in getClassLoaderFor() local
49 return (ClassLoader)ctor.newInstance(path, parent); in getClassLoaderFor()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc126 jmethodID ctor = env->GetMethodID(ctorClass, "<init>", "()V"); in Constructor_newInstanceFromSerialization() local
127 DCHECK(ctor != nullptr); in Constructor_newInstanceFromSerialization()
128 return env->NewObject(allocClass, ctor); in Constructor_newInstanceFromSerialization()
/art/test/1901-get-bytecodes/src/art/
DTest1901.java106 Constructor<?> ctor = class_loader_class.getConstructor(ByteBuffer.class, ClassLoader.class); in getClassLoader() local
108 return (ClassLoader)ctor.newInstance( in getClassLoader()
/art/test/155-java-set-resolved-type/src/
DMain.java72 Constructor<?> ctor = in getClassLoaderFor() local
76 return (ClassLoader)ctor.newInstance(path, parent); in getClassLoaderFor()
/art/test/003-omnibus-opcodes/
Dexpected.txt55 MethodCallBase ctor
56 MethodCall ctor
/art/test/086-null-super/src/
DMain.java80 Constructor<?> ctor = mDexClass.getConstructor(String.class); in findDexClass() local
81 Object mDexFile = ctor.newInstance(DEX_FILE); in findDexClass()
/art/test/087-gc-after-link/src/
DMain.java83 Constructor<?> ctor = dexClass.getConstructor(String.class); in findDexClass() local
84 dexFile = ctor.newInstance(DEX_FILE); in findDexClass()
/art/test/1950-unprepared-transform/src/
DMain.java76 Constructor<?> ctor = class_loader_class.getConstructor(String.class, ClassLoader.class); in getClassLoaderFor() local
78 return (ClassLoader)ctor.newInstance(location + "/" + TEST_NAME + "-ex.jar", in getClassLoaderFor()
/art/test/596-app-images/src/
DMain.java89 Constructor<?> ctor = in main() local
91 ClassLoader loader = (ClassLoader) ctor.newInstance( in main()
/art/test/1911-get-local-var-table/src/art/
DTest1911.java173 Constructor<?> ctor = class_loader_class.getConstructor(ByteBuffer.class, ClassLoader.class); in getClassLoader() local
175 return (ClassLoader)ctor.newInstance( in getClassLoader()
/art/tools/ahat/etc/
Dahat_api.txt12 ctor public Dominators(com.android.ahat.dominators.Dominators.Graph);
129 ctor public DiffFields();
158 ctor public Field(java.lang.String, com.android.ahat.heapdump.Type);
164ctor public FieldValue(java.lang.String, com.android.ahat.heapdump.Type, com.android.ahat.heapdump…
174 ctor public Parser(java.nio.ByteBuffer);
175 ctor public Parser(java.io.File) throws java.io.IOException;
185 ctor public PathElement(com.android.ahat.heapdump.AhatInstance, java.lang.String);
253 ctor public Size(long, long);
264 ctor public Sort();
294 ctor public Value();
[all …]
/art/test/100-reflect2/src/
DMain.java278 Constructor<String> ctor = String.class.getConstructor(); in testConstructorReflection() local
279 show(ctor.newInstance()); in testConstructorReflection()
281 ctor = String.class.getConstructor(char[].class, int.class, int.class); in testConstructorReflection()
282 show(ctor.newInstance(new char[] { '\u2714', 'y', 'z', '!' }, 1, 2)); in testConstructorReflection()
/art/test/004-JniTest/src/
DMain.java404 Constructor<?> ctor = class_loader_class.getConstructor(String.class, ClassLoader.class); in createClassLoader() local
406 return (ClassLoader)ctor.newInstance(location + "/004-JniTest-ex.jar", in createClassLoader()
/art/test/046-reflect/src/
DMain.java528 Constructor<?> ctor; in checkGeneric() local
530 ctor = Main.class.getConstructor( ArrayList.class); in checkGeneric()
534 parmTypes = ctor.getGenericParameterTypes(); in checkGeneric()
535 System.out.println("generic ctor " + ctor.getName() + " params='" in checkGeneric()
/art/test/912-classes/src-art/art/
DTest912.java243 Constructor<?> ctor = class_loader_class.getConstructor(ByteBuffer.class, ClassLoader.class); in testClassVersion() local
244 Class target = ((ClassLoader)ctor.newInstance( in testClassVersion()

12