Home
last modified time | relevance | path

Searched refs:setCommunicationDevice (Results 1 – 12 of 12) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java436 when(mockAudioManager.setCommunicationDevice(eq(mockAudioDeviceInfo))) in testConnectDisconnectAudioHearingAid()
471 when(mockAudioManager.setCommunicationDevice(mockAudioDeviceInfo)) in testConnectDisconnectAudioLeAudio()
548 when(mockAudioManager.setCommunicationDevice(any(AudioDeviceInfo.class))) in testConnectMultipleLeAudioDevices()
558 verify(mockAudioManager).setCommunicationDevice(leAudioDevice1); in testConnectMultipleLeAudioDevices()
567 verify(mockAudioManager).setCommunicationDevice(leAudioDevice2); in testConnectMultipleLeAudioDevices()
583 when(mockAudioManager.setCommunicationDevice(any(AudioDeviceInfo.class))) in testClearCommunicationDeviceOnActiveDeviceChange()
597 verify(mockAudioManager).setCommunicationDevice(leAudioDevice1); in testClearCommunicationDeviceOnActiveDeviceChange()
634 when(mockAudioManager.setCommunicationDevice(mockAudioDevice5Info)) in testConnectDualModeEarbud()
650 verify(mockAudioManager).setCommunicationDevice(mockAudioDevice5Info); in testConnectDualModeEarbud()
793 when(mockAudioManager.setCommunicationDevice(eq(mockAudioDeviceInfo))) in assertClearHearingAidOrLeCommunicationDevice()
[all …]
DCallAudioRouteStateMachineTest.java840 verify(mockAudioManager).setCommunicationDevice(infoArgumentCaptor.capture()); in testFocusChangeFromQuiescentSpeaker()
915 when(mockAudioManager.setCommunicationDevice(eq(earpiece))) in testSetAndClearEarpieceCommunicationDevice()
934 verify(mockAudioManager).setCommunicationDevice(infoArgumentCaptor.capture()); in testSetAndClearEarpieceCommunicationDevice()
1191 when(mockAudioManager.setCommunicationDevice(eq(headset))) in testIgnoreImplicitBTSwitchWhenDeviceIsWatch()
1209 verify(mockAudioManager).setCommunicationDevice(infoArgumentCaptor.capture()); in testIgnoreImplicitBTSwitchWhenDeviceIsWatch()
1397 when(mockAudioManager.setCommunicationDevice(eq(headset))) in verifySetAndClearHeadsetCommunicationDevice()
1416 verify(mockAudioManager).setCommunicationDevice(infoArgumentCaptor.capture()); in verifySetAndClearHeadsetCommunicationDevice()
DCallAudioRouteControllerTest.java145 when(mAudioManager.setCommunicationDevice(any(AudioDeviceInfo.class))) in setUp()
442 }).when(mAudioManager).setCommunicationDevice(nullable(AudioDeviceInfo.class)); in testSwitchBluetooth()
740 .setCommunicationDevice(nullable(AudioDeviceInfo.class)); in verifyConnectBluetoothDevice()
DCallAudioRouteTransitionTests.java340 verify(mockAudioManager, never()).setCommunicationDevice( in testActiveTransition()
346 verify(mockAudioManager).setCommunicationDevice(infoArgumentCaptor.capture()); in testActiveTransition()
DComponentContextFixture.java572 public boolean setCommunicationDevice(AudioDeviceInfo device) {
DBasicCallTests.java697 .setCommunicationDevice(infoArgumentCaptor.capture()); in testAudioManagerOperations()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioCommunicationDeviceTracker.java122 public boolean setCommunicationDevice(int audioDeviceType, in setCommunicationDevice() method in CallAudioCommunicationDeviceTracker
186 boolean result = mAudioManager.setCommunicationDevice(activeDevice); in processSetCommunicationDevice()
DCallAudioRouteStateMachine.java285 mCommunicationDeviceTracker.setCommunicationDevice( in enter()
514 mCommunicationDeviceTracker.setCommunicationDevice( in enter()
1778 speakerOn = mCommunicationDeviceTracker.setCommunicationDevice( in setSpeakerphoneOn()
2045 boolean result = mAudioManager.setCommunicationDevice(speakerDevice); in processLegacySpeakerCommunicationDevice()
DAudioRoute.java280 result = audioManager.setCommunicationDevice(mInfo); in onDestRouteAsPendingRoute()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothDeviceManager.java673 boolean result = mAudioManager.setCommunicationDevice(bleHeadset); in setLeAudioCommunicationDevice()
722 boolean result = mAudioManager.setCommunicationDevice(hearingAid); in setHearingAidCommunicationDevice()
750 return mAudioManager.setCommunicationDevice(deviceInfo); in setCommunicationDeviceForAddress()
808 mCommunicationDeviceTracker.setCommunicationDevice( in connectAudio()
822 mCommunicationDeviceTracker.setCommunicationDevice( in connectAudio()
DBluetoothStateReceiver.java312 ? mCommunicationDeviceTracker.setCommunicationDevice( in handleActiveDeviceChanged()
325 ? mCommunicationDeviceTracker.setCommunicationDevice( in handleActiveDeviceChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetService.java1167 am.setCommunicationDevice(audioDeviceInfo.get()); in startVoiceRecognition()