Lines Matching refs:env
37 extern "C" JNIEXPORT void JNICALL Java_art_Test1930_executeLockedNative(JNIEnv* env, in Java_art_Test1930_executeLockedNative() argument
41 ScopedLocalRef<jclass> runnable(env, env->FindClass("java/lang/Runnable")); in Java_art_Test1930_executeLockedNative()
42 if (env->ExceptionCheck()) { in Java_art_Test1930_executeLockedNative()
45 jmethodID method = env->GetMethodID(runnable.get(), "run", "()V"); in Java_art_Test1930_executeLockedNative()
47 if (env->ExceptionCheck()) { in Java_art_Test1930_executeLockedNative()
50 jmethodID printMethod = env->GetStaticMethodID(klass, "printPreLock", "(Ljava/lang/Object;)V"); in Java_art_Test1930_executeLockedNative()
51 if (env->ExceptionCheck()) { in Java_art_Test1930_executeLockedNative()
55 env->CallStaticVoidMethod(klass, printMethod, l); in Java_art_Test1930_executeLockedNative()
56 if (env->ExceptionCheck()) { in Java_art_Test1930_executeLockedNative()
59 if (env->MonitorEnter(l) != 0) { in Java_art_Test1930_executeLockedNative()
62 env->CallVoidMethod(run, method); in Java_art_Test1930_executeLockedNative()
63 env->MonitorExit(l); in Java_art_Test1930_executeLockedNative()