Home
last modified time | relevance | path

Searched refs:jni_ (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/modules/utility/source/
Djvm_android.cc95 : jni_(jni), j_object_(NewGlobalRef(jni, object)) { in GlobalRef()
101 DeleteGlobalRef(jni_, j_object_); in ~GlobalRef()
107 jboolean res = jni_->CallBooleanMethodV(j_object_, methodID, args); in CallBooleanMethod()
108 CHECK_EXCEPTION(jni_) << "Error during CallBooleanMethod"; in CallBooleanMethod()
116 jint res = jni_->CallIntMethodV(j_object_, methodID, args); in CallIntMethod()
117 CHECK_EXCEPTION(jni_) << "Error during CallIntMethod"; in CallIntMethod()
125 jni_->CallVoidMethodV(j_object_, methodID, args); in CallVoidMethod()
126 CHECK_EXCEPTION(jni_) << "Error during CallVoidMethod"; in CallVoidMethod()
132 : JavaClass(jni, clazz), jni_(jni) { in NativeRegistration()
138 jni_->UnregisterNatives(j_class_); in ~NativeRegistration()
[all …]
/external/webrtc/webrtc/modules/utility/include/
Djvm_android.h52 JNIEnv* const jni_;
60 JavaClass(JNIEnv* jni, jclass clazz) : jni_(jni), j_class_(clazz) {} in JavaClass()
68 JNIEnv* const jni_;
83 JNIEnv* const jni_;
108 JNIEnv* const jni_; variable
Dhelpers_android.h73 : jni_(jni), obj_(static_cast<T>(NewGlobalRef(jni, obj))) {} in ScopedGlobalRef()
75 DeleteGlobalRef(jni_, obj_); in ~ScopedGlobalRef()
81 JNIEnv* jni_;
/external/webrtc/talk/app/webrtc/java/jni/
Djni_helpers.cc274 ScopedLocalRefFrame::ScopedLocalRefFrame(JNIEnv* jni) : jni_(jni) { in ScopedLocalRefFrame()
275 RTC_CHECK(!jni_->PushLocalFrame(0)) << "Failed to PushLocalFrame"; in ScopedLocalRefFrame()
278 jni_->PopLocalFrame(NULL); in ~ScopedLocalRefFrame()
Djni_helpers.h120 JNIEnv* jni_;