/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioServiceTest.java | 492 assertThat(mService.getDevices().contains(mLeftDevice)).isTrue(); in testCreateStateMachineStackEvents() 499 assertThat(mService.getDevices().contains(mLeftDevice)).isTrue(); in testCreateStateMachineStackEvents() 501 assertThat(mService.getDevices().contains(mLeftDevice)).isFalse(); in testCreateStateMachineStackEvents() 508 assertThat(mService.getDevices().contains(mLeftDevice)).isTrue(); in testCreateStateMachineStackEvents() 515 assertThat(mService.getDevices().contains(mLeftDevice)).isTrue(); in testCreateStateMachineStackEvents() 517 assertThat(mService.getDevices().contains(mLeftDevice)).isFalse(); in testCreateStateMachineStackEvents() 525 assertThat(mService.getDevices().contains(mLeftDevice)).isFalse(); in testCreateStateMachineStackEvents() 533 assertThat(mService.getDevices().contains(mLeftDevice)).isFalse(); in testCreateStateMachineStackEvents() 559 assertThat(mService.getDevices().contains(mLeftDevice)).isTrue(); in testDeleteStateMachineUnbondEvents() 562 assertThat(mService.getDevices().contains(mLeftDevice)).isTrue(); in testDeleteStateMachineUnbondEvents() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceTest.java | 518 Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents() 525 Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents() 527 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents() 534 Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents() 541 Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents() 543 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents() 551 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents() 559 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testCreateStateMachineStackEvents() 598 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testProcessAudioStateChangedCodecConfigChangedEvents() 604 Assert.assertFalse(mA2dpService.getDevices().contains(mTestDevice)); in testProcessAudioStateChangedCodecConfigChangedEvents() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 602 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents() 609 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents() 611 Assert.assertFalse(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents() 618 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents() 625 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents() 627 Assert.assertFalse(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents() 635 Assert.assertFalse(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents() 643 Assert.assertFalse(mService.getDevices().contains(mLeftDevice)); in testCreateStateMachineStackEvents() 669 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testDeleteStateMachineUnbondEvents() 672 Assert.assertTrue(mService.getDevices().contains(mLeftDevice)); in testDeleteStateMachineUnbondEvents() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicesService.java | 58 public List<BluetoothDevice> getDevices() { in getDevices() method in BluetoothDevicesService.LocalBinder 59 return BluetoothDevicesService.this.getDevices(); in getDevices() 68 for (BluetoothDevice device : getDevices()) { in addListener() 189 for (BluetoothDevice device: getDevices()) { in dump() 259 List<BluetoothDevice> devices = getDevices(); in findDevice() 270 private static List<BluetoothDevice> getDevices() { in getDevices() method in BluetoothDevicesService
|
D | ConnectedDevicesSliceProvider.java | 531 return mBtDeviceServiceBinder.getDevices(); in getBluetoothDevices()
|
/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 | 104 doReturn(mDevices).when(mMockedAudioManager).getDevices(anyInt()); in setUp() 169 verify(mMockedAudioManager).getDevices(anyInt()); in testStartServiceNotInCallOverrideDnd()
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | SampleDriverSL.cpp | 25 std::vector<SharedDevice> getDevices() { in getDevices() function
|
/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()
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | CarAudioManager.java | 634 mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getOutputDeviceForUsage() 782 AudioDeviceInfo[] inputDevices = mAudioManager.getDevices(flag); in convertInputDevicesToDeviceInfos()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioService.java | 539 AudioDeviceInfo[] deviceInfos = mAudioManager.getDevices( in generateCarAudioDeviceInfos() 549 return mAudioManager.getDevices( in getAllInputDevices() 727 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in getExternalSources() 783 AudioDeviceInfo[] deviceInfos = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in createAudioPatchLocked()
|
/packages/services/Telecomm/testapps/callaudiotest/src/com/android/server/telecom/callaudiotest/ |
D | CallAudioTestInCallService.java | 120 AudioDeviceInfo[] deviceList = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getTelephonyDevice()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | RootScanner.java | 136 final MtpDeviceRecord[] devices = mManager.getDevices(); in run()
|
D | MtpManager.java | 123 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/modules/NeuralNetworks/runtime/ |
D | Manager.h | 255 std::vector<SharedDevice> getDevices();
|
D | Memory.cpp | 429 static std::set<const Device*> getDevices(const MemoryDescriptor& desc) { in getDevices() function 448 std::set<const Device*> devices = getDevices(mDesc); in finish()
|
D | Manager.cpp | 1243 hardware::neuralnetworks::service::getDevices(includeUpdatableDrivers); in getDriverDevices() 1254 auto devices = getDevices(); in getDriverDevices()
|
/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 | 715 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in isOnEarphone()
|