Home
last modified time | relevance | path

Searched refs:STATE_AUDIO_DISCONNECTED (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java464 BluetoothHeadset.STATE_AUDIO_CONNECTING, BluetoothHeadset.STATE_AUDIO_DISCONNECTED, in testStateTransition_ConnectedToAudioConnecting_ConnectAudio()
487 BluetoothHeadset.STATE_AUDIO_CONNECTING, BluetoothHeadset.STATE_AUDIO_DISCONNECTED, in testStateTransition_ConnectedToAudioConnecting_StackAudioConnecting()
509 BluetoothHeadset.STATE_AUDIO_CONNECTED, BluetoothHeadset.STATE_AUDIO_DISCONNECTED, in testStateTransition_ConnectedToAudioOn_StackAudioConnected()
528 BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTING, in testStateTransition_AudioConnectingToConnected_Timeout()
551 BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTING, in testStateTransition_AudioConnectingToConnected_StackAudioDisconnected()
574 BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTING, in testStateTransition_AudioConnectingToDisconnected_StackDisconnected()
600 BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTING, in testStateTransition_AudioConnectingToDisconnecting_StackDisconnecting()
686 BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTED, in testStateTransition_AudioOnToConnected_StackAudioDisconnected()
709 BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTED, in testStateTransition_AudioOnToDisconnected_StackDisconnected()
735 BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTED, in testStateTransition_AudioOnToDisconnecting_StackDisconnecting()
[all …]
DHeadsetServiceTest.java139 doReturn(BluetoothHeadset.STATE_AUDIO_DISCONNECTED).when(stateMachine).getAudioState(); in setUp()
182 Assert.assertEquals(BluetoothHeadset.STATE_AUDIO_DISCONNECTED, in testGetHeadsetService()
436 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in testConnectAudio_withOneDevice()
510 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in testConnectAudio_withMultipleDevices()
DHeadsetServiceAndStateMachineTest.java271 Assert.assertEquals(BluetoothHeadset.STATE_AUDIO_DISCONNECTED, in testGetHeadsetService()
1092 BluetoothHeadset.STATE_AUDIO_CONNECTING, BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in testVoiceRecognition_MultiAgInitiatedDeviceNotActive()
1141 BluetoothHeadset.STATE_AUDIO_CONNECTING, BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in startVoiceRecognitionFromHf()
1159 BluetoothHeadset.STATE_AUDIO_CONNECTING, BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in startVoiceRecognitionFromAg()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java445 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioStateInt()
567 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioStateInt()
729 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioStateInt()
1046 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioStateInt()
1103 broadcastAudioState(mDevice, BluetoothHeadset.STATE_AUDIO_DISCONNECTED, in processMessage()
1104 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in processMessage()
1130 broadcastAudioState(mDevice, BluetoothHeadset.STATE_AUDIO_DISCONNECTED, in processAudioEvent()
1131 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in processAudioEvent()
1144 broadcastAudioState(mDevice, BluetoothHeadset.STATE_AUDIO_DISCONNECTED, in processAudioEvent()
1145 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in processAudioEvent()
[all …]
DHeadsetService.java615 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioState()
1076 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioState()
1184 if (getAudioState(mActiveDevice) != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in setActiveDevice()
1208 if (getAudioState(previousActiveDevice) != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in setActiveDevice()
1270 if (stateMachine.getAudioState() != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in connectAudio()
1288 if (stateMachine.getAudioState() != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in getNonIdleAudioDevices()
1321 if (stateMachine.getAudioState() == BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in disconnectAudio()
1774 if (toState == BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in onAudioStateChangedFromStateMachine()
1775 if (fromState != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in onAudioStateChangedFromStateMachine()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java770 mAudioState = BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in HeadsetClientStateMachine()
1216 BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED, in processMessage()
1217 BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED); in processMessage()
1639 broadcastAudioState(device, BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED, in processAudioEvent()
1641 mAudioState = BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in processAudioEvent()
1756 mAudioState = BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in processAudioEvent()
1776 broadcastAudioState(mCurrentDevice, BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED, in exit()
1930 return BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in getAudioState()
1970 case BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED: in getConnectionStateFromAudioState()
DHeadsetClientService.java344 return BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in getAudioState()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothStateReceiver.java79 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in handleAudioStateChanged()
102 case BluetoothHeadset.STATE_AUDIO_DISCONNECTED: in handleAudioStateChanged()
DBluetoothRouteManager.java719 == BluetoothHeadset.STATE_AUDIO_DISCONNECTED) {
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionService.java116 BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED);
118 BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED);
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DCallDetail.java36 public static final int STATE_AUDIO_DISCONNECTED = 0; field in CallDetail
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/
DUiCallManagerTest.java253 assertThat(mUiCallManager.getAudioRoute(CallDetail.STATE_AUDIO_DISCONNECTED)).isEqualTo( in scoStateToAudioRoute()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothRouteManagerTest.java129 .thenReturn(BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in testAudioOnDeviceWithScoOffActiveDevice()
DBluetoothRouteTransitionTests.java350 .thenReturn(BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in setupConnectedDevices()