Home
last modified time | relevance | path

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

/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
H A 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()
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()
758 BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTED, in testStateTransition_AudioDisconnectingToConnected_Timeout()
781 BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTED, in testStateTransition_AudioDisconnectingToConnected_StackAudioDisconnected()
827 BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTED, in testStateTransition_AudioDisconnectingToDisconnecting_StackDisconnecting()
[all …]
H A 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()
H A 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()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DHeadsetProfileTest.java69 thenReturn(BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in testHeadsetProfile_shouldReturnAudioState()
71 isEqualTo(BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in testHeadsetProfile_shouldReturnAudioState()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A 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()
1104 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in processMessage()
1131 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in processAudioEvent()
1145 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in processAudioEvent()
1496 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioState()
1960 if (getAudioState() == BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in processKeyPressed()
1968 } else if (getAudioState() != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in processKeyPressed()
[all …]
H A 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()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
H A DBluetoothStateReceiver.java79 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in handleAudioStateChanged()
102 case BluetoothHeadset.STATE_AUDIO_DISCONNECTED: in handleAudioStateChanged()
H A DBluetoothRouteManager.java719 == BluetoothHeadset.STATE_AUDIO_DISCONNECTED) {
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DBtHelper.java319 case BluetoothHeadset.STATE_AUDIO_DISCONNECTED: in receiveBtEvent()
389 return requestScoState(BluetoothHeadset.STATE_AUDIO_DISCONNECTED, SCO_MODE_VIRTUAL_CALL); in stopBluetoothSco()
761 } else if (state == BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in requestScoState()
851 != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in checkScoAudioState()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A 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()
H A DHeadsetClientService.java344 return BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in getAudioState()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
H A DHfpClientConnectionService.java116 BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED);
118 BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED);
/aosp12/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
H A DCallDetail.java36 public static final int STATE_AUDIO_DISCONNECTED = 0; field in CallDetail
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DHeadsetProfile.java150 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioState()
H A DLocalBluetoothProfileManager.java152 BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in updateLocalProfiles()
160 BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED); in updateLocalProfiles()
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DBluetoothRouteManagerTest.java129 .thenReturn(BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in testAudioOnDeviceWithScoOffActiveDevice()
H A DBluetoothRouteTransitionTests.java350 .thenReturn(BluetoothHeadset.STATE_AUDIO_DISCONNECTED); in setupConnectedDevices()
/aosp12/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/
H A DUiCallManagerTest.java258 assertThat(mUiCallManager.getAudioRoute(CallDetail.STATE_AUDIO_DISCONNECTED)).isEqualTo( in scoStateToAudioRoute()
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadsetClient.java180 public static final int STATE_AUDIO_DISCONNECTED = 0; field in BluetoothHeadsetClient
1113 return BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in getAudioState()
H A DBluetoothHeadset.java278 public static final int STATE_AUDIO_DISCONNECTED = 10; field in BluetoothHeadset
919 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioState()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt9307 field public static final int STATE_AUDIO_DISCONNECTED = 10; // 0xa
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt6426 field public static final int STATE_AUDIO_DISCONNECTED = 10; // 0xa
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt10395 Landroid/bluetooth/BluetoothHeadsetClient;->STATE_AUDIO_DISCONNECTED:I