|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include "AndroidInterface.h"#include "AndroidSerial.h"#include <QtCore/QJniEnvironment>#include <QtCore/QJniObject>#include <QtCore/QLoggingCategory>#include <atomic>#include "QGCLoggingCategory.h"
Include dependency graph for AndroidInit.cc:Go to the source code of this file.
Functions | |
| QGC_LOGGING_CATEGORY (AndroidInitLog, "Android.AndroidInit") | |
| static jboolean | jniInit (JNIEnv *env, jobject thiz) |
| static jint | jniSetNativeMethods () |
| jint | JNI_OnLoad (JavaVM *vm, void *) |
| void | JNI_OnUnload (JavaVM *vm, void *) |
Variables | |
| static std::atomic< jobject > | _context {nullptr} |
| static std::atomic< jobject > | _class_loader {nullptr} |
| static std::atomic< JavaVM * > | _java_vm {nullptr} |
| jint JNI_OnLoad | ( | JavaVM * | vm, |
| void * | |||
| ) |
Definition at line 144 of file AndroidInit.cc.
References _java_vm, jniSetNativeMethods(), AndroidInterface::setNativeMethods(), and AndroidSerial::setNativeMethods().
| void JNI_OnUnload | ( | JavaVM * | vm, |
| void * | |||
| ) |
Definition at line 170 of file AndroidInit.cc.
References _class_loader, _context, _java_vm, and AndroidSerial::cleanupJniCache().
|
static |
Definition at line 46 of file AndroidInit.cc.
References _class_loader, and _context.
Referenced by jniSetNativeMethods().
|
static |
Definition at line 111 of file AndroidInit.cc.
References jniInit(), and AndroidInterface::kJniQGCActivityClassName.
Referenced by JNI_OnLoad().
| QGC_LOGGING_CATEGORY | ( | AndroidInitLog | , |
| "Android.AndroidInit" | |||
| ) |
|
static |
Definition at line 16 of file AndroidInit.cc.
Referenced by JNI_OnUnload(), and jniInit().
|
static |
Definition at line 15 of file AndroidInit.cc.
Referenced by JNI_OnUnload(), and jniInit().
|
static |
Definition at line 17 of file AndroidInit.cc.
Referenced by JNI_OnLoad(), and JNI_OnUnload().