Lines Matching refs:clazz
49 jclass clazz = env->FindClass(class_name); in FindClassOrDie() local
50 LOG_ALWAYS_FATAL_IF(clazz == nullptr, "Unable to find class %s", class_name); in FindClassOrDie()
51 return clazz; in FindClassOrDie()
54 static inline jmethodID GetMethodIdOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetMethodIdOrDie() argument
56 jmethodID res = env->GetMethodID(clazz, method_name, method_signature); in GetMethodIdOrDie()
79 jclass clazz = FindClassOrDie(e, clsName); in registerJNIMethods() local
80 kJavaMethods.setStreamConfig = GetMethodIdOrDie(e, clazz, "setStreamConfig", "(ZIII)V"); in registerJNIMethods()
81 kJavaMethods.startStreaming = GetMethodIdOrDie(e, clazz, "startStreaming", "()V"); in registerJNIMethods()
82 kJavaMethods.stopStreaming = GetMethodIdOrDie(e, clazz, "stopStreaming", "()V"); in registerJNIMethods()
83 kJavaMethods.stopService = GetMethodIdOrDie(e, clazz, "stopService", "()V"); in registerJNIMethods()
84 kJavaMethods.returnImage = GetMethodIdOrDie(e, clazz, "returnImage", "(J)V"); in registerJNIMethods()