Home
last modified time | relevance | path

Searched refs:GetMethodID (Results 1 – 25 of 49) sorted by relevance

12

/art/test/2009-structural-local-ref/
Dlocal-ref.cc37 jmethodID run_meth = env->GetMethodID(env->FindClass("java/lang/Runnable"), "run", "()V"); in Java_art_Test2009_NativeLocalCallStatic()
51 jmethodID run_meth = env->GetMethodID(env->FindClass("java/lang/Runnable"), "run", "()V"); in Java_art_Test2009_NativeLocalCallVirtual()
53 jmethodID new_method = env->GetMethodID(obj_klass, "getGreeting", "()Ljava/lang/String;"); in Java_art_Test2009_NativeLocalCallVirtual()
63 jmethodID run_meth = env->GetMethodID(env->FindClass("java/lang/Runnable"), "run", "()V"); in Java_art_Test2009_NativeLocalGetIField()
76 jmethodID run_meth = env->GetMethodID(env->FindClass("java/lang/Runnable"), "run", "()V"); in Java_art_Test2009_NativeLocalGetSField()
/art/test/004-JniTest/
Djni_test.cc132 jmethodID getFieldMetodId = env->GetMethodID(class_clazz, "getField", in testReflectFieldGetFromAttachedNativeThread()
149 jmethodID getBooleanMetodId = env->GetMethodID(field_clazz, "getBoolean", in testReflectFieldGetFromAttachedNativeThread()
184 jmethodID miranda_method = env->GetMethodID(abstract_class, "inInterface", "()Z"); in Java_Main_testGetMirandaMethodNative()
398 super_constructor_(GetMethodID(super_, true, "<init>")), in JniCallNonvirtualVoidMethodTest()
399 super_static_(GetMethodID(super_, false, "staticMethod")), in JniCallNonvirtualVoidMethodTest()
400 super_nonstatic_(GetMethodID(super_, true, "nonstaticMethod")), in JniCallNonvirtualVoidMethodTest()
401 sub_constructor_(GetMethodID(sub_, true, "<init>")), in JniCallNonvirtualVoidMethodTest()
402 sub_static_(GetMethodID(sub_, false, "staticMethod")), in JniCallNonvirtualVoidMethodTest()
403 sub_nonstatic_(GetMethodID(sub_, true, "nonstaticMethod")), in JniCallNonvirtualVoidMethodTest()
443 jmethodID GetMethodID(jclass c, bool nonstatic, const char* method_name) { in GetMethodID() function in art::JniCallNonvirtualVoidMethodTest
[all …]
/art/test/1914-get-local-instance/
Dlocal_instance.cc40 jmethodID method = env->GetMethodID(runnable.get(), "run", "()V"); in Java_art_Test1914_00024TargetClass_NativeInstanceMethod()
55 jmethodID method = env->GetMethodID(runnable.get(), "run", "()V"); in Java_art_Test1914_NativeStaticMethod()
/art/test/1968-force-early-return/
Dforce_early_return.cc52 jmethodID int_cont_new = env->GetMethodID(int_container_klass, "<init>", "(I)V"); in Java_art_Test1968_00024NativeCalledObject_calledFunction()
75 jmethodID called = env->GetMethodID(klass, "calledFunction", "()Ljava/lang/Object;"); in Java_art_Test1968_00024NativeCallerObject_run()
/art/test/674-hiddenapi/
Dhiddenapi.cc97 jmethodID constructor = env->GetMethodID(klass, "<init>", "()V"); in NewInstance()
181 : env->GetMethodID(klass, utf_name.c_str(), "()I"); in Java_JNI_canDiscoverMethod()
194 : env->GetMethodID(klass, utf_name.c_str(), "()I"); in Java_JNI_canInvokeMethodA()
225 : env->GetMethodID(klass, utf_name.c_str(), "()I"); in Java_JNI_canInvokeMethodV()
258 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canDiscoverConstructor()
270 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorA()
295 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorV()
/art/test/1960-obsolete-jit-multithread-native/
Dnative_say_hi.cc28 env->GetMethodID(env->GetObjectClass(thiz), in Java_Transform_nativeSayHi()
/art/test/179-nonvirtual-jni/
Dnonvirtual-call.cc27 jmethodID meth = env->GetMethodID(lookup, "sayHi", "()V"); in Java_Main_callSayHiMethodNonvirtualWith()
/art/test/945-obsolete-native/
Dobsolete_native.cc37 jmethodID run_method = env->GetMethodID(runnable_klass, "run", "()V"); in Java_art_Test945_00024Transform_doExecute()
/art/test/044-proxy/
Dnative_proxy.cc27 jmethodID mid = env->GetMethodID(native_inf_class, "callback", "()V"); in Java_NativeProxy_nativeCall()
/art/test/1930-monitor-info/
Dmonitor.cc45 jmethodID method = env->GetMethodID(runnable.get(), "run", "()V"); in Java_art_Test1930_executeLockedNative()
/art/test/1922-owned-monitors-info/
Downed_monitors.cc49 jmethodID run = env->GetMethodID(run_class.get(), "run", "()V"); in doCallRunnable()
104 jmethodID constructor = env->GetMethodID(ret_class.get(), "<init>", "(ILjava/lang/Object;)V"); in Java_art_Test1922_getOwnedMonitorStackDepthInfo()
/art/test/907-get-loaded-classes/
Dget_loaded_classes.cc39 jmethodID mid = jni_env->GetMethodID(class_class.get(), "getName", "()Ljava/lang/String;"); in GetClassName()
/art/test/1970-force-early-return-long/
Dforce_early_return_long.cc74 jmethodID called = env->GetMethodID(klass, "calledFunction", "()J"); in Java_art_Test1970_00024NativeCallerObject_run()
/art/test/1972-jni-id-swap-indices/
Djni_id.cc35 auto get_id = is_static ? env->functions->GetStaticMethodID : env->functions->GetMethodID; in Java_Main_GetMethodId()
/art/test/1974-resize-array/
Dresize_array.cc121 jmethodID getArr = env->GetMethodID( in Java_art_Test1974_ResizeArray()
169 jmethodID run = env->GetMethodID(env->FindClass("java/lang/Runnable"), "run", "()V"); in Java_art_Test1974_runNativeTest()
170 jmethodID accept = env->GetMethodID( in Java_art_Test1974_runNativeTest()
/art/test/1969-force-early-return-void/
Dforce_early_return_void.cc69 jmethodID called = env->GetMethodID(klass, "calledFunction", "()V"); in Java_art_Test1969_00024NativeCallerObject_run()
/art/tools/jvmti-agents/simple-force-redefine/
Dforceredefine.cc254 env->GetMethodID(thread_klass.get(), "<init>", "(Ljava/lang/String;)V"), in CbVmInit()
256 env->CallVoidMethod(thread.get(), env->GetMethodID(thread_klass.get(), "setPriority", "(I)V"), 1); in CbVmInit()
258 thread.get(), env->GetMethodID(thread_klass.get(), "setDaemon", "(Z)V"), JNI_TRUE); in CbVmInit()
/art/test/912-classes/
Dclasses.cc400 jmethodID initID = env->GetMethodID(thread_klass.get(), "<init>", "(Ljava/lang/String;)V"); in RunEventThread()
418 jmethodID joinID = env->GetMethodID(thread_klass.get(), "join", "()V"); in JoinTread()
516 jmethodID weak_init = jni_env->GetMethodID(weak_ref_class.get(), "<init>", kWeakInitSig); in SetOrCompare()
526 jmethodID get_referent = jni_env->GetMethodID(weak_ref_class.get(), "get", kWeakGetSig); in SetOrCompare()
615 gRunnableGlobal, jni_env->GetMethodID(runnable_class, "run", "()V")); in Java_art_Test912_runRecursiveClassPrepareEvents()
619 runnable, env->GetMethodID(runnable_class, "run", "()V")); in Java_art_Test912_runRecursiveClassPrepareEvents()
/art/test/ti-agent/
Dstack_trace_helper.cc45 jmethodID constructor = env->GetMethodID( in Java_art_StackTrace_nativeGetStackTrace()
/art/test/1953-pop-frame/
Dpop_frame.cc70 jmethodID called = env->GetMethodID(klass, "calledFunction", "()V"); in Java_art_Test1953_00024NativeCallerObject_run()
/art/test/1985-structural-redefine-stack-scope/
Dstack_scope.cc47 jmethodID run = env->GetMethodID(runnable_klass, "run", "()V"); in Java_Main_NativeFieldScopeCheck()
/art/test/1934-jvmti-signal-thread/
Dsignal_threads.cc128 jmethodID doRun = env->GetMethodID(runnable_klass.get(), "run", "()V"); in Java_art_Test1934_nativeDoInterleaved()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc126 jmethodID ctor = env->GetMethodID(ctorClass, "<init>", "()V"); in Constructor_newInstanceFromSerialization()
/art/dalvikvm/
Ddalvikvm.cc45 jmethodID mid = env->GetMethodID(method_class, "getModifiers", "()I"); in IsMethodPublic()
/art/test/931-agent-thread/
Dagent_thread.cc123 jmethodID initID = env->GetMethodID(thread_klass.get(), in Java_art_Test931_testAgentThread()

12