| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/ |
| D | HapClientStateMachineTest.java | 126 verifyConnectionStateIntent(STATE_CONNECTING, STATE_DISCONNECTED); in outgoingConnect_whenTimeOut_isDisconnectedAndInAcceptList() 133 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_CONNECTING); in outgoingConnect_whenTimeOut_isDisconnectedAndInAcceptList() 147 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_CONNECTING); in incomingConnect_whenTimeOut_isDisconnectedAndInAcceptList() 163 verifyConnectionStateIntent(STATE_CONNECTING, STATE_DISCONNECTED); in timeout_whenOutgoingConnect_isDisconnected() 170 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_CONNECTING); in timeout_whenOutgoingConnect_isDisconnected() 178 verifyConnectionStateIntent(STATE_CONNECTING, STATE_DISCONNECTED); in disconnect_whenConnecting_isDisconnected() 183 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_CONNECTING); in disconnect_whenConnecting_isDisconnected() 191 verifyConnectionStateIntent(STATE_CONNECTING, STATE_DISCONNECTED); in remoteToggleDisconnect_whenConnecting_isDisconnected() 203 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_DISCONNECTING); in remoteToggleDisconnect_whenConnecting_isDisconnected() 217 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_DISCONNECTING); in timeout_whenOutgoingDisConnect_isDisconnected() [all …]
|
| D | HapClientServiceTest.java | 260 verifyConnectionStateIntent(mDevice, STATE_CONNECTING, STATE_DISCONNECTED); in outgoingConnect_whenTimeOut_isDisconnected() 265 verifyConnectionStateIntent(mDevice, STATE_DISCONNECTED, STATE_CONNECTING); in outgoingConnect_whenTimeOut_isDisconnected() 657 verifyConnectionStateIntent(device, STATE_CONNECTING, STATE_DISCONNECTED); in verifyConnectingDevice() 728 private void verifyConnectionStateIntent(BluetoothDevice device, int newState, int prevState) { in verifyConnectionStateIntent() method in HapClientServiceTest 746 verifyConnectionStateIntent(device, newState, oldState); in generateConnectionMessageFromNative()
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/ |
| D | HearingAidServiceTest.java | 147 private void verifyConnectionStateIntent(BluetoothDevice device, int newState, int prevState) { in verifyConnectionStateIntent() method in HearingAidServiceTest 148 verifyConnectionStateIntent(device, newState, prevState, true); in verifyConnectionStateIntent() 151 private void verifyConnectionStateIntent( in verifyConnectionStateIntent() method in HearingAidServiceTest 247 verifyConnectionStateIntent(mLeftDevice, STATE_CONNECTING, STATE_DISCONNECTED); in outgoingConnect_whenTimeOut_isDisconnected() 253 verifyConnectionStateIntent(mLeftDevice, STATE_DISCONNECTED, STATE_CONNECTING); in outgoingConnect_whenTimeOut_isDisconnected() 264 verifyConnectionStateIntent(mLeftDevice, STATE_CONNECTING, STATE_DISCONNECTED); in connectLeft_whenInAPair_connectBothDevices() 266 verifyConnectionStateIntent(mRightDevice, STATE_CONNECTING, STATE_DISCONNECTED); in connectLeft_whenInAPair_connectBothDevices() 277 verifyConnectionStateIntent(mLeftDevice, STATE_CONNECTING, STATE_DISCONNECTED); in connectDifferentPair_whenConnected_currentIsDisconnected() 278 verifyConnectionStateIntent(mRightDevice, STATE_CONNECTING, STATE_DISCONNECTED); in connectDifferentPair_whenConnected_currentIsDisconnected() 286 verifyConnectionStateIntent(mLeftDevice, STATE_DISCONNECTING, STATE_CONNECTED); in connectDifferentPair_whenConnected_currentIsDisconnected() [all …]
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/ |
| D | VolumeControlStateMachineTest.java | 133 verifyConnectionStateIntent(STATE_CONNECTING, STATE_DISCONNECTED); in outgoingConnect_whenTimeOut_isDisconnectedAndInAcceptList() 140 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_CONNECTING); in outgoingConnect_whenTimeOut_isDisconnectedAndInAcceptList() 156 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_CONNECTING); in incomingConnect_whenTimeOut_isDisconnectedAndInAcceptList() 173 verifyConnectionStateIntent(STATE_CONNECTING, STATE_DISCONNECTED); in disconnect_whenConnecting_isDisconnectedWithBroadcast() 175 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_CONNECTING); in disconnect_whenConnecting_isDisconnectedWithBroadcast() 183 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_CONNECTING); in disconnect_whenIncomingConnecting_isDisconnectedWithBroadcast() 196 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_DISCONNECTING); in timeout_whenDisconnecting_isDisconnected() 233 private void verifyConnectionStateIntent(int newState, int oldState) { in verifyConnectionStateIntent() method in VolumeControlStateMachineTest 250 verifyConnectionStateIntent(newState, oldState); in generateConnectionMessageFromNative()
|
| D | VolumeControlServiceTest.java | 253 verifyConnectionStateIntent(mDevice, STATE_CONNECTING, STATE_DISCONNECTED); in disconnect_whenConnecting_isDisconnectedWithBroadcast() 257 verifyConnectionStateIntent(mDevice, STATE_DISCONNECTED, STATE_CONNECTING); in disconnect_whenConnecting_isDisconnectedWithBroadcast() 273 verifyConnectionStateIntent(mDevice, STATE_CONNECTING, STATE_DISCONNECTED); in outgoingConnect_whenTimeOut_isDisconnected() 278 verifyConnectionStateIntent(mDevice, STATE_DISCONNECTED, STATE_CONNECTING); in outgoingConnect_whenTimeOut_isDisconnected() 1487 verifyConnectionStateIntent(device, newConnectionState, oldConnectionState); in generateConnectionMessageFromNative() 1578 private void verifyConnectionStateIntent(BluetoothDevice device, int newState, int prevState) { in verifyConnectionStateIntent() method in VolumeControlServiceTest
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/ |
| D | A2dpStateMachineTest.java | 178 verifyConnectionStateIntent(STATE_CONNECTING, STATE_DISCONNECTED); in outgoingConnect_whenTimeOut_isDisconnectedAndInAcceptList() 184 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_CONNECTING); in outgoingConnect_whenTimeOut_isDisconnectedAndInAcceptList() 197 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_CONNECTING); in incomingConnect_whenTimeOut_isDisconnectedAndInAcceptList() 338 verifyConnectionStateIntent(STATE_CONNECTING, STATE_DISCONNECTED); in connectEventNeglectedWhileInConnectingState() 345 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_CONNECTING); in connectEventNeglectedWhileInConnectingState() 362 private void verifyConnectionStateIntent(int newState, int oldState) { in verifyConnectionStateIntent() method in A2dpStateMachineTest 378 verifyConnectionStateIntent(newState, oldState); in generateConnectionMessageFromNative()
|
| D | A2dpServiceTest.java | 173 private void verifyConnectionStateIntent(BluetoothDevice device, int newState, int prevState) { in verifyConnectionStateIntent() method in A2dpServiceTest 199 verifyConnectionStateIntent(mDevice, STATE_DISCONNECTED, STATE_CONNECTED); in testStopA2dpService() 317 verifyConnectionStateIntent(mDevice, STATE_CONNECTING, STATE_DISCONNECTED); in testOutgoingConnectTimeout() 325 verifyConnectionStateIntent(mDevice, STATE_DISCONNECTED, STATE_CONNECTING); in testOutgoingConnectTimeout() 345 verifyConnectionStateIntent(mDevice, STATE_CONNECTING, STATE_DISCONNECTED); in testOutgoingConnectDisconnectSuccess() 356 verifyConnectionStateIntent(mDevice, STATE_CONNECTED, STATE_CONNECTING); in testOutgoingConnectDisconnectSuccess() 367 verifyConnectionStateIntent(mDevice, STATE_DISCONNECTING, STATE_CONNECTED); in testOutgoingConnectDisconnectSuccess() 378 verifyConnectionStateIntent(mDevice, STATE_DISCONNECTED, STATE_DISCONNECTING); in testOutgoingConnectDisconnectSuccess() 405 verifyConnectionStateIntent(testDevice, STATE_CONNECTING, STATE_DISCONNECTED); in testMaxConnectDevices() 415 verifyConnectionStateIntent(testDevice, STATE_CONNECTED, STATE_CONNECTING); in testMaxConnectDevices() [all …]
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/ |
| D | HidDeviceServiceTest.java | 142 private void verifyConnectionStateIntent(int newState, int prevState) { in verifyConnectionStateIntent() method in HidDeviceServiceTest 362 verifyConnectionStateIntent(STATE_CONNECTING, STATE_DISCONNECTED); in testOutgoingConnectDisconnectSuccess() 369 verifyConnectionStateIntent(STATE_CONNECTED, STATE_CONNECTING); in testOutgoingConnectDisconnectSuccess() 383 verifyConnectionStateIntent(STATE_DISCONNECTING, STATE_CONNECTED); in testOutgoingConnectDisconnectSuccess() 390 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_DISCONNECTING); in testOutgoingConnectDisconnectSuccess()
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
| D | LeAudioServiceTest.java | 482 verifyConnectionStateIntent(mLeftDevice, STATE_CONNECTING, STATE_DISCONNECTED); in testOutgoingConnectTimeout() 486 verifyConnectionStateIntent(mLeftDevice, STATE_DISCONNECTED, STATE_CONNECTING); in testOutgoingConnectTimeout() 558 verifyConnectionStateIntent(mLeftDevice, STATE_CONNECTING, STATE_DISCONNECTED); in testAudioManagerConnectDisconnect() 560 verifyConnectionStateIntent(mRightDevice, STATE_CONNECTING, STATE_DISCONNECTED); in testAudioManagerConnectDisconnect() 572 verifyConnectionStateIntent(mLeftDevice, STATE_CONNECTED, STATE_CONNECTING); in testAudioManagerConnectDisconnect() 583 verifyConnectionStateIntent(mRightDevice, STATE_CONNECTED, STATE_CONNECTING); in testAudioManagerConnectDisconnect() 595 verifyConnectionStateIntent(mLeftDevice, STATE_DISCONNECTING, STATE_CONNECTED); in testAudioManagerConnectDisconnect() 597 verifyConnectionStateIntent(mRightDevice, STATE_DISCONNECTING, STATE_CONNECTED); in testAudioManagerConnectDisconnect() 608 verifyConnectionStateIntent(mLeftDevice, STATE_DISCONNECTED, STATE_DISCONNECTING); in testAudioManagerConnectDisconnect() 619 verifyConnectionStateIntent(mRightDevice, STATE_DISCONNECTED, STATE_DISCONNECTING); in testAudioManagerConnectDisconnect() [all …]
|
| D | LeAudioBroadcastServiceTest.java | 799 verifyConnectionStateIntent(device, STATE_CONNECTING, STATE_DISCONNECTED); in prepareConnectedUnicastDevice() 808 verifyConnectionStateIntent(device, STATE_CONNECTED, STATE_CONNECTING); in prepareConnectedUnicastDevice() 1606 verifyConnectionStateIntent(device, STATE_DISCONNECTING, STATE_CONNECTED); in disconnectDevice() 1615 verifyConnectionStateIntent(device, STATE_DISCONNECTED, STATE_DISCONNECTING); in disconnectDevice() 1744 private void verifyConnectionStateIntent(BluetoothDevice device, int newState, int prevState) { in verifyConnectionStateIntent() method in LeAudioBroadcastServiceTest
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/ |
| D | CsipSetCoordinatorServiceTest.java | 275 verifyConnectionStateIntent(STATE_CONNECTING, STATE_DISCONNECTED); in outgoingConnect_whenTimeOut_isDisconnected() 280 verifyConnectionStateIntent(STATE_DISCONNECTED, STATE_CONNECTING); in outgoingConnect_whenTimeOut_isDisconnected() 436 private void verifyConnectionStateIntent(int newState, int prevState) { in verifyConnectionStateIntent() method in CsipSetCoordinatorServiceTest
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
| D | HeadsetServiceAndStateMachineTest.java | 253 verifyConnectionStateIntent(device, STATE_CONNECTING, STATE_DISCONNECTED); in testConnectFromApi() 266 verifyConnectionStateIntent(device, STATE_CONNECTED, STATE_CONNECTING); in testConnectFromApi() 294 verifyConnectionStateIntent(device, STATE_CONNECTING, STATE_DISCONNECTED); in testUnbondDevice_disconnectBeforeUnbond() 304 verifyConnectionStateIntent(device, STATE_DISCONNECTED, STATE_CONNECTING); in testUnbondDevice_disconnectBeforeUnbond() 339 verifyConnectionStateIntent(device, STATE_CONNECTING, STATE_DISCONNECTED); in testUnbondDevice_disconnectAfterUnbond() 348 verifyConnectionStateIntent(device, STATE_CONNECTED, STATE_CONNECTING); in testUnbondDevice_disconnectAfterUnbond() 365 verifyConnectionStateIntent(device, STATE_DISCONNECTED, STATE_CONNECTED); in testUnbondDevice_disconnectAfterUnbond() 1814 private void verifyConnectionStateIntent(BluetoothDevice device, int newState, int prevState) { in verifyConnectionStateIntent() method in HeadsetServiceAndStateMachineTest
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
| D | BassClientServiceTest.java | 2424 verifyConnectionStateIntent(dev, STATE_CONNECTED, STATE_CONNECTING); in testConnectedIntent() 8038 private void verifyConnectionStateIntent(BluetoothDevice device, int newState, int prevState) { in verifyConnectionStateIntent() method in BassClientServiceTest
|