webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Functions
jni_helpers.cc File Reference
#include "webrtc/sdk/android/src/jni/jni_helpers.h"
#include "webrtc/sdk/android/src/jni/classreferenceholder.h"
#include <asm/unistd.h>
#include <sys/prctl.h>
#include <sys/syscall.h>
#include <unistd.h>
#include <vector>

Namespaces

 webrtc_jni
 

Functions

JavaVM * webrtc_jni::GetJVM ()
 
JNIEnv * webrtc_jni::GetEnv ()
 
jint webrtc_jni::InitGlobalJniVariables (JavaVM *jvm)
 
JNIEnv * webrtc_jni::AttachCurrentThreadIfNeeded ()
 
jlong webrtc_jni::jlongFromPointer (void *ptr)
 
jmethodID webrtc_jni::GetMethodID (JNIEnv *jni, jclass c, const std::string &name, const char *signature)
 
jmethodID webrtc_jni::GetStaticMethodID (JNIEnv *jni, jclass c, const char *name, const char *signature)
 
jfieldID webrtc_jni::GetFieldID (JNIEnv *jni, jclass c, const char *name, const char *signature)
 
jfieldID webrtc_jni::GetStaticFieldID (JNIEnv *jni, jclass c, const char *name, const char *signature)
 
jclass webrtc_jni::GetObjectClass (JNIEnv *jni, jobject object)
 
jobject webrtc_jni::GetObjectField (JNIEnv *jni, jobject object, jfieldID id)
 
jobject webrtc_jni::GetStaticObjectField (JNIEnv *jni, jclass c, jfieldID id)
 
jobject webrtc_jni::GetNullableObjectField (JNIEnv *jni, jobject object, jfieldID id)
 
jstring webrtc_jni::GetStringField (JNIEnv *jni, jobject object, jfieldID id)
 
jlong webrtc_jni::GetLongField (JNIEnv *jni, jobject object, jfieldID id)
 
jint webrtc_jni::GetIntField (JNIEnv *jni, jobject object, jfieldID id)
 
bool webrtc_jni::GetBooleanField (JNIEnv *jni, jobject object, jfieldID id)
 
bool webrtc_jni::IsNull (JNIEnv *jni, jobject obj)
 
jstring webrtc_jni::JavaStringFromStdString (JNIEnv *jni, const std::string &native)
 
std::string webrtc_jni::JavaToStdString (JNIEnv *jni, const jstring &j_string)
 
jobject webrtc_jni::JavaEnumFromIndex (JNIEnv *jni, jclass state_class, const std::string &state_class_name, int index)
 
std::string webrtc_jni::GetJavaEnumName (JNIEnv *jni, const std::string &className, jobject j_enum)
 
jobject webrtc_jni::NewGlobalRef (JNIEnv *jni, jobject o)
 
void webrtc_jni::DeleteGlobalRef (JNIEnv *jni, jobject o)