Home | History | Annotate | Download | only in libnativehelper

Lines Matching refs:JniInvocation

17 #include "JniInvocation.h"
25 #define LOG_TAG "JniInvocation"
32 JniInvocation* JniInvocation::jni_invocation_ = NULL;
34 JniInvocation::JniInvocation() :
40 LOG_ALWAYS_FATAL_IF(jni_invocation_ != NULL, "JniInvocation instance already initialized");
44 JniInvocation::~JniInvocation() {
56 bool JniInvocation::Init(const char* library) {
103 jint JniInvocation::JNI_GetDefaultJavaVMInitArgs(void* vmargs) {
107 jint JniInvocation::JNI_CreateJavaVM(JavaVM** p_vm, JNIEnv** p_env, void* vm_args) {
111 jint JniInvocation::JNI_GetCreatedJavaVMs(JavaVM** vms, jsize size, jsize* vm_count) {
115 bool JniInvocation::FindSymbol(void** pointer, const char* symbol) {
126 JniInvocation& JniInvocation::GetJniInvocation() {
128 "Failed to create JniInvocation instance before using JNI invocation API");
133 return JniInvocation::GetJniInvocation().JNI_GetDefaultJavaVMInitArgs(vm_args);
137 return JniInvocation::GetJniInvocation().JNI_CreateJavaVM(p_vm, p_env, vm_args);
141 return JniInvocation::GetJniInvocation().JNI_GetCreatedJavaVMs(vms, size, vm_count);