Home
last modified time | relevance | path

Searched refs:verifyConnectionStateIntent (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientStateMachineTest.java126 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 …]
DHapClientServiceTest.java260 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/
DHearingAidServiceTest.java147 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/
DVolumeControlStateMachineTest.java133 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()
DVolumeControlServiceTest.java253 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/
DA2dpStateMachineTest.java178 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()
DA2dpServiceTest.java173 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/
DHidDeviceServiceTest.java142 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/
DLeAudioServiceTest.java482 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 …]
DLeAudioBroadcastServiceTest.java799 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/
DCsipSetCoordinatorServiceTest.java275 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/
DHeadsetServiceAndStateMachineTest.java253 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/
DBassClientServiceTest.java2424 verifyConnectionStateIntent(dev, STATE_CONNECTED, STATE_CONNECTING); in testConnectedIntent()
8038 private void verifyConnectionStateIntent(BluetoothDevice device, int newState, int prevState) { in verifyConnectionStateIntent() method in BassClientServiceTest