Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
jni_android_p.h File Reference
#include "qbluetooth.h"
#include <QtCore/QJniObject>
#include <QtCore/private/qglobal_p.h>
#include <QtCore/qcoreapplication_platform.h>
+ Include dependency graph for jni_android_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  JavaNames {
  BluetoothAdapter = 0 , BluetoothDevice , ActionAclConnected , ActionAclDisconnected ,
  ActionBondStateChanged , ActionDiscoveryStarted , ActionDiscoveryFinished , ActionFound ,
  ActionScanModeChanged , ActionUuid , ExtraBondState , ExtraDevice ,
  ExtraPairingKey , ExtraPairingVariant , ExtraRssi , ExtraScanMode ,
  ExtraUuid
}
 

Functions

QT_BEGIN_NAMESPACE Q_DECLARE_JNI_CLASS (QtBtBroadcastReceiver, "org/qtproject/qt/android/bluetooth/QtBluetoothBroadcastReceiver")
 
 Q_DECLARE_JNI_CLASS (QtBtGattCharacteristic, "org/qtproject/qt/android/bluetooth/QtBluetoothGattCharacteristic")
 
 Q_DECLARE_JNI_CLASS (QtBtGattDescriptor, "org/qtproject/qt/android/bluetooth/QtBluetoothGattDescriptor")
 
 Q_DECLARE_JNI_CLASS (QtBtInputStreamThread, "org/qtproject/qt/android/bluetooth/QtBluetoothInputStreamThread") template<> const expr auto QtJniTypes
 
QJniObject valueFromStaticFieldCache (const char *key, const char *className, const char *fieldName)
 
template<typename Klass , JavaNames Field>
QJniObject valueForStaticField ()
 

Enumeration Type Documentation

◆ JavaNames

enum JavaNames
Enumerator
BluetoothAdapter 
BluetoothDevice 
ActionAclConnected 
ActionAclDisconnected 
ActionBondStateChanged 
ActionDiscoveryStarted 
ActionDiscoveryFinished 
ActionFound 
ActionScanModeChanged 
ActionUuid 
ExtraBondState 
ExtraDevice 
ExtraPairingKey 
ExtraPairingVariant 
ExtraRssi 
ExtraScanMode 
ExtraUuid 

Definition at line 73 of file jni_android_p.h.

Function Documentation

◆ Q_DECLARE_JNI_CLASS() [1/4]

QT_BEGIN_NAMESPACE Q_DECLARE_JNI_CLASS ( QtBtBroadcastReceiver  ,
"org/qtproject/qt/android/bluetooth/QtBluetoothBroadcastReceiver"   
)

◆ Q_DECLARE_JNI_CLASS() [2/4]

Q_DECLARE_JNI_CLASS ( QtBtGattCharacteristic  ,
"org/qtproject/qt/android/bluetooth/QtBluetoothGattCharacteristic"   
)

◆ Q_DECLARE_JNI_CLASS() [3/4]

Q_DECLARE_JNI_CLASS ( QtBtGattDescriptor  ,
"org/qtproject/qt/android/bluetooth/QtBluetoothGattDescriptor"   
)

◆ Q_DECLARE_JNI_CLASS() [4/4]

Q_DECLARE_JNI_CLASS ( QtBtInputStreamThread  ,
"org/qtproject/qt/android/bluetooth/QtBluetoothInputStreamThread"   
) const

Definition at line 32 of file jni_android_p.h.

◆ valueForStaticField()

template<typename Klass , JavaNames Field>
QJniObject valueForStaticField ( )

Definition at line 97 of file jni_android_p.h.

References ActionAclConnected, ActionAclDisconnected, ActionBondStateChanged, ActionDiscoveryFinished, ActionDiscoveryStarted, ActionFound, ActionScanModeChanged, ActionUuid, className, ExtraBondState, ExtraDevice, ExtraPairingKey, ExtraPairingVariant, ExtraRssi, ExtraScanMode, ExtraUuid, and valueFromStaticFieldCache().

Referenced by DeviceDiscoveryBroadcastReceiver::onReceive(), LocalDeviceBroadcastReceiver::onReceive(), and ServiceDiscoveryBroadcastReceiver::onReceive().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ valueFromStaticFieldCache()

QJniObject valueFromStaticFieldCache ( const char *  key,
const char *  className,
const char *  fieldName 
)

Definition at line 26 of file jni_android.cpp.

References className, QSet< T >::find(), and it.

Referenced by valueForStaticField().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: