Home
last modified time | relevance | path

Searched refs:NewObject (Results 1 – 24 of 24) sorted by relevance

/art/test/817-hiddenapi/
Dtest_native.cc36 jobject obj = env->NewObject(cls, constructor); in Java_TestCase_testNativeInternal()
/art/test/1968-force-early-return/
Dforce_early_return.cc53 jobject res = env->NewObject(int_container_klass, int_cont_new, env->GetIntField(thiz, cnt)); in Java_art_Test1968_00024NativeCalledObject_calledFunction()
/art/test/ti-agent/
Dstack_trace_helper.cc78 jobject frame_obj = env->NewObject(klass.get(), in Java_art_StackTrace_nativeGetStackTrace()
Dmonitors_helper.cc68 return env->NewObject(klass.get(), constructor, in Java_art_Monitors_getObjectMonitorUsage()
Dlocals_helper.cc183 jobject var_obj = env->NewObject(klass.get(), in Java_art_Locals_GetLocalVariableTable()
/art/test/993-breakpoints/
Dbreakpoints.cc48 return env->NewObject(clazz, method); in Java_art_Test993_constructNative()
/art/test/1922-owned-monitors-info/
Downed_monitors.cc110 return env->NewObject(ret_class.get(), in Java_art_Test1922_getOwnedMonitorStackDepthInfo()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc128 return env->NewObject(allocClass, ctor); in Constructor_newInstanceFromSerialization()
Djava_lang_Class.cc117 env->NewObject(WellKnownClasses::java_lang_ClassNotFoundException, in Class_classForName()
/art/test/674-hiddenapi/
Dhiddenapi.cc101 return env->NewObject(klass, constructor); in NewInstance()
308 env->NewObject(klass, constructor, initargs[0], initargs[1]); in Java_JNI_canInvokeConstructorV()
/art/test/903-hello-tagging/
Dtagging.cc91 count_integer = env->NewObject(integer_class.get(), methodID, result_count); in Java_art_Test903_getTaggedObjects()
/art/test/004-JniTest/
Djni_test.cc485 jobject o = env_->NewObject(c, m); in CallConstructor()
637 jstring s = reinterpret_cast<jstring>(env->NewObject(c, mid2, byte_array)); in Java_Main_testNewStringObject()
738 jobject obj = env_->NewObject(concrete_class_, new_method); in TestCalls()
/art/test/1940-ddms-ext/
Dddm_ext.cc105 ScopedLocalRef<jobject> res(env, env->NewObject(chunk_class.get(), in Java_art_Test1940_processChunk()
/art/runtime/
Dreference_table_test.cc220 jobject result = soa.Env()->NewObject(weak_ref_class, init, referent); in TEST_F()
Dreflection.cc508 soa.Env()->NewObject(WellKnownClasses::java_lang_reflect_InvocationTargetException, in InvokeMethodImpl()
Dclass_loader_context_test.cc1352 return env->NewObject(WellKnownClasses::java_lang_Object, ctor); in CreateForeignClassLoader()
/art/dex2oat/driver/
Dcompiler_driver_test.cc179 jobject jobj_ = env_->NewObject(c_class, constructor); in TEST_F()
/art/test/912-classes/
Dclasses.cc518 ScopedLocalRef<jobject> weak_obj(jni_env, jni_env->NewObject(weak_ref_class.get(), in SetOrCompare()
/art/adbconnection/
Dadbconnection.cc192 return env->NewObject(art::WellKnownClasses::java_lang_Thread, in CreateAdbConnectionThread()
/art/runtime/arch/
Dstub_test.cc1758 jobject jarray_list = env->NewObject(arraylist_jclass, arraylist_constructor); in TEST_F()
1762 jobject jobj = env->NewObject(obj_jclass, obj_constructor); in TEST_F()
/art/runtime/jni/
Djni_internal.cc932 static jobject NewObject(JNIEnv* env, jclass java_class, jmethodID mid, ...) { in NewObject() function in art::JNI
2775 jobject result = env->NewObject(WellKnownClasses::java_nio_DirectByteBuffer, in NewDirectByteBuffer()
3048 JNIImpl::NewObject,
Dcheck_jni.cc2217 static jobject NewObject(JNIEnv* env, jclass c, jmethodID mid, ...) { in NewObject() function in art::__anonb17d97f60111::CheckJNI
3849 CheckJNI::NewObject,
Djni_internal_test.cc660 jobj_ = env_->NewObject(jklass_, constructor); in SetUpForTest()
/art/compiler/jni/
Djni_compiler_test.cc331 jobj_ = env_->NewObject(jklass_, constructor); in SetUpForTest()