Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java526 Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
533 Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
535 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
542 Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
549 Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
551 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
559 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
567 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents()
607 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testProcessAudioStateChangedCodecConfigChangedEvents()
613 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testProcessAudioStateChangedCodecConfigChangedEvents()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java610 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
617 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
619 Assert.assertFalse(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
626 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
633 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
635 Assert.assertFalse(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
643 Assert.assertFalse(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
651 Assert.assertFalse(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents()
678 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testDeleteStateMachineUnbondEvents()
681 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testDeleteStateMachineUnbondEvents()
[all …]
/packages/services/Mtp/tests/src/com/android/mtp/
DMtpManagerTest.java84 final MtpDeviceRecord[] records = mManager.getDevices(); in testOperationsSupported()
91 final MtpDeviceRecord[] records = mManager.getDevices(); in testEventsSupported()
98 final MtpDeviceRecord[] records = mManager.getDevices(); in testDeviceKey()
119 for (final MtpDeviceRecord record : mManager.getDevices()) { in testCreateDocumentAndGetPartialObject()
DTestUtil.java114 for (final MtpDeviceRecord deviceCandidate : manager.getDevices()) { in waitForStorages()
DTestMtpManager.java78 synchronized MtpDeviceRecord[] getDevices() { in getDevices() method in TestMtpManager
/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/car-lib/src/android/car/media/
DCarAudioManager.java565 mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getOutputDeviceForUsage()
665 AudioDeviceInfo[] inputDevices = mAudioManager.getDevices(flag); in convertInputDevicesToDeviceInfos()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java461 AudioDeviceInfo[] deviceInfos = mAudioManager.getDevices( in generateCarAudioDeviceInfos()
471 return mAudioManager.getDevices( in getAllInputDevices()
628 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in getExternalSources()
684 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.java318 AudioDeviceInfo[] deviceList = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getTelephonyDevice()
DCallAudioRouteStateMachine.java1805 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in checkForEarpieceSupport()
/packages/services/Mtp/src/com/android/mtp/
DRootScanner.java136 final MtpDeviceRecord[] devices = mManager.getDevices(); in run()
DMtpManager.java119 synchronized MtpDeviceRecord[] getDevices() { in getDevices() method in MtpManager
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailAudioManager.java157 for (AudioDeviceInfo info : audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS)) { in hasMediaAudioCapability()
/packages/apps/Car/Radio/src/com/android/car/radio/platform/
DRadioTunerExt.java168 AudioDeviceInfo[] devices = am.getDevices(AudioManager.GET_DEVICES_INPUTS); in findTunerDevice()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallRecordingTonePlayerTest.java127 when(mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS)) in testToneLooping()
/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.java427 List<BluetoothDevice> getDevices() { in getDevices() method in HearingAidService
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java575 AudioDeviceInfo[] devices = am.getDevices(AudioManager.GET_DEVICES_INPUTS); in findTunerDevice()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java424 List<BluetoothDevice> getDevices() { in getDevices() method in A2dpService