Lines Matching refs:kls
208 jclass kls = kCriticalFakeJniClass; in apply() local
209 return fn(env, kls, args...); in apply()
540 static void expectValidJniEnvAndClass(JNIEnv* env, jclass kls) { in expectValidJniEnvAndClass() argument
543 ASSERT_TRUE(kls != nullptr); in expectValidJniEnvAndClass()
545 static_cast<jobject>(kls))); in expectValidJniEnvAndClass()
549 EXPECT_EQ(kls, kCriticalFakeJniClass); in expectValidJniEnvAndClass()
558 #define EXPECT_JNI_ENV_AND_CLASS_FOR_CURRENT_JNI(env, kls) expectValidJniEnvAndClass(env, kls) argument
645 struct make_jni_test_decorator<R(JNIEnv*, jclass kls, Args...), fn> {
646 static R apply(JNIEnv* env, jclass kls, Args ... args) { in apply()
649 EXPECT_JNI_ENV_AND_CLASS_FOR_CURRENT_JNI(env, kls); in apply()
654 return fn(env, kls, args...); in apply()