Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
jniutil.h File Reference
#include <jni.h>
#include <string>
Include dependency graph for jniutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ion::port::android::LocalFrame
 Pushes and pops a JNI local reference frame. More...
 
class  ion::port::android::ScopedJObject
 Stack-allocate this to clean up a jobject at end of scope. More...
 

Namespaces

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

Functions

void ion::port::android::SetJVM (JavaVM *jvm)
 Set the pointer to the JavaVM. More...
 
JavaVM * ion::port::android::GetJVM ()
 
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::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)
 
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::GetStringMember (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::GetIntArrayMember (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::GetStaticStringMember (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)
 
jstring ion::port::android::JavaString (JNIEnv *env, const std::string &s)
 
jobjectArray ion::port::android::JavaStringArray (JNIEnv *env, int length)
 
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)