/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachineTest.java | 464 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 …]
|
D | HeadsetServiceTest.java | 139 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()
|
D | HeadsetServiceAndStateMachineTest.java | 271 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/ |
D | HeadsetStateMachine.java | 445 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 …]
|
D | HeadsetService.java | 615 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/ |
D | HeadsetClientStateMachine.java | 770 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()
|
D | HeadsetClientService.java | 344 return BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in getAudioState()
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothStateReceiver.java | 79 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in handleAudioStateChanged() 102 case BluetoothHeadset.STATE_AUDIO_DISCONNECTED: in handleAudioStateChanged()
|
D | BluetoothRouteManager.java | 719 == BluetoothHeadset.STATE_AUDIO_DISCONNECTED) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
D | HfpClientConnectionService.java | 116 BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED); 118 BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED);
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | CallDetail.java | 36 public static final int STATE_AUDIO_DISCONNECTED = 0; field in CallDetail
|
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/ |
D | UiCallManagerTest.java | 253 assertThat(mUiCallManager.getAudioRoute(CallDetail.STATE_AUDIO_DISCONNECTED)).isEqualTo( in scoStateToAudioRoute()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothRouteManagerTest.java | 129 .thenReturn(BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in testAudioOnDeviceWithScoOffActiveDevice()
|
D | BluetoothRouteTransitionTests.java | 350 .thenReturn(BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in setupConnectedDevices()
|