/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceTest.java | 526 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/ |
D | HearingAidServiceTest.java | 610 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/ |
D | MtpManagerTest.java | 84 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()
|
D | TestUtil.java | 114 for (final MtpDeviceRecord deviceCandidate : manager.getDevices()) { in waitForStorages()
|
D | TestMtpManager.java | 78 synchronized MtpDeviceRecord[] getDevices() { in getDevices() method in TestMtpManager
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertAudioTest.java | 103 doReturn(mDevices).when(mMockedAudioManager).getDevices(anyInt()); in setUp() 168 verify(mMockedAudioManager).getDevices(anyInt()); in testStartServiceNotInCallOverrideDnd()
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | CarAudioManager.java | 565 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/ |
D | CarAudioService.java | 461 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/ |
D | AudioModeProvider.java | 84 for (AudioDeviceInfo info : audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS)) { in getApproximatedAudioRoute()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | WiredHeadsetManager.java | 105 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_ALL); in isWiredHeadsetPluggedIn()
|
D | CallRecordingTonePlayer.java | 318 AudioDeviceInfo[] deviceList = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getTelephonyDevice()
|
D | CallAudioRouteStateMachine.java | 1805 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in checkForEarpieceSupport()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | RootScanner.java | 136 final MtpDeviceRecord[] devices = mManager.getDevices(); in run()
|
D | MtpManager.java | 119 synchronized MtpDeviceRecord[] getDevices() { in getDevices() method in MtpManager
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailAudioManager.java | 157 for (AudioDeviceInfo info : audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS)) { in hasMediaAudioCapability()
|
/packages/apps/Car/Radio/src/com/android/car/radio/platform/ |
D | RadioTunerExt.java | 168 AudioDeviceInfo[] devices = am.getDevices(AudioManager.GET_DEVICES_INPUTS); in findTunerDevice()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallRecordingTonePlayerTest.java | 127 when(mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS)) in testToneLooping()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 656 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in isOnEarphone()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 427 List<BluetoothDevice> getDevices() { in getDevices() method in HearingAidService
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioTestFragment.java | 575 AudioDeviceInfo[] devices = am.getDevices(AudioManager.GET_DEVICES_INPUTS); in findTunerDevice()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 424 List<BluetoothDevice> getDevices() { in getDevices() method in A2dpService
|