Searched refs:initargs (Results 1 – 3 of 3) sorted by relevance
/art/test/674-hiddenapi/ |
D | hiddenapi.cc | 276 jvalue *initargs = reinterpret_cast<jvalue*>(alloca(initargs_size)); in Java_JNI_canInvokeConstructorA() local 277 memset(initargs, 0, initargs_size); in Java_JNI_canInvokeConstructorA() 279 env->NewObjectA(klass, constructor, initargs); in Java_JNI_canInvokeConstructorA() 301 jvalue *initargs = reinterpret_cast<jvalue*>(alloca(initargs_size)); in Java_JNI_canInvokeConstructorV() local 302 memset(initargs, 0, initargs_size); in Java_JNI_canInvokeConstructorV() 305 env->NewObject(klass, constructor, initargs[0], initargs[1]); in Java_JNI_canInvokeConstructorV()
|
/art/test/674-hiddenapi/src-ex/ |
D | Reflection.java | 168 public static boolean canInvokeConstructor(Class<?> klass, Class<?> args[], Object[] initargs) { in canInvokeConstructor() argument 172 c.newInstance(initargs); in canInvokeConstructor()
|
D | ChildClass.java | 392 Object initargs[] = new Object[] { visibility.mAssociatedType.mDefaultValue, in checkConstructor() local 442 if (!Reflection.canInvokeConstructor(klass, args, initargs)) { in checkConstructor()
|