Home
last modified time | relevance | path

Searched refs:getDevices (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java517 Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
524 Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
526 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
533 Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
540 Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
542 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
550 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
558 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
597 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testProcessAudioStateChangedCodecConfigChangedEvents()
603 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testProcessAudioStateChangedCodecConfigChangedEvents()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java601 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
608 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
610 Assert.assertFalse(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
617 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
624 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
626 Assert.assertFalse(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
634 Assert.assertFalse(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
642 Assert.assertFalse(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
668 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testDeleteStateMachineUnbondEvents()
671 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testDeleteStateMachineUnbondEvents()
[all …]
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertAudioTest.java103 doReturn(mDevices).when(mMockedAudioManager).getDevices(anyInt()); in setUp()
168 verify(mMockedAudioManager).getDevices(anyInt()); in testStartServiceNotInCallOverrideDnd()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java221 AudioDeviceInfo[] deviceInfos = mAudioManager.getDevices( in init()
563 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in getExternalSources()
619 AudioDeviceInfo[] deviceInfos = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in createAudioPatchLocked()
/packages/apps/Dialer/java/com/android/incallui/audiomode/
DAudioModeProvider.java84 for (AudioDeviceInfo info : audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS)) { in getApproximatedAudioRoute()
/packages/services/Telecomm/src/com/android/server/telecom/
DWiredHeadsetManager.java105 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_ALL); in isWiredHeadsetPluggedIn()
DCallRecordingTonePlayer.java276 AudioDeviceInfo[] deviceList = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getTelephonyDevice()
DCallAudioRouteStateMachine.java1808 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in checkForEarpieceSupport()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailAudioManager.java157 for (AudioDeviceInfo info : audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS)) { in hasMediaAudioCapability()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java207 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in doStart()
DAudioTestFragment.java453 AudioDeviceInfo[] devices = am.getDevices(AudioManager.GET_DEVICES_INPUTS); in findTunerDevice()
/packages/apps/Car/Radio/src/com/android/car/radio/platform/
DRadioTunerExt.java168 AudioDeviceInfo[] devices = am.getDevices(AudioManager.GET_DEVICES_INPUTS); in findTunerDevice()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java656 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in isOnEarphone()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java429 List<BluetoothDevice> getDevices() { in getDevices() method in HearingAidService
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java428 List<BluetoothDevice> getDevices() { in getDevices() method in A2dpService