Home
last modified time | relevance | path

Searched refs:thisObj (Results 1 – 2 of 2) sorted by relevance

/art/compiler/jni/
Djni_compiler_test.cc479 static void expectValidJniEnvAndObject(JNIEnv* env, jobject thisObj) { in expectValidJniEnvAndObject() argument
482 ASSERT_TRUE(thisObj != nullptr); in expectValidJniEnvAndObject()
483 EXPECT_TRUE(env->IsInstanceOf(thisObj, JniCompilerTest::jklass_)); in expectValidJniEnvAndObject()
494 #define EXPECT_JNI_ENV_AND_OBJECT_FOR_CURRENT_JNI(env, thisObj) \ argument
495 expectValidJniEnvAndObject(env, thisObj)
606 static R apply(JNIEnv* env, jobject thisObj, Args ... args) { in apply()
609 EXPECT_JNI_ENV_AND_OBJECT_FOR_CURRENT_JNI(env, thisObj); in apply()
611 EXPECT_NUM_STACK_REFERENCES(count_nonnull_refs(thisObj, args...), in apply()
614 return fn(env, thisObj, args...); in apply()
813 jobject Java_MyClassNatives_fooIOO(JNIEnv*, jobject thisObj, jint x, jobject y, in Java_MyClassNatives_fooIOO() argument
[all …]
/art/runtime/jni/
Djni_internal_test.cc2375 void Java_MyClassNatives_foo_exit(JNIEnv* env, jobject thisObj) { in Java_MyClassNatives_foo_exit() argument
2377 env->MonitorExit(thisObj); in Java_MyClassNatives_foo_exit()
2392 void Java_MyClassNatives_foo_enter_no_exit(JNIEnv* env, jobject thisObj) { in Java_MyClassNatives_foo_enter_no_exit() argument
2394 env->MonitorEnter(thisObj); in Java_MyClassNatives_foo_enter_no_exit()