Home
last modified time | relevance | path

Searched refs:disconnectAudio (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHeadsetClientServiceInterfaceTest.java191 assertThat(mServiceInterface.disconnectAudio(TEST_DEVICE)).isFalse(); in testDisconnectAudio()
194 doReturn(false).when(mMockHeadsetClientService).disconnectAudio(TEST_DEVICE); in testDisconnectAudio()
195 assertThat(mServiceInterface.disconnectAudio(TEST_DEVICE)).isFalse(); in testDisconnectAudio()
196 doReturn(true).when(mMockHeadsetClientService).disconnectAudio(TEST_DEVICE); in testDisconnectAudio()
197 assertThat(mServiceInterface.disconnectAudio(TEST_DEVICE)).isTrue(); in testDisconnectAudio()
DHfpClientConnectionTest.java496 verify(mMockServiceInterface).disconnectAudio(mBluetoothDevice); in onCallEvent_scoDisconnect()
505 verify(mMockServiceInterface, never()).disconnectAudio(mBluetoothDevice); in onCallEvent_unhandledAction()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DBluetoothHeadsetBinderTest.java145 public void disconnectAudio() { in disconnectAudio() method in BluetoothHeadsetBinderTest
146 mBinder.disconnectAudio(mAttributionSource); in disconnectAudio()
147 verify(mService).disconnectAudio(); in disconnectAudio()
DHeadsetServiceTest.java149 doReturn(true).when(mNativeInterface).disconnectAudio(any(BluetoothDevice.class)); in setUp()
531 BluetoothStatusCodes.SUCCESS, mHeadsetService.disconnectAudio(mCurrentDevice)); in testConnectAudio_withOneDevice()
539 mHeadsetService.disconnectAudio(mCurrentDevice)); in testConnectAudio_withOneDevice()
629 BluetoothStatusCodes.SUCCESS, mHeadsetService.disconnectAudio(mCurrentDevice)); in testConnectAudio_withMultipleDevices()
637 mHeadsetService.disconnectAudio(mCurrentDevice)); in testConnectAudio_withMultipleDevices()
DHeadsetServiceAndStateMachineTest.java164 doReturn(true).when(mNativeInterface).disconnectAudio(any(BluetoothDevice.class)); in setUp()
723 verify(mNativeInterface).disconnectAudio(device); in testVoiceRecognition_SingleHfStopSuccess()
931 verify(mNativeInterface).disconnectAudio(device); in testVoiceRecognition_SingleAgStopSuccess()
1124 verify(mNativeInterface).disconnectAudio(deviceB); in testVoiceRecognition_MultiAgInitiatedSuccess()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DBluetoothHeadsetProxy.java95 public int disconnectAudio() { in disconnectAudio() method in BluetoothHeadsetProxy
96 return mBluetoothHeadset.disconnectAudio(); in disconnectAudio()
DHeadsetService.java683 public int disconnectAudio(AttributionSource source) { in disconnectAudio() method in HeadsetService.BluetoothHeadsetBinder
690 return service.disconnectAudio(); in disconnectAudio()
1093 int status = disconnectAudio(); in startVoiceRecognition()
1378 int disconnectStatus = disconnectAudio(mActiveDevice); in removeActiveDevice()
1442 int disconnectStatus = disconnectAudio(previousActiveDevice); in setActiveDevice()
1591 int disconnectAudio() { in disconnectAudio() method in HeadsetService
1595 disconnectResult = disconnectAudio(device); in disconnectAudio()
1612 int disconnectAudio(BluetoothDevice device) { in disconnectAudio() method in HeadsetService
1664 int status = disconnectAudio(); in startScoUsingVirtualVoiceCall()
1850 int status = disconnectAudio(); in startVoiceRecognitionByHeadset()
[all …]
DHeadsetStateMachine.java1366 if (!mNativeInterface.disconnectAudio(mDevice)) { in processAudioEvent()
1382 if (!mNativeInterface.disconnectAudio(mDevice)) { in processAudioEvent()
1570 if (!mNativeInterface.disconnectAudio(mDevice)) { in processMessage()
1600 if (mNativeInterface.disconnectAudio(mDevice)) { in processMessage()
2597 if (!mNativeInterface.disconnectAudio(mDevice)) { in processKeyPressed()
DHeadsetNativeInterface.java344 public boolean disconnectAudio(BluetoothDevice device) { in disconnectAudio() method in HeadsetNativeInterface
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientServiceInterface.java97 public boolean disconnectAudio(BluetoothDevice device) { in disconnectAudio() method in HeadsetClientServiceInterface
100 return service.disconnectAudio(device); in disconnectAudio()
DHfpClientConnection.java273 mServiceInterface.disconnectAudio(mDevice); in onCallEvent()
DHeadsetClientService.java441 public boolean disconnectAudio(BluetoothDevice device, AttributionSource source) { in disconnectAudio() method in HeadsetClientService.BluetoothHeadsetClientBinder
447 return service.disconnectAudio(device); in disconnectAudio()
889 public boolean disconnectAudio(BluetoothDevice device) { in disconnectAudio() method in HeadsetClientService
DNativeInterface.java130 public boolean disconnectAudio(BluetoothDevice device) { in disconnectAudio() method in NativeInterface
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java414 mBluetoothDeviceManager.disconnectAudio(); in testConnectDisconnectAudioHeadset()
415 verify(mBluetoothHeadset).disconnectAudio(); in testConnectDisconnectAudioHeadset()
449 mBluetoothDeviceManager.disconnectAudio(); in testConnectDisconnectAudioHearingAid()
485 mBluetoothDeviceManager.disconnectAudio(); in testConnectDisconnectAudioLeAudio()
677 mBluetoothDeviceManager.disconnectAudio(); in testConnectDualModeEarbud()
679 verify(mBluetoothHeadset, times(1)).disconnectAudio(); in testConnectDualModeEarbud()
691 mBluetoothDeviceManager.disconnectAudio(); in testConnectDualModeEarbud()
692 verify(mBluetoothHeadset, times(2)).disconnectAudio(); in testConnectDualModeEarbud()
DBluetoothRouteTransitionTests.java312 }).when(mDeviceManager).disconnectAudio(); in testTransitions()
374 verify(mDeviceManager, never()).disconnectAudio(); in testTransitions()
377 verify(mDeviceManager).disconnectAudio(); in testTransitions()
384 verify(mDeviceManager).disconnectAudio(); in testTransitions()
DBluetoothRouteManagerTest.java284 verify(mDeviceManager, never()).disconnectAudio(); in verifyConnectBtWithoutAddress()
288 verify(mDeviceManager, times(1)).disconnectAudio(); in verifyConnectBtWithoutAddress()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientServiceBinderTest.java151 mBinder.disconnectAudio(mRemoteDevice, null); in disconnectAudio_callsServiceMethod()
153 verify(mService).disconnectAudio(mRemoteDevice); in disconnectAudio_callsServiceMethod()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothRouteManager.java353 mDeviceManager.disconnectAudio(); in processMessage()
516 mDeviceManager.disconnectAudio(); in processMessage()
707 public void disconnectAudio() { in disconnectAudio() method in BluetoothRouteManager
708 mDeviceManager.disconnectAudio(); in disconnectAudio()
939 mDeviceManager.disconnectAudio(); in connectBtAudio()
984 mDeviceManager.disconnectAudio();
DBluetoothDeviceManager.java558 public void disconnectAudio() { in disconnectAudio() method in BluetoothDeviceManager
574 result = mBluetoothHeadset.disconnectAudio(); in disconnectSco()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothHeadset.aidl62 int disconnectAudio(in AttributionSource attributionSource); in disconnectAudio() method
DIBluetoothHeadsetClient.aidl84 boolean disconnectAudio(in BluetoothDevice device, in AttributionSource attributionSource); in disconnectAudio() method
/packages/modules/Bluetooth/android/pandora/server/src/
DHfpHandsfree.kt125 bluetoothHfpClient.disconnectAudio( in disconnectFromAudioAsHandsfree()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHeadset.java1033 public @DisconnectAudioReturnValues int disconnectAudio() { in disconnectAudio() method in BluetoothHeadset
1042 return service.disconnectAudio(mAttributionSource); in disconnectAudio()
DBluetoothHeadsetClient.java1443 public boolean disconnectAudio(BluetoothDevice device) { in disconnectAudio() method in BluetoothHeadsetClient
1451 return service.disconnectAudio(device, mAttributionSource); in disconnectAudio()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java874 mBluetoothRouteManager.disconnectAudio(); in processMessage()
876 mBluetoothRouteManager.disconnectAudio(); in processMessage()

12