Lines Matching refs:clazz
84 jclass clazz = env->FindClass("Main"); in testFindClassOnAttachedNativeThread() local
85 CHECK(clazz != nullptr); in testFindClassOnAttachedNativeThread()
88 jobjectArray array = env->NewObjectArray(0, clazz, nullptr); in testFindClassOnAttachedNativeThread()
107 jclass clazz = env->FindClass("Main"); in testFindFieldOnAttachedNativeThread() local
108 CHECK(clazz != nullptr); in testFindFieldOnAttachedNativeThread()
111 jfieldID field = env->GetStaticFieldID(clazz, "testFindFieldOnAttachedNativeThreadField", "Z"); in testFindFieldOnAttachedNativeThread()
115 env->SetStaticBooleanField(clazz, field, JNI_TRUE); in testFindFieldOnAttachedNativeThread()
124 jclass clazz = env->FindClass("Main"); in testReflectFieldGetFromAttachedNativeThread() local
125 CHECK(clazz != nullptr); in testReflectFieldGetFromAttachedNativeThread()
141 jobject field = env->CallObjectMethod(clazz, getFieldMetodId, field_name); in testReflectFieldGetFromAttachedNativeThread()
154 jboolean value = env->CallBooleanMethod(field, getBooleanMetodId, /* ignored */ clazz); in testReflectFieldGetFromAttachedNativeThread()