Lines Matching defs: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() {
59 const char* JniInvocation::GetLibrary(const char* library, char* buffer) {
99 bool JniInvocation::Init(const char* library) {
147 jint JniInvocation::JNI_GetDefaultJavaVMInitArgs(void* vmargs) {
151 jint JniInvocation::JNI_CreateJavaVM(JavaVM** p_vm, JNIEnv** p_env, void* vm_args) {
155 jint JniInvocation::JNI_GetCreatedJavaVMs(JavaVM** vms, jsize size, jsize* vm_count) {
159 bool JniInvocation::FindSymbol(void** pointer, const char* symbol) {
170 JniInvocation& JniInvocation::GetJniInvocation() {
172 "Failed to create JniInvocation instance before using JNI invocation API");
177 return JniInvocation::GetJniInvocation().JNI_GetDefaultJavaVMInitArgs(vm_args);
181 return JniInvocation::GetJniInvocation().JNI_CreateJavaVM(p_vm, p_env, vm_args);
185 return JniInvocation::GetJniInvocation().JNI_GetCreatedJavaVMs(vms, size, vm_count);