Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java492 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/
DA2dpServiceTest.java518 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/
DHearingAidServiceTest.java602 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/
DBluetoothDevicesService.java58 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
DConnectedDevicesSliceProvider.java531 return mBtDeviceServiceBinder.getDevices(); in getBluetoothDevices()
/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.java104 doReturn(mDevices).when(mMockedAudioManager).getDevices(anyInt()); in setUp()
169 verify(mMockedAudioManager).getDevices(anyInt()); in testStartServiceNotInCallOverrideDnd()
/packages/modules/NeuralNetworks/driver/sample/
DSampleDriverSL.cpp25 std::vector<SharedDevice> getDevices() { in getDevices() function
/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()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java634 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/
DCarAudioService.java539 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/
DCallAudioTestInCallService.java120 AudioDeviceInfo[] deviceList = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getTelephonyDevice()
/packages/services/Mtp/src/com/android/mtp/
DRootScanner.java136 final MtpDeviceRecord[] devices = mManager.getDevices(); in run()
DMtpManager.java123 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/modules/NeuralNetworks/runtime/
DManager.h255 std::vector<SharedDevice> getDevices();
DMemory.cpp429 static std::set<const Device*> getDevices(const MemoryDescriptor& desc) { in getDevices() function
448 std::set<const Device*> devices = getDevices(mDesc); in finish()
DManager.cpp1243 hardware::neuralnetworks::service::getDevices(includeUpdatableDrivers); in getDriverDevices()
1254 auto devices = getDevices(); in getDriverDevices()
/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.java715 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in isOnEarphone()

12