/art/test/2009-structural-local-ref/ |
D | local-ref.cc | 37 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/817-hiddenapi/ |
D | test_native.cc | 30 jmethodID constructor = env->GetMethodID(cls, "<init>", "()V"); in Java_TestCase_testNativeInternal() 32 jmethodID method_id = env->GetMethodID(cls, "methodPublicSdkNotInAbstractParent", "()I"); in Java_TestCase_testNativeInternal() 47 if (env->GetMethodID(cls, chars_method.c_str(), chars_signature.c_str()) != nullptr) { in Java_TestCase_testAccessInternal()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 161 jmethodID getFieldMetodId = env->GetMethodID(class_clazz, "getField", in testReflectFieldGetFromAttachedNativeThread() 178 jmethodID getBooleanMetodId = env->GetMethodID(field_clazz, "getBoolean", in testReflectFieldGetFromAttachedNativeThread() 213 jmethodID miranda_method = env->GetMethodID(abstract_class, "inInterface", "()Z"); in Java_Main_testGetMirandaMethodNative() 427 super_constructor_(GetMethodID(super_, true, "<init>")), in JniCallNonvirtualVoidMethodTest() 428 super_static_(GetMethodID(super_, false, "staticMethod")), in JniCallNonvirtualVoidMethodTest() 429 super_nonstatic_(GetMethodID(super_, true, "nonstaticMethod")), in JniCallNonvirtualVoidMethodTest() 430 sub_constructor_(GetMethodID(sub_, true, "<init>")), in JniCallNonvirtualVoidMethodTest() 431 sub_static_(GetMethodID(sub_, false, "staticMethod")), in JniCallNonvirtualVoidMethodTest() 432 sub_nonstatic_(GetMethodID(sub_, true, "nonstaticMethod")), in JniCallNonvirtualVoidMethodTest() 472 jmethodID GetMethodID(jclass c, bool nonstatic, const char* method_name) { in GetMethodID() function in art::JniCallNonvirtualVoidMethodTest [all …]
|
/art/test/1914-get-local-instance/ |
D | local_instance.cc | 40 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/674-hiddenapi/ |
D | hiddenapi.cc | 89 jmethodID constructor = env->GetMethodID(klass, "<init>", "()V"); in NewInstance() 173 : env->GetMethodID(klass, utf_name.c_str(), "()I"); in Java_JNI_canDiscoverMethod() 186 : env->GetMethodID(klass, utf_name.c_str(), "()I"); in Java_JNI_canInvokeMethodA() 217 : env->GetMethodID(klass, utf_name.c_str(), "()I"); in Java_JNI_canInvokeMethodV() 250 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canDiscoverConstructor() 262 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorA() 287 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorV()
|
/art/test/1968-force-early-return/ |
D | force_early_return.cc | 52 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/1960-obsolete-jit-multithread-native/ |
D | native_say_hi.cc | 28 env->GetMethodID(env->GetObjectClass(thiz), in Java_Transform_nativeSayHi()
|
/art/test/179-nonvirtual-jni/ |
D | nonvirtual-call.cc | 27 jmethodID meth = env->GetMethodID(lookup, "sayHi", "()V"); in Java_Main_callSayHiMethodNonvirtualWith()
|
/art/test/945-obsolete-native/ |
D | obsolete_native.cc | 37 jmethodID run_method = env->GetMethodID(runnable_klass, "run", "()V"); in Java_art_Test945_00024Transform_doExecute()
|
/art/test/044-proxy/ |
D | native_proxy.cc | 27 jmethodID mid = env->GetMethodID(native_inf_class, "callback", "()V"); in Java_NativeProxy_nativeCall()
|
/art/test/2037-thread-name-inherit/ |
D | thread_name_inherit.cc | 46 env->GetMethodID(consumer_class, "accept", "(Ljava/lang/Object;Ljava/lang/Object;)V"); in ThreadMain() 49 jmethodID set_name_method = env->GetMethodID(thread_class, "setName", "(Ljava/lang/String;)V"); in ThreadMain()
|
/art/test/1922-owned-monitors-info/ |
D | owned_monitors.cc | 49 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/1930-monitor-info/ |
D | monitor.cc | 45 jmethodID method = env->GetMethodID(runnable.get(), "run", "()V"); in Java_art_Test1930_executeLockedNative()
|
/art/test/907-get-loaded-classes/ |
D | get_loaded_classes.cc | 39 jmethodID mid = jni_env->GetMethodID(class_class.get(), "getName", "()Ljava/lang/String;"); in GetClassName()
|
/art/test/1970-force-early-return-long/ |
D | force_early_return_long.cc | 74 jmethodID called = env->GetMethodID(klass, "calledFunction", "()J"); in Java_art_Test1970_00024NativeCallerObject_run()
|
/art/test/1974-resize-array/ |
D | resize_array.cc | 121 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/libnativeloader/ |
D | native_loader_test.h | 70 inf->GetMethodID = [](JNIEnv*, jclass, const char* name, const char*) -> jmethodID { in CreateJNINativeInterface()
|
/art/test/1972-jni-id-swap-indices/ |
D | jni_id.cc | 35 auto get_id = is_static ? env->functions->GetStaticMethodID : env->functions->GetMethodID; in Java_Main_GetMethodId()
|
/art/benchmark/golem-tiagent/ |
D | golem-tiagent.cc | 48 jmethodID method = jni_env->GetMethodID(cl, "stop", "()V"); in VMInitCallback()
|
/art/test/912-classes/ |
D | classes.cc | 400 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/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 252 env->GetMethodID(thread_klass.get(), "<init>", "(Ljava/lang/String;)V"), in CbVmInit() 254 env->CallVoidMethod(thread.get(), env->GetMethodID(thread_klass.get(), "setPriority", "(I)V"), 1); in CbVmInit() 256 thread.get(), env->GetMethodID(thread_klass.get(), "setDaemon", "(Z)V"), JNI_TRUE); in CbVmInit()
|
/art/test/1969-force-early-return-void/ |
D | force_early_return_void.cc | 69 jmethodID called = env->GetMethodID(klass, "calledFunction", "()V"); in Java_art_Test1969_00024NativeCallerObject_run()
|
/art/test/1953-pop-frame/ |
D | pop_frame.cc | 70 jmethodID called = env->GetMethodID(klass, "calledFunction", "()V"); in Java_art_Test1953_00024NativeCallerObject_run()
|
/art/test/ti-agent/ |
D | stack_trace_helper.cc | 45 jmethodID constructor = env->GetMethodID( in Java_art_StackTrace_nativeGetStackTrace()
|
/art/test/1985-structural-redefine-stack-scope/ |
D | stack_scope.cc | 47 jmethodID run = env->GetMethodID(runnable_klass, "run", "()V"); in Java_Main_NativeFieldScopeCheck()
|