Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
jniutil.cc File Reference
#include "ion/port/android/jniutil.h"
#include <memory>
#include "ion/port/logging.h"
Include dependency graph for jniutil.cc:

Go to the source code of this file.

Namespaces

 ion
 Copyright 2016 Google Inc.
 
 ion::port
 
 ion::port::android
 

Functions

JavaVM * ion::port::android::GetJVM ()
 
void ion::port::android::SetJVM (JavaVM *jvm)
 Set the pointer to the JavaVM. More...
 
jclass ion::port::android::FindClassGlobal (JNIEnv *env, const char *class_name)
 
jmethodID ion::port::android::GetStaticMethod (JNIEnv *env, jclass clazz, const char *class_name, const char *name, const char *signature)
 
jmethodID ion::port::android::GetMethod (JNIEnv *env, jclass clazz, const char *class_name, const char *name, const char *signature)
 
jfieldID ion::port::android::GetStaticStringMember (JNIEnv *env, jclass clazz, const char *class_name, const char *name)
 
jfieldID ion::port::android::GetStaticIntMember (JNIEnv *env, jclass clazz, const char *class_name, const char *name)
 
jfieldID ion::port::android::GetStaticLongMember (JNIEnv *env, jclass clazz, const char *class_name, const char *name)
 
jfieldID ion::port::android::GetStaticBooleanMember (JNIEnv *env, jclass clazz, const char *class_name, const char *name)
 
jfieldID ion::port::android::GetIntMember (JNIEnv *env, jclass clazz, const char *class_name, const char *name)
 
jfieldID ion::port::android::GetLongMember (JNIEnv *env, jclass clazz, const char *class_name, const char *name)
 
jfieldID ion::port::android::GetBooleanMember (JNIEnv *env, jclass clazz, const char *class_name, const char *name)
 
jfieldID ion::port::android::GetStringMember (JNIEnv *env, jclass clazz, const char *class_name, const char *name)
 
jfieldID ion::port::android::GetIntArrayMember (JNIEnv *env, jclass clazz, const char *class_name, const char *name)
 
jfieldID ion::port::android::GetStaticMember (JNIEnv *env, jclass clazz, const char *class_name, const char *name, const char *type)
 
jfieldID ion::port::android::GetMember (JNIEnv *env, jclass clazz, const char *class_name, const char *name, const char *type)
 
jobjectArray ion::port::android::JavaStringArray (JNIEnv *env, int length)
 
jstring ion::port::android::JavaString (JNIEnv *env, const std::string &s)
 
jbyteArray ion::port::android::JavaByteArray (JNIEnv *env, const std::string &bytes)
 
jbyteArray ion::port::android::JavaByteArray (JNIEnv *env, const jbyte *data, jsize size)
 
void ion::port::android::JavaGetByteArray (JNIEnv *env, jbyteArray array, jsize first, jsize size, char *out)
 

Variables

JavaVM * ion::port::android::s_jvm = NULL