/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/ |
D | HeadsetClientServiceInterfaceTest.java | 191 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()
|
D | HfpClientConnectionTest.java | 496 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/ |
D | BluetoothHeadsetBinderTest.java | 145 public void disconnectAudio() { in disconnectAudio() method in BluetoothHeadsetBinderTest 146 mBinder.disconnectAudio(mAttributionSource); in disconnectAudio() 147 verify(mService).disconnectAudio(); in disconnectAudio()
|
D | HeadsetServiceTest.java | 149 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()
|
D | HeadsetServiceAndStateMachineTest.java | 164 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/ |
D | BluetoothHeadsetProxy.java | 95 public int disconnectAudio() { in disconnectAudio() method in BluetoothHeadsetProxy 96 return mBluetoothHeadset.disconnectAudio(); in disconnectAudio()
|
D | HeadsetService.java | 683 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 …]
|
D | HeadsetStateMachine.java | 1366 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()
|
D | HeadsetNativeInterface.java | 344 public boolean disconnectAudio(BluetoothDevice device) { in disconnectAudio() method in HeadsetNativeInterface
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientServiceInterface.java | 97 public boolean disconnectAudio(BluetoothDevice device) { in disconnectAudio() method in HeadsetClientServiceInterface 100 return service.disconnectAudio(device); in disconnectAudio()
|
D | HfpClientConnection.java | 273 mServiceInterface.disconnectAudio(mDevice); in onCallEvent()
|
D | HeadsetClientService.java | 441 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
|
D | NativeInterface.java | 130 public boolean disconnectAudio(BluetoothDevice device) { in disconnectAudio() method in NativeInterface
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothDeviceManagerTest.java | 414 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()
|
D | BluetoothRouteTransitionTests.java | 312 }).when(mDeviceManager).disconnectAudio(); in testTransitions() 374 verify(mDeviceManager, never()).disconnectAudio(); in testTransitions() 377 verify(mDeviceManager).disconnectAudio(); in testTransitions() 384 verify(mDeviceManager).disconnectAudio(); in testTransitions()
|
D | BluetoothRouteManagerTest.java | 284 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/ |
D | HeadsetClientServiceBinderTest.java | 151 mBinder.disconnectAudio(mRemoteDevice, null); in disconnectAudio_callsServiceMethod() 153 verify(mService).disconnectAudio(mRemoteDevice); in disconnectAudio_callsServiceMethod()
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothRouteManager.java | 353 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();
|
D | BluetoothDeviceManager.java | 558 public void disconnectAudio() { in disconnectAudio() method in BluetoothDeviceManager 574 result = mBluetoothHeadset.disconnectAudio(); in disconnectSco()
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/ |
D | IBluetoothHeadset.aidl | 62 int disconnectAudio(in AttributionSource attributionSource); in disconnectAudio() method
|
D | IBluetoothHeadsetClient.aidl | 84 boolean disconnectAudio(in BluetoothDevice device, in AttributionSource attributionSource); in disconnectAudio() method
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | HfpHandsfree.kt | 125 bluetoothHfpClient.disconnectAudio( in disconnectFromAudioAsHandsfree()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothHeadset.java | 1033 public @DisconnectAudioReturnValues int disconnectAudio() { in disconnectAudio() method in BluetoothHeadset 1042 return service.disconnectAudio(mAttributionSource); in disconnectAudio()
|
D | BluetoothHeadsetClient.java | 1443 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/ |
D | CallAudioRouteStateMachine.java | 874 mBluetoothRouteManager.disconnectAudio(); in processMessage() 876 mBluetoothRouteManager.disconnectAudio(); in processMessage()
|