/art/test/004-JniTest/ |
D | jni_test.cc | 132 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/ |
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 | 94 jmethodID constructor = env->GetMethodID(klass, "<init>", "()V"); in NewInstance() 178 : env->GetMethodID(klass, utf_name.c_str(), "()I"); in Java_JNI_canDiscoverMethod() 191 : env->GetMethodID(klass, utf_name.c_str(), "()I"); in Java_JNI_canInvokeMethodA() 222 : env->GetMethodID(klass, utf_name.c_str(), "()I"); in Java_JNI_canInvokeMethodV() 255 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canDiscoverConstructor() 267 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorA() 292 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorV()
|
/art/test/1960-obsolete-jit-multithread-native/ |
D | native_say_hi.cc | 28 env->GetMethodID(env->GetObjectClass(thiz), in Java_Transform_nativeSayHi()
|
/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/1930-monitor-info/ |
D | monitor.cc | 45 jmethodID method = env->GetMethodID(runnable.get(), "run", "()V"); in Java_art_Test1930_executeLockedNative()
|
/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/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/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 254 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/ti-agent/ |
D | stack_trace_helper.cc | 45 jmethodID constructor = env->GetMethodID( in Java_art_StackTrace_nativeGetStackTrace()
|
D | monitors_helper.cc | 43 jmethodID constructor = env->GetMethodID( in Java_art_Monitors_getObjectMonitorUsage()
|
/art/test/1934-jvmti-signal-thread/ |
D | signal_threads.cc | 128 jmethodID doRun = env->GetMethodID(runnable_klass.get(), "run", "()V"); in Java_art_Test1934_nativeDoInterleaved()
|
/art/runtime/native/ |
D | java_lang_reflect_Constructor.cc | 126 jmethodID ctor = env->GetMethodID(ctorClass, "<init>", "()V"); in Constructor_newInstanceFromSerialization()
|
/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()
|
/art/dalvikvm/ |
D | dalvikvm.cc | 45 jmethodID mid = env->GetMethodID(method_class, "getModifiers", "()I"); in IsMethodPublic()
|
/art/test/931-agent-thread/ |
D | agent_thread.cc | 123 jmethodID initID = env->GetMethodID(thread_klass.get(), in Java_art_Test931_testAgentThread()
|
/art/runtime/jni/ |
D | jni_internal_test.cc | 221 jmethodID method = env_->GetMethodID(nullptr, "<init>", "(Ljava/lang/String;)V"); in GetMethodIdBadArgumentTest() 227 method = env_->GetMethodID(jlnsme, nullptr, "(Ljava/lang/String;)V"); in GetMethodIdBadArgumentTest() 231 method = env_->GetMethodID(jlnsme, "<init>", nullptr); in GetMethodIdBadArgumentTest() 297 jmethodID mid = env_->GetMethodID(c, "<init>", "()V"); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest() 646 jmethod_ = env_->GetMethodID(jklass_, method_name, method_sig); in SetUpForTest() 658 jmethodID constructor = env_->GetMethodID(jklass_, "<init>", "()V"); in SetUpForTest() 781 TEST_F(JniInternalTest, GetMethodID) { in TEST_F() argument 792 jmethodID method = env_->GetMethodID(jlobject, "foo", "()V"); in TEST_F() 797 method = env_->GetMethodID(jlobject, "equals", "(Ljava/lang/Object;)Z"); in TEST_F() 803 method = env_->GetMethodID(jlstring, "valueOf", "(I)Ljava/lang/String;"); in TEST_F() [all …]
|
/art/test/904-object-allocation/ |
D | tracking.cc | 42 jmethodID mid = jni_env->GetMethodID(class_class.get(), "getName", "()Ljava/lang/String;"); in GetClassName()
|
/art/test/903-hello-tagging/ |
D | tagging.cc | 90 jmethodID methodID = env->GetMethodID(integer_class.get(), "<init>", "(I)V"); in Java_art_Test903_getTaggedObjects()
|
/art/dex2oat/driver/ |
D | compiler_driver_test.cc | 64 mid_ = env_->GetMethodID(class_, method, signature); in EnsureCompiled() 179 jmethodID constructor = env_->GetMethodID(c_class, "<init>", "()V"); in TEST_F()
|
/art/runtime/ |
D | reference_table_test.cc | 197 jmethodID substr = soa.Env()->GetMethodID(WellKnownClasses::java_lang_String, in TEST_F() 215 jmethodID init = soa.Env()->GetMethodID(weak_ref_class, in TEST_F()
|
D | runtime_callbacks_test.cc | 178 jmethodID start_id = env->GetMethodID(WellKnownClasses::java_lang_Thread, "start", "()V"); in TEST_F() 184 jmethodID join_id = env->GetMethodID(WellKnownClasses::java_lang_Thread, "join", "()V"); in TEST_F()
|
/art/test/1940-ddms-ext/ |
D | ddm_ext.cc | 97 env->GetMethodID(chunk_class.get(), in Java_art_Test1940_processChunk()
|
/art/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 92 jmethodID initID = env->GetMethodID(thread_klass.get(), "<init>", "(Ljava/lang/String;)V"); in CreateAgentThread()
|