|
QGroundControl
Ground Control Station for MAVLink Drones
|
Classes | |
| class | JniLocalRef |
Functions | |
| static void | jniLogDebug (JNIEnv *, jobject, jstring message) |
| static void | jniLogWarning (JNIEnv *, jobject, jstring message) |
| static void | jniStoragePermissionsResult (JNIEnv *, jobject, jboolean granted) |
| void | setNativeMethods () |
| bool | checkStoragePermissions () |
| QString | getSDCardPath () |
| void | setKeepScreenOn (bool on) |
| template<typename... Args> | |
| bool | callStaticIntMethod (QJniEnvironment &env, jclass cls, jmethodID method, const char *caller, const QLoggingCategory &logCategory, jint &result, Args... args) |
| template<typename... Args> | |
| bool | callStaticBooleanMethod (QJniEnvironment &env, jclass cls, jmethodID method, const char *caller, const QLoggingCategory &logCategory, jboolean &result, Args... args) |
Variables | |
| static QSharedPointer< QLocks::QLockBase > | s_partialWakeLock |
| static QSharedPointer< QLocks::QLockBase > | s_wifiLock |
| constexpr const char * | kJniQGCActivityClassName = "org/mavlink/qgroundcontrol/QGCActivity" |
|
inline |
Definition at line 88 of file AndroidInterface.h.
Referenced by AndroidSerial::callBoolMethod(), AndroidSerial::callBoolSetMethod(), AndroidSerial::close(), AndroidSerial::isOpen(), AndroidSerial::purgeBuffers(), AndroidSerial::setFlowControl(), and AndroidSerial::setParameters().
|
inline |
Definition at line 75 of file AndroidInterface.h.
Referenced by AndroidSerial::getDeviceHandle(), AndroidSerial::getDeviceId(), AndroidSerial::getFlowControl(), and AndroidSerial::open().
| bool AndroidInterface::checkStoragePermissions | ( | ) |
Definition at line 104 of file AndroidInterface.cc.
References checkStoragePermissions(), and kJniQGCActivityClassName.
Referenced by checkStoragePermissions(), getSDCardPath(), and Platform::setupPostApp().
| QString AndroidInterface::getSDCardPath | ( | ) |
Definition at line 123 of file AndroidInterface.cc.
References checkStoragePermissions(), getSDCardPath(), and kJniQGCActivityClassName.
Referenced by AppSettings::AppSettings(), getSDCardPath(), and jniStoragePermissionsResult().
|
static |
Definition at line 25 of file AndroidInterface.cc.
References jniLogDebug().
Referenced by jniLogDebug(), and setNativeMethods().
|
static |
Definition at line 30 of file AndroidInterface.cc.
References jniLogWarning().
Referenced by jniLogWarning(), and setNativeMethods().
|
static |
Definition at line 35 of file AndroidInterface.cc.
References AppSettings::androidDontSaveToSDCard(), getSDCardPath(), jniStoragePermissionsResult(), qgcApp, and AppSettings::savePath().
Referenced by jniStoragePermissionsResult(), and setNativeMethods().
| void AndroidInterface::setKeepScreenOn | ( | bool | on | ) |
Definition at line 148 of file AndroidInterface.cc.
References s_partialWakeLock, s_wifiLock, and setKeepScreenOn().
Referenced by setKeepScreenOn().
| void AndroidInterface::setNativeMethods | ( | ) |
Definition at line 87 of file AndroidInterface.cc.
References jniLogDebug(), jniLogWarning(), jniStoragePermissionsResult(), kJniQGCActivityClassName, and setNativeMethods().
Referenced by JNI_OnLoad(), and setNativeMethods().
|
constexpr |
Definition at line 15 of file AndroidInterface.h.
Referenced by checkStoragePermissions(), getSDCardPath(), jniSetNativeMethods(), and setNativeMethods().
|
static |
Definition at line 145 of file AndroidInterface.cc.
Referenced by setKeepScreenOn().
|
static |
Definition at line 146 of file AndroidInterface.cc.
Referenced by setKeepScreenOn().