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() {
60 const char* JniInvocation::GetLibrary(const char* library, char* buffer) {
97 bool JniInvocation::Init(const char* library) {
141 jint JniInvocation::JNI_GetDefaultJavaVMInitArgs(void* vmargs) {
145 jint JniInvocation::JNI_CreateJavaVM(JavaVM** p_vm, JNIEnv** p_env, void* vm_args) {
149 jint JniInvocation::JNI_GetCreatedJavaVMs(JavaVM** vms, jsize size, jsize* vm_count) {
153 bool JniInvocation::FindSymbol(void** pointer, const char* symbol) {
164 JniInvocation& JniInvocation::GetJniInvocation() {
166 "Failed to create JniInvocation instance before using JNI invocation API");
171 return JniInvocation::GetJniInvocation().JNI_GetDefaultJavaVMInitArgs(vm_args);
175 return JniInvocation::GetJniInvocation().JNI_CreateJavaVM(p_vm, p_env, vm_args);
179 return JniInvocation::GetJniInvocation().JNI_GetCreatedJavaVMs(vms, size, vm_count);