/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
H A D | BleEncryptedClientService.java | 113 private BluetoothGatt mBluetoothGatt; field in BleEncryptedClientService 154 if (mBluetoothGatt != null) { in onDestroy() 155 mBluetoothGatt.disconnect(); in onDestroy() 156 mBluetoothGatt.close(); in onDestroy() 157 mBluetoothGatt = null; in onDestroy() 218 if (mBluetoothGatt != null) { in getService() 219 service = mBluetoothGatt.getService(SERVICE_UUID); in getService() 270 mBluetoothGatt.writeCharacteristic(characteristic); in startEncryptedAction() 275 mBluetoothGatt.readCharacteristic(characteristic); in startEncryptedAction() 281 mBluetoothGatt.writeDescriptor(descriptor); in startEncryptedAction() [all …]
|
H A D | BleClientService.java | 322 private BluetoothGatt mBluetoothGatt; field in BleClientService 404 if (mBluetoothGatt != null && mBleState == BluetoothProfile.STATE_CONNECTED) { in onTestFinish() 405 mBluetoothGatt.discoverServices(); in onTestFinish() 501 if (mBluetoothGatt != null) { in onTestFinish() 502 mBluetoothGatt.readRemoteRssi(); in onTestFinish() 506 if (mBluetoothGatt != null) { in onTestFinish() 507 mBluetoothGatt.disconnect(); in onTestFinish() 536 if (mBluetoothGatt != null) { in onTestFinish() 537 mBluetoothGatt.readPhy(); in onTestFinish() 541 if (mBluetoothGatt != null) { in onTestFinish() [all …]
|
H A D | BleCocClientService.java | 140 private BluetoothGatt mBluetoothGatt; field in BleCocClientService 220 if (mBluetoothGatt != null) { in onTestFinish() 221 mBluetoothGatt.disconnect(); in onTestFinish() 241 if (mBluetoothGatt != null) { in onDestroy() 242 mBluetoothGatt.disconnect(); in onDestroy() 243 mBluetoothGatt.close(); in onDestroy() 244 mBluetoothGatt = null; in onDestroy() 283 mBluetoothGatt.readCharacteristic(characteristic); in readCharacteristic() 318 if (mBluetoothGatt != null && mBleState == BluetoothProfile.STATE_CONNECTED) { in startLeDiscovery() 319 mBluetoothGatt.discoverServices(); in startLeDiscovery() [all …]
|
H A D | BleConnectionPriorityClientService.java | 83 private BluetoothGatt mBluetoothGatt; field in BleConnectionPriorityClientService 117 if (mBluetoothGatt != null) { in onDestroy() 119 mBluetoothGatt.disconnect(); in onDestroy() 120 mBluetoothGatt.close(); in onDestroy() 123 mBluetoothGatt = null; in onDestroy() 154 if (mBluetoothGatt != null) { in onStartCommand() 155 mBluetoothGatt.disconnect(); in onStartCommand() 171 mBluetoothGatt.requestConnectionPriority(mPriority); in myRequestConnectionPriority() 214 mBluetoothGatt.disconnect(); 218 mBluetoothGatt.disconnect(); [all …]
|
/aosp_15_r20/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
D | BluetoothLeService.java | 48 private BluetoothGatt mBluetoothGatt; field in BluetoothLeService 82 mBluetoothGatt.discoverServices()); 220 && mBluetoothGatt != null) { in connect() 222 if (mBluetoothGatt.connect()) { in connect() 237 mBluetoothGatt = device.connectGatt(this, false, mGattCallback); in connect() 251 if (mBluetoothAdapter == null || mBluetoothGatt == null) { in disconnect() 255 mBluetoothGatt.disconnect(); in disconnect() 263 if (mBluetoothGatt == null) { in close() 266 mBluetoothGatt.close(); in close() 267 mBluetoothGatt = null; in close() [all …]
|
/aosp_15_r20/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
H A D | BluetoothLeService.java | 48 private BluetoothGatt mBluetoothGatt; field in BluetoothLeService 82 mBluetoothGatt.discoverServices()); 220 && mBluetoothGatt != null) { in connect() 222 if (mBluetoothGatt.connect()) { in connect() 237 mBluetoothGatt = device.connectGatt(this, false, mGattCallback); in connect() 251 if (mBluetoothAdapter == null || mBluetoothGatt == null) { in disconnect() 255 mBluetoothGatt.disconnect(); in disconnect() 263 if (mBluetoothGatt == null) { in close() 266 mBluetoothGatt.close(); in close() 267 mBluetoothGatt = null; in close() [all …]
|
/aosp_15_r20/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
H A D | BluetoothLeService.java | 48 private BluetoothGatt mBluetoothGatt; field in BluetoothLeService 82 mBluetoothGatt.discoverServices()); 220 && mBluetoothGatt != null) { in connect() 222 if (mBluetoothGatt.connect()) { in connect() 237 mBluetoothGatt = device.connectGatt(this, false, mGattCallback); in connect() 251 if (mBluetoothAdapter == null || mBluetoothGatt == null) { in disconnect() 255 mBluetoothGatt.disconnect(); in disconnect() 263 if (mBluetoothGatt == null) { in close() 266 mBluetoothGatt.close(); in close() 267 mBluetoothGatt = null; in close() [all …]
|
/aosp_15_r20/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
H A D | BasicBluetoothGattTest.java | 59 private BluetoothGatt mBluetoothGatt; field in BasicBluetoothGattTest 75 mBluetoothGatt = in setUp() 78 if (mBluetoothGatt == null) { in setUp() 84 mBluetoothGatt = in setUp() 88 assertNotNull(mBluetoothGatt); in setUp() 93 if (mBluetoothGatt != null) { in tearDown() 94 mBluetoothGatt.disconnect(); in tearDown() 105 List<BluetoothGattService> services = mBluetoothGatt.getServices(); in getServices() 113 mBluetoothGatt.connect(); in connect() 119 mBluetoothGatt.setPreferredPhy( in setPreferredPhy() [all …]
|
/aosp_15_r20/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/ |
D | GattTransportClientProvider.java | 68 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 …]
|
/aosp_15_r20/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | BassClientStateMachine.java | 171 @VisibleForTesting BluetoothGattTestableWrapper mBluetoothGatt = null; field in BassClientStateMachine 341 if (mBluetoothGatt != null) { in cleanup() 343 mBluetoothGatt.disconnect(); in cleanup() 344 mBluetoothGatt.close(); in cleanup() 345 mBluetoothGatt = null; in cleanup() 688 if (mBluetoothGatt != null) { in resetBluetoothGatt() 689 mBluetoothGatt.close(); in resetBluetoothGatt() 690 mBluetoothGatt = null; in resetBluetoothGatt() 1265 if (mBluetoothGatt != null) { in onConnectionStateChange() 1268 + mBluetoothGatt.discoverServices()); in onConnectionStateChange() [all …]
|
/aosp_15_r20/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothMidiDevice.java | 82 private BluetoothGatt mBluetoothGatt; field in BluetoothMidiDevice 116 mBluetoothGatt.discoverServices()); 144 mBluetoothGatt.readCharacteristic(characteristic); 172 mBluetoothGatt.setCharacteristicNotification(characteristic, true); 182 int result = mBluetoothGatt.writeDescriptor(descriptor, 258 int result = mBluetoothGatt.writeCharacteristic(mCharacteristic, mCachedBuffer, in writePacket() 278 mBluetoothGatt = mBluetoothDevice.connectGatt(context, false, mGattCallback); in BluetoothMidiDevice() 284 properties.putString(MidiDeviceInfo.PROPERTY_NAME, mBluetoothGatt.getDevice().getName()); in BluetoothMidiDevice() 286 mBluetoothGatt.getDevice()); in BluetoothMidiDevice() 335 if (mBluetoothGatt != null) { in close() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/ |
D | BatteryStateMachine.java | 77 BluetoothGatt mBluetoothGatt; field in BatteryStateMachine 110 if (mBluetoothGatt != null) { in cleanup() 111 mBluetoothGatt.close(); in cleanup() 112 mBluetoothGatt = null; in cleanup() 138 ProfileService.println(sb, " BluetoothGatt: " + mBluetoothGatt); in dump() 185 mBluetoothGatt = 194 return mBluetoothGatt != null; 201 mBluetoothGatt.disconnect(); 208 mBluetoothGatt.discoverServices(); 238 if (mBluetoothGatt != null) { [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
D | BassClientStateMachineTest.java | 281 assertNull(mBassClientStateMachine.mBluetoothGatt); in testFailToConnectGatt() 371 mBassClientStateMachine.mBluetoothGatt = btGatt; in testStatesChangesWithMessages() 389 mBassClientStateMachine.mBluetoothGatt = btGatt; in testStatesChangesWithMessages() 401 mBassClientStateMachine.mBluetoothGatt = btGatt; in testStatesChangesWithMessages() 440 mBassClientStateMachine.mBluetoothGatt = in testStatesChangesWithMessages() 499 mBassClientStateMachine.mBluetoothGatt = btGatt; in acquireAllBassChars() 680 mBassClientStateMachine.mBluetoothGatt = btGatt; in gattCallbackOnConnectionStateChange_changedToConnected() 691 assertThat(mBassClientStateMachine.mBluetoothGatt).isNull(); in gattCallbackOnConnectionStateChange_changedToConnected() 695 mBassClientStateMachine.mBluetoothGatt = btGatt; in gattCallbackOnConnectionStateChange_changedToConnected() 717 mBassClientStateMachine.mBluetoothGatt = btGatt; in gattCallbackOnConnectionStateChanged_changedToDisconnected() [all …]
|
/aosp_15_r20/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattClientListener.java | 59 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()
|
/aosp_15_r20/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/ |
D | BleConnectionViewModel.java | 61 @Nullable private BluetoothGatt mBluetoothGatt = null; field in BleConnectionViewModel 224 mBluetoothGatt = gatt; 231 mBluetoothGatt.close(); 232 mBluetoothGatt = null; 258 if (mBluetoothGatt != null) { in disconnectGatt() 259 printLog("disconnect from " + mBluetoothGatt.getDevice().getName()); in disconnectGatt() 260 mBluetoothGatt.disconnect(); in disconnectGatt() 288 mBluetoothGatt =
|
/aosp_15_r20/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | BluetoothLeScanner.java | 419 private IBluetoothGatt mBluetoothGatt; field in BluetoothLeScanner.BleScanCallbackWrapper 435 mBluetoothGatt = bluetoothGatt; in BleScanCallbackWrapper() 453 mBluetoothGatt.registerScanner(this, mWorkSource, mAttributionSource); in startRegistration() 493 mBluetoothGatt.stopScan(mScannerId, mAttributionSource); in stopLeScan() 495 mBluetoothGatt.unregisterScanner(mScannerId, mAttributionSource); in stopLeScan() 515 mBluetoothGatt.flushPendingBatchResults(mScannerId, mAttributionSource); in flushPendingBatchResults() 542 mBluetoothGatt.unregisterScanner(scannerId, mAttributionSource); in onScannerRegistered() 550 mBluetoothGatt.startScan( in onScannerRegistered()
|
/aosp_15_r20/cts/hostsidetests/multidevices/bluetooth/snippet/ |
H A D | BluetoothGattMultiDevicesClient.java | 50 private BluetoothGatt mBluetoothGatt; field in BluetoothGattMultiDevicesClient 117 mBluetoothGatt = mServer.connectGatt(mContext, false, mGattCallback, TRANSPORT_LE); in connect() 134 mBluetoothGatt.discoverServices(); in containsService() 142 return mBluetoothGatt.getService(UUID.fromString(uuid)) != null; in containsService() 153 mBluetoothGatt.disconnect(); in disconnect()
|
/aosp_15_r20/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
H A D | GattClientFacade.java | 121 BluetoothGatt mBluetoothGatt = device.connectGatt(mService.getApplicationContext(), in gattClientConnectGatt() local 124 mBluetoothGattList.put(BluetoothGattCount, mBluetoothGatt); in gattClientConnectGatt() 2216 for (BluetoothGatt mBluetoothGatt : mBluetoothGattList.values()) { in shutdown() 2217 mBluetoothGatt.close(); in shutdown()
|
/aosp_15_r20/out/soong/.intermediates/frameworks/base/media/packages/BluetoothMidiService/BluetoothMidiService/android_common/repackaged-jarjar/javac/ |
D | BluetoothMidiService.jar | com/android/bluetoothmidiservice/PacketEncoder.class
PacketEncoder.java
package com.android.bluetoothmidiservice
public ... |
/aosp_15_r20/out/soong/.intermediates/frameworks/base/media/packages/BluetoothMidiService/BluetoothMidiService/android_common/javac/ |
D | BluetoothMidiService.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/ ... |
/aosp_15_r20/out/soong/.intermediates/frameworks/base/media/packages/BluetoothMidiService/BluetoothMidiService/android_common/combined/ |
D | BluetoothMidiService.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/ ... |
/aosp_15_r20/out/target/common/obj/APPS/BluetoothMidiService_intermediates/ |
D | classes.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/ ... |
/aosp_15_r20/out/soong/.intermediates/packages/modules/Uwb/service/service-uwb-pre-jarjar/android_common_apex33/javac/ |
D | service-uwb-pre-jarjar.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/ ... |
/aosp_15_r20/packages/modules/Bluetooth/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 2447 Landroid/bluetooth/le/BluetoothLeScanner$BleScanCallbackWrapper;->mBluetoothGatt:Landroid/bluetooth…
|
/aosp_15_r20/prebuilts/module_sdk/Bluetooth/13/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 2447 Landroid/bluetooth/le/BluetoothLeScanner$BleScanCallbackWrapper;->mBluetoothGatt:Landroid/bluetooth…
|