Home
last modified time | relevance | path

Searched refs:onConnectionStateChange (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/
DDckGattTest.kt67 on { onConnectionStateChange(gattCaptor.capture(), any(), any()) } doAnswer {} in <lambda>()
102 .onConnectionStateChange( in setUp()
193 .onConnectionStateChange( in testDiscoverDkGattService()
210 .onConnectionStateChange( in testDiscoverDkGattService()
259 .onConnectionStateChange( in testGattConnect_fromIrkScan()
305 .onConnectionStateChange( in testGattConnect_fromUuidScan()
DGattServerConnectWithoutScanTest.java86 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_CONNECTED)); in serverConnectToRandomAddress_withTransportAuto()
113 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_CONNECTED)); in serverConnectToRandomAddress_withTransportLE()
135 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_CONNECTED)); in serverConnectToPublicAddress_withTransportAuto()
157 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_CONNECTED)); in serverConnectToPublicAddress_withTransportLE()
DGattClientTest.java119 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_CONNECTED)); in directConnectGattAfterClose()
148 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_CONNECTED)); in reconnectExistingClient()
152 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_DISCONNECTED)); in reconnectExistingClient()
156 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_CONNECTED)); in reconnectExistingClient()
162 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_DISCONNECTED)); in reconnectExistingClient()
294 .onConnectionStateChange( in connectTimeout()
450 verify(callback, timeout(1000)).onConnectionStateChange(eq(gatt), eq(status), eq(state)); in connectGattAndWaitConnection()
459 verify(callback, timeout(1000)).onConnectionStateChange(eq(gatt), anyInt(), eq(state)); in disconnectAndWaitDisconnection()
DGattServerConnectWithScanTest.java101 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_CONNECTED)); in serverConnectToRandomAddress_withTransportAuto()
128 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_CONNECTED)); in serverConnectToRandomAddress_withTransportLE()
153 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_CONNECTED)); in serverConnectToPublicAddress_withTransportAuto()
177 .onConnectionStateChange(any(), anyInt(), eq(BluetoothProfile.STATE_CONNECTED)); in serverConnectToPublicAddress_withTransportLE()
DDckTestRule.kt190 override fun onConnectionStateChange( in connectGatt() method
/packages/modules/Bluetooth/framework/tests/bumble/doc/
Doverview.md60 .onConnectionStateChange(
69 .onConnectionStateChange(
Dguide.md178 .onConnectionStateChange(
209 .onConnectionStateChange(
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGattServerCallback.java30 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) {} in onConnectionStateChange() method in BluetoothGattServerCallback
DBluetoothGattCallback.java60 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {} in onConnectionStateChange() method in BluetoothGattCallback
DBluetoothGatt.java261 callback.onConnectionStateChange(
387 callback.onConnectionStateChange(
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/
DGattTransportServerProviderTest.java196 mBluetoothGattServerCallback.onConnectionStateChange( in testStartProcessing_succeed()
238 mBluetoothGattServerCallback.onConnectionStateChange( in startProcessing()
732 mBluetoothGattServerCallback.onConnectionStateChange( in testConnectionStateChange_disconnected()
DGattTransportClientProviderTest.java232 mBluetoothGattCallback.onConnectionStateChange( in setupGattConnect()
403 mBluetoothGattCallback.onConnectionStateChange( in testConnectionStateChange_disconnected()
418 mBluetoothGattCallback.onConnectionStateChange( in testConnectionStateChange_statusFailed()
/packages/apps/Settings/src/com/android/settings/accessibility/
DHearingDevicePairingFragment.java463 public void onConnectionStateChange(BluetoothGatt gatt, int status, in discoverServices()
465 super.onConnectionStateChange(gatt, status, newState); in discoverServices()
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/
DDistanceMeasurementInitiator.java105 public void onConnectionStateChange( in connectGatt()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattServer.java177 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) { in onConnectionStateChange() method in GattServer.MyGattServerCallback
DGattClientListener.java184 public void onConnectionStateChange(BluetoothGatt gatt, int status, in onConnectionStateChange() method in GattClientListener.GattCallback
/packages/modules/Bluetooth/android/pandora/server/src/
DGattInstance.kt85 override fun onConnectionStateChange( in onConnectionStateChange() method in com.android.pandora.GattInstance
/packages/services/Car/service/src/com/android/car/bluetooth/
DFastPairGattServer.java203 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) {
204 super.onConnectionStateChange(device, status, newState);
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/
DBatteryStateMachineTest.java372 mGattCallback.onConnectionStateChange(mBluetoothGatt, status, newState); in notifyConnectionStateChanged()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/
DGattTransportServerProvider.java95 public void onConnectionStateChange(
DGattTransportClientProvider.java99 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DFastPairGattServerTest.java315 mBluetoothGattServerCallback.onConnectionStateChange(device, in connectDevice()
321 mBluetoothGattServerCallback.onConnectionStateChange(device, in disconnectDevice()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryStateMachine.java545 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { in onConnectionStateChange() method in BatteryStateMachine.GattCallback
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java250 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { in onConnectionStateChange() method in BluetoothAccessoryFragment.GattBatteryCallbacks
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientStateMachineTest.java665 cb.onConnectionStateChange(null, status, newState); in gattCallbackOnConnectionStateChange_changedToConnected()
679 cb.onConnectionStateChange(null, status, newState); in gattCallbackOnConnectionStateChange_changedToConnected()
701 cb.onConnectionStateChange(null, status, newState); in gattCallbackOnConnectionStateChanged_changedToDisconnected()
2614 mGattCallback.onConnectionStateChange(gatt, status, newState); in notifyConnectionStateChanged()

12