Home
last modified time | relevance | path

Searched refs:STATE_AUDIO_CONNECTED (Results 1 – 21 of 21) sorted by relevance

/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DHeadsetProfileTest.java74 thenReturn(BluetoothHeadset.STATE_AUDIO_CONNECTED); in testHeadsetProfile_shouldReturnAudioState()
76 isEqualTo(BluetoothHeadset.STATE_AUDIO_CONNECTED); in testHeadsetProfile_shouldReturnAudioState()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
H A DHeadsetStateMachineTest.java509 BluetoothHeadset.STATE_AUDIO_CONNECTED, BluetoothHeadset.STATE_AUDIO_DISCONNECTED, in testStateTransition_ConnectedToAudioOn_StackAudioConnected()
626 BluetoothHeadset.STATE_AUDIO_CONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTING, in testStateTransition_AudioConnectingToAudioOn_StackAudioConnected()
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()
804 BluetoothHeadset.STATE_AUDIO_CONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTED, in testStateTransition_AudioDisconnectingToAudioOn_StackAudioConnected()
827 BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTED, in testStateTransition_AudioDisconnectingToDisconnecting_StackDisconnecting()
853 BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTED, in testStateTransition_AudioDisconnectingToDisconnected_StackDisconnected()
[all …]
H A DHeadsetServiceAndStateMachineTest.java1097 BluetoothHeadset.STATE_AUDIO_CONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTING); in testVoiceRecognition_MultiAgInitiatedDeviceNotActive()
1146 BluetoothHeadset.STATE_AUDIO_CONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTING); in startVoiceRecognitionFromHf()
1164 BluetoothHeadset.STATE_AUDIO_CONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTING); in startVoiceRecognitionFromAg()
H A DHeadsetServiceTest.java504 BluetoothHeadset.STATE_AUDIO_CONNECTED); in testConnectAudio_withMultipleDevices()
583 BluetoothHeadset.STATE_AUDIO_CONNECTED); in testConnectAudio_connectTwoAudioChannelsShouldFail()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DBtHelper.java308 case BluetoothHeadset.STATE_AUDIO_CONNECTED: in receiveBtEvent()
374 == BluetoothHeadset.STATE_AUDIO_CONNECTED; in isBluetoothScoOn()
382 return requestScoState(BluetoothHeadset.STATE_AUDIO_CONNECTED, scoAudioMode); in startBluetoothSco()
694 if (state == BluetoothHeadset.STATE_AUDIO_CONNECTED) { in requestScoState()
/aosp12/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
H A DCallDetail.java38 public static final int STATE_AUDIO_CONNECTED = 2; field in CallDetail
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
H A DBluetoothStateReceiver.java95 case BluetoothHeadset.STATE_AUDIO_CONNECTED: in handleAudioStateChanged()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetStateMachine.java1250 return BluetoothHeadset.STATE_AUDIO_CONNECTED; in getAudioStateInt()
1333 broadcastAudioState(mDevice, BluetoothHeadset.STATE_AUDIO_CONNECTED, in processMessage()
1334 BluetoothHeadset.STATE_AUDIO_CONNECTED); in processMessage()
1395 return BluetoothHeadset.STATE_AUDIO_CONNECTED; in getAudioStateInt()
1683 if (getAudioState() == BluetoothHeadset.STATE_AUDIO_CONNECTED) { in processNoiseReductionEvent()
2151 case BluetoothHeadset.STATE_AUDIO_CONNECTED: in getConnectionStateFromAudioState()
H A DHeadsetService.java1068 return stateMachine.getAudioState() == BluetoothHeadset.STATE_AUDIO_CONNECTED; in isAudioConnected()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientStateMachine.java1608 mAudioState = BluetoothHeadsetClient.STATE_AUDIO_CONNECTED; in processAudioEvent()
1661 broadcastAudioState(mCurrentDevice, BluetoothHeadsetClient.STATE_AUDIO_CONNECTED, in enter()
1777 BluetoothHeadsetClient.STATE_AUDIO_CONNECTED); in exit()
1812 if (newState == BluetoothHeadsetClient.STATE_AUDIO_CONNECTED) { in broadcastAudioState()
1966 case BluetoothHeadsetClient.STATE_AUDIO_CONNECTED: in getConnectionStateFromAudioState()
H A DHeadsetClientService.java1039 if (audioState == BluetoothHeadsetClient.STATE_AUDIO_CONNECTED) { in isScoRouted()
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DBluetoothRouteManagerTest.java191 .thenReturn(BluetoothHeadset.STATE_AUDIO_CONNECTED); in setupConnectedDevices()
H A DBluetoothRouteTransitionTests.java354 .thenReturn(BluetoothHeadset.STATE_AUDIO_CONNECTED); in setupConnectedDevices()
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
H A DUiCallManager.java186 if (scoState == CallDetail.STATE_AUDIO_CONNECTED) { in getAudioRoute()
/aosp12/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/
H A DUiCallManagerTest.java254 assertThat(mUiCallManager.getAudioRoute(CallDetail.STATE_AUDIO_CONNECTED)).isEqualTo( in scoStateToAudioRoute()
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadsetClient.java182 public static final int STATE_AUDIO_CONNECTED = 2; field in BluetoothHeadsetClient
H A DBluetoothHeadset.java294 public static final int STATE_AUDIO_CONNECTED = 12; field in BluetoothHeadset
/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.txt9305 field public static final int STATE_AUDIO_CONNECTED = 12; // 0xc
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt6424 field public static final int STATE_AUDIO_CONNECTED = 12; // 0xc
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt10393 Landroid/bluetooth/BluetoothHeadsetClient;->STATE_AUDIO_CONNECTED:I