Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qjniobject.h"
#include "qjnihelpers_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qhash.h>
#include <QtCore/qreadwritelock.h>
#include <QtCore/qloggingcategory.h>
Go to the source code of this file.
Classes | |
class | QJniObjectPrivate |
Typedefs | |
typedef QHash< QByteArray, jclass > | JClassHash |
typedef QHash< QByteArray, jmethodID > | JMethodIDHash |
typedef QHash< QByteArray, jfieldID > | JFieldIDHash |
Functions | |
template<typename ... Args> | |
static QByteArray | cacheKey (Args &&...args) |
static jclass | getCachedClass (const QByteArray &className) |
static QJniObject | getCleanJniObject (jobject object, JNIEnv *env) |
typedef QHash<QByteArray, jclass> JClassHash |
Definition at line 329 of file qjniobject.cpp.
typedef QHash<QByteArray, jfieldID> JFieldIDHash |
Definition at line 494 of file qjniobject.cpp.
typedef QHash<QByteArray, jmethodID> JMethodIDHash |
Definition at line 428 of file qjniobject.cpp.
|
inlinestatic |
Definition at line 324 of file qjniobject.cpp.
References args.
Referenced by QTextHtmlParserNode::applyForegroundImage(), QNetworkAccessAuthenticationManager::cacheCredentials(), QNetworkAccessAuthenticationManager::cacheProxyCredentials(), QRhiD3D11::compileHlslShaderSource(), QGles2GraphicsPipeline::create(), QGles2ComputePipeline::create(), QWindowsOleDropSource::createCursors(), QDirectFbBlitter::drawCachedGlyphs(), QOpenGL2PaintEngineExPrivate::drawCachedGlyphs(), fallbacksForFamily(), QNetworkAccessAuthenticationManager::fetchCachedCredentials(), QNetworkAccessAuthenticationManager::fetchCachedProxyCredentials(), QCommonStylePrivate::iconFromMacTheme(), QPMCache::insert(), QOpenGLShaderProgramPrivate::linkBinary(), QOpenGLProgramBinaryCache::load(), QSSGShaderCache::newPipelineFromPregenerated(), PixmapEntry::pixmap(), QWindowsCursor::pixmapWindowCursor(), QPMCache::remove(), QOpenGLProgramBinaryCache::save(), QAppleIconEngine::scaledPixmap(), QAndroidPlatformIconEngine::scaledPixmap(), QWindowsIconEngine::scaledPixmap(), QRhiD3D11::setPipelineCacheData(), QQC2::QCommonStyle::standardIcon(), QSSGShaderCache::tryGetRhiShaderPipeline(), QRhiGles2::tryLoadFromDiskOrPipelineCache(), QSSGShaderCache::tryNewPipelineFromPersistentCache(), QRhiGles2::trySaveToDiskCache(), QRhiGles2::trySaveToPipelineCache(), QT_BEGIN_NAMESPACE::QSGCurveFillMaterialShader::updateSampledImage(), QQuickShapeLinearGradientRhiShader::updateSampledImage(), QQuickShapeRadialGradientRhiShader::updateSampledImage(), and QQuickShapeConicalGradientRhiShader::updateSampledImage().
|
static |
Definition at line 333 of file qjniobject.cpp.
References className, QSet< T >::constEnd(), QSet< T >::constFind(), and it.
Referenced by QtAndroidPrivate::findClass().
|
static |
Get a JNI object from a jobject variant and do the necessary exception clearing and delete the local reference before returning. The JNI object can be null if there was an exception.
Definition at line 347 of file qjniobject.cpp.