Home
last modified time | relevance | path

Searched refs:mBluetoothGatt (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/
DGattTransportClientProvider.java68 private BluetoothGatt mBluetoothGatt; field in GattTransportClientProvider
101 mBluetoothGatt = gatt;
126 mBluetoothGatt = gatt;
177 mBluetoothGatt = gatt;
188 mBluetoothGatt = gatt;
204 mBluetoothGatt = gatt;
223 mBluetoothGatt = gatt;
237 mBluetoothGatt = gatt;
297 if (mBluetoothGatt == null) { in start()
299 mBluetoothGatt = in start()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryStateMachine.java74 BluetoothGatt mBluetoothGatt; field in BatteryStateMachine
112 if (mBluetoothGatt != null) { in cleanup()
113 mBluetoothGatt.close(); in cleanup()
114 mBluetoothGatt = null; in cleanup()
163 ProfileService.println(sb, " BluetoothGatt: " + mBluetoothGatt); in dump()
227 if (mBluetoothGatt != null) { in connectGatt()
229 mBluetoothGatt.close(); in connectGatt()
231 mBluetoothGatt = in connectGatt()
240 return mBluetoothGatt != null; in connectGatt()
281 if (mBluetoothGatt != null) { in enter()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientStateMachine.java160 @VisibleForTesting BluetoothGattTestableWrapper mBluetoothGatt = null; field in BassClientStateMachine
239 if (mBluetoothGatt != null) { in cleanup()
241 mBluetoothGatt.disconnect(); in cleanup()
242 mBluetoothGatt.close(); in cleanup()
243 mBluetoothGatt = null; in cleanup()
585 if (mBluetoothGatt != null) { in resetBluetoothGatt()
586 mBluetoothGatt.close(); in resetBluetoothGatt()
587 mBluetoothGatt = null; in resetBluetoothGatt()
1045 if (mBluetoothGatt != null) { in onConnectionStateChange()
1048 + mBluetoothGatt.discoverServices()); in onConnectionStateChange()
[all …]
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattClientListener.java59 private BluetoothGatt mBluetoothGatt; field in GattClientListener
96 mBluetoothGatt = null; in GattClientListener()
162 if (mBluetoothGatt == null) { in onReceive()
163 mBluetoothGatt = mDevice.connectGatt(mContext, in onReceive()
166 mBluetoothGatt.discoverServices(); in onReceive()
191 mBluetoothGatt.discoverServices(); in onConnectionStateChange()
197 mBluetoothGatt.close(); in onConnectionStateChange()
201 mBluetoothGatt = null; in onConnectionStateChange()
215 mBluetoothGatt.requestMtu(MAX_MTU); in onServicesDiscovered()
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/
DDistanceMeasurementInitiator.java62 @Nullable private BluetoothGatt mBluetoothGatt = null; field in DistanceMeasurementInitiator
115 mBluetoothGatt = gatt; in connectGatt()
120 mBluetoothGatt.close(); in connectGatt()
121 mBluetoothGatt = null; in connectGatt()
140 if (mBluetoothGatt != null) { in disconnectGatt()
141 printLog("disconnect from " + mBluetoothGatt.getDevice().getName()); in disconnectGatt()
142 mBluetoothGatt.disconnect(); in disconnectGatt()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientStateMachineTest.java272 assertNull(mBassClientStateMachine.mBluetoothGatt); in testFailToConnectGatt()
350 mBassClientStateMachine.mBluetoothGatt = btGatt; in testStatesChangesWithMessages()
368 mBassClientStateMachine.mBluetoothGatt = btGatt; in testStatesChangesWithMessages()
380 mBassClientStateMachine.mBluetoothGatt = btGatt; in testStatesChangesWithMessages()
419 mBassClientStateMachine.mBluetoothGatt = in testStatesChangesWithMessages()
478 mBassClientStateMachine.mBluetoothGatt = btGatt; in acquireAllBassChars()
659 mBassClientStateMachine.mBluetoothGatt = btGatt; in gattCallbackOnConnectionStateChange_changedToConnected()
670 assertThat(mBassClientStateMachine.mBluetoothGatt).isNull(); in gattCallbackOnConnectionStateChange_changedToConnected()
674 mBassClientStateMachine.mBluetoothGatt = btGatt; in gattCallbackOnConnectionStateChange_changedToConnected()
696 mBassClientStateMachine.mBluetoothGatt = btGatt; in gattCallbackOnConnectionStateChanged_changedToDisconnected()
[all …]
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DBluetoothLeScanner.java424 private IBluetoothGatt mBluetoothGatt; field in BluetoothLeScanner.BleScanCallbackWrapper
440 mBluetoothGatt = bluetoothGatt; in BleScanCallbackWrapper()
458 mBluetoothGatt.registerScanner(this, mWorkSource, mAttributionSource); in startRegistration()
498 mBluetoothGatt.stopScan(mScannerId, mAttributionSource); in stopLeScan()
500 mBluetoothGatt.unregisterScanner(mScannerId, mAttributionSource); in stopLeScan()
520 mBluetoothGatt.flushPendingBatchResults(mScannerId, mAttributionSource); in flushPendingBatchResults()
547 mBluetoothGatt.unregisterScanner(scannerId, mAttributionSource); in onScannerRegistered()
555 mBluetoothGatt.startScan( in onScannerRegistered()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/
DBatteryStateMachineTest.java158 assertNull(mBatteryStateMachine.mBluetoothGatt); in testFailToConnectGatt()
372 mGattCallback.onConnectionStateChange(mBluetoothGatt, status, newState); in notifyConnectionStateChanged()
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt2447 Landroid/bluetooth/le/BluetoothLeScanner$BleScanCallbackWrapper;->mBluetoothGatt:Landroid/bluetooth…