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