/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceTest.java | 483 assertThat(mA2dpService.getDevices()).contains(sTestDevice); in testCreateStateMachineStackEvents() 492 assertThat(mA2dpService.getDevices()).contains(sTestDevice); in testCreateStateMachineStackEvents() 496 assertThat(mA2dpService.getDevices()).doesNotContain(sTestDevice); in testCreateStateMachineStackEvents() 503 assertThat(mA2dpService.getDevices()).contains(sTestDevice); in testCreateStateMachineStackEvents() 520 assertThat(mA2dpService.getDevices()).contains(sTestDevice); in testCreateStateMachineStackEvents() 524 assertThat(mA2dpService.getDevices()).doesNotContain(sTestDevice); in testCreateStateMachineStackEvents() 531 assertThat(mA2dpService.getDevices()).doesNotContain(sTestDevice); in testCreateStateMachineStackEvents() 538 assertThat(mA2dpService.getDevices()).doesNotContain(sTestDevice); in testCreateStateMachineStackEvents() 579 assertThat(mA2dpService.getDevices()).doesNotContain(sTestDevice); in testProcessAudioStateChangedCodecConfigChangedEvents() 585 assertThat(mA2dpService.getDevices()).doesNotContain(sTestDevice); in testProcessAudioStateChangedCodecConfigChangedEvents() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 710 assertThat(mService.getDevices()).contains(mLeftDevice); in testCreateStateMachineStackEvents() 719 assertThat(mService.getDevices()).contains(mLeftDevice); in testCreateStateMachineStackEvents() 721 assertThat(mService.getDevices()).doesNotContain(mLeftDevice); in testCreateStateMachineStackEvents() 728 assertThat(mService.getDevices()).contains(mLeftDevice); in testCreateStateMachineStackEvents() 735 assertThat(mService.getDevices()).contains(mLeftDevice); in testCreateStateMachineStackEvents() 737 assertThat(mService.getDevices()).doesNotContain(mLeftDevice); in testCreateStateMachineStackEvents() 744 assertThat(mService.getDevices()).doesNotContain(mLeftDevice); in testCreateStateMachineStackEvents() 751 assertThat(mService.getDevices()).doesNotContain(mLeftDevice); in testCreateStateMachineStackEvents() 778 assertThat(mService.getDevices()).contains(mLeftDevice); in testDeleteStateMachineUnbondEvents() 781 assertThat(mService.getDevices()).contains(mLeftDevice); in testDeleteStateMachineUnbondEvents() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/ |
D | VolumeControlServiceTest.java | 458 Assert.assertTrue(mService.getDevices().contains(mDevice)); in testCreateStateMachineStackEvents() 465 Assert.assertTrue(mService.getDevices().contains(mDevice)); in testCreateStateMachineStackEvents() 467 Assert.assertFalse(mService.getDevices().contains(mDevice)); in testCreateStateMachineStackEvents() 473 Assert.assertTrue(mService.getDevices().contains(mDevice)); in testCreateStateMachineStackEvents() 480 Assert.assertTrue(mService.getDevices().contains(mDevice)); in testCreateStateMachineStackEvents() 482 Assert.assertFalse(mService.getDevices().contains(mDevice)); in testCreateStateMachineStackEvents() 489 Assert.assertFalse(mService.getDevices().contains(mDevice)); in testCreateStateMachineStackEvents() 495 Assert.assertFalse(mService.getDevices().contains(mDevice)); in testCreateStateMachineStackEvents() 516 Assert.assertTrue(mService.getDevices().contains(mDevice)); in testDeleteStateMachineDisconnectEvents() 523 Assert.assertTrue(mService.getDevices().contains(mDevice)); in testDeleteStateMachineDisconnectEvents() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicesService.java | 59 public List<BluetoothDevice> getDevices() { in getDevices() method in BluetoothDevicesService.LocalBinder 60 return BluetoothDevicesService.this.getDevices(); in getDevices() 69 for (BluetoothDevice device : getDevices()) { in addListener() 202 for (BluetoothDevice device: getDevices()) { in dump() 281 List<BluetoothDevice> devices = getDevices(); in findDevice() 292 private static List<BluetoothDevice> getDevices() { in getDevices() method in BluetoothDevicesService
|
/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()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioServiceTest.java | 768 assertThat(mService.getDevices().contains(mLeftDevice)).isTrue(); in testCreateStateMachineStackEvents() 777 assertThat(mService.getDevices().contains(mLeftDevice)).isTrue(); in testCreateStateMachineStackEvents() 779 assertThat(mService.getDevices().contains(mLeftDevice)).isFalse(); in testCreateStateMachineStackEvents() 794 assertThat(mService.getDevices().contains(mLeftDevice)).isTrue(); in testCreateStateMachineStackEvents() 801 assertThat(mService.getDevices().contains(mLeftDevice)).isTrue(); in testCreateStateMachineStackEvents() 803 assertThat(mService.getDevices().contains(mLeftDevice)).isFalse(); in testCreateStateMachineStackEvents() 810 assertThat(mService.getDevices().contains(mLeftDevice)).isFalse(); in testCreateStateMachineStackEvents() 818 assertThat(mService.getDevices().contains(mLeftDevice)).isFalse(); in testCreateStateMachineStackEvents() 846 assertThat(mService.getDevices().contains(mLeftDevice)).isTrue(); in testDeleteStateMachineUnbondEvents() 849 assertThat(mService.getDevices().contains(mLeftDevice)).isTrue(); in testDeleteStateMachineUnbondEvents() [all …]
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | SampleDriverSL.cpp | 25 std::vector<SharedDevice> getDevices() { in getDevices() function
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | AudioManagerWrapper.java | 194 AudioDeviceInfo[] getDevices(int flags) { in getDevices() method in AudioManagerWrapper 195 return mAudioManager.getDevices(flags); in getDevices()
|
D | CarAudioUtils.java | 84 AudioDeviceInfo[] infos = audioManager.getDevices(GET_DEVICES_OUTPUTS); in getAudioDeviceInfo()
|
/packages/modules/NeuralNetworks/runtime/ |
D | Telemetry.cpp | 166 .deviceId = makeDeviceId(c->getDevices()), in onCompilationFinish() 221 .deviceId = makeDeviceId(compilation->getDevices()), in onExecutionFinish()
|
D | CompilationBuilder.h | 81 const std::vector<std::shared_ptr<Device>>& getDevices() const { return mDevices; } in getDevices() function
|
D | Manager.h | 279 std::vector<SharedDevice> getDevices();
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioUtilsTest.java | 177 when(audioManager.getDevices(anyInt())).thenReturn(new AudioDeviceInfo[]{info2, info1}); in getAudioDeviceInfo() 191 when(audioManager.getDevices(anyInt())).thenReturn(new AudioDeviceInfo[]{info2, info1}); in getAudioDeviceInfo_withDeviceNotAvailable() 356 when(manager.getDevices(AudioManager.GET_DEVICES_OUTPUTS)) in setUpMockAudioManager()
|
D | AudioManagerWrapperTest.java | 417 public void getDevices() { in getDevices() method in AudioManagerWrapperTest 421 when(mAudioManager.getDevices(GET_DEVICES_OUTPUTS)).thenReturn(infos); in getDevices() 424 mAudioManagerWrapper.getDevices(GET_DEVICES_OUTPUTS)).isEqualTo(infos); in getDevices()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Asha.kt | 124 val outputDevices = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS) in start() 181 audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS) in start()
|
/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/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()
|
/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/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioDynamicRoutingTest.java | 258 when(mAudioManager.getDevices(anyInt())).thenReturn( in setupAudioDynamicRoutingForMirrorDevice() 287 when(mAudioManager.getDevices(anyInt())).thenReturn( in getTestCarAudioZones()
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | Android.bp | 84 // `getDevices`) as sAIDL objects and registers them with service manager.
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertAudioTest.java | 129 doReturn(mDevices).when(mMockedAudioManager).getDevices(anyInt()); in setUp() 256 verify(mMockedAudioManager).getDevices(anyInt()); in testStartServiceNotInCallOverrideDnd()
|