Home
last modified time | relevance | path

Searched refs:devInfo (Results 1 – 9 of 9) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralNotificationsTest.java188 for (AudioDeviceInfo devInfo : devices) { in scanDevices()
189 if (devInfo.getType() == AudioDeviceInfo.TYPE_USB_HEADSET) { in scanDevices()
190 if (devInfo.isSource()) { in scanDevices()
194 mUsbHeadsetInInfo = devInfo; in scanDevices()
200 } else if (devInfo.isSink()) { in scanDevices()
204 mUsbHeadsetOutInfo = devInfo; in scanDevices()
211 } else if (devInfo.getType() == AudioDeviceInfo.TYPE_USB_DEVICE) { in scanDevices()
212 if (devInfo.isSource()) { in scanDevices()
216 mUsbDeviceInInfo = devInfo; in scanDevices()
222 } else if (devInfo.isSink()) { in scanDevices()
[all …]
DAudioFrequencyActivity.java186 for(AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
187 if (devInfo.getType() == AudioDeviceInfo.TYPE_USB_DEVICE || in scanPeripheralList()
188 devInfo.getType() == AudioDeviceInfo.TYPE_USB_HEADSET) { in scanPeripheralList()
189 if (devInfo.isSink()) { in scanPeripheralList()
190 mOutputDevInfo = devInfo; in scanPeripheralList()
192 if (devInfo.isSource()) { in scanPeripheralList()
193 mInputDevInfo = devInfo; in scanPeripheralList()
DUSBAudioPeripheralActivity.java188 for(AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
189 if (devInfo.getType() == AudioDeviceInfo.TYPE_USB_DEVICE || in scanPeripheralList()
190 devInfo.getType() == AudioDeviceInfo.TYPE_USB_HEADSET) { in scanPeripheralList()
191 if (devInfo.isSink()) { in scanPeripheralList()
192 mOutputDevInfo = devInfo; in scanPeripheralList()
194 if (devInfo.isSource()) { in scanPeripheralList()
195 mInputDevInfo = devInfo; in scanPeripheralList()
DAudioLoopbackBaseActivity.java180 for (AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
181 if (devInfo.getType() == AudioDeviceInfo.TYPE_USB_DEVICE || // USB Peripheral in scanPeripheralList()
182 devInfo.getType() == AudioDeviceInfo.TYPE_USB_HEADSET || // USB dongle+LBPlug in scanPeripheralList()
183 devInfo.getType() == AudioDeviceInfo.TYPE_WIRED_HEADSET || // Loopback Plug? in scanPeripheralList()
184 devInfo.getType() == AudioDeviceInfo.TYPE_AUX_LINE) { // Aux-cable loopback? in scanPeripheralList()
185 if (devInfo.isSink()) { in scanPeripheralList()
186 mOutputDevInfo = devInfo; in scanPeripheralList()
188 if (devInfo.isSource()) { in scanPeripheralList()
189 mInputDevInfo = devInfo; in scanPeripheralList()
192 handleDeviceConnection(devInfo); in scanPeripheralList()
DAnalogHeadsetAudioActivity.java352 for(AudioDeviceInfo devInfo : devices) { in scanPeripheralList()
353 if (devInfo.getType() == AudioDeviceInfo.TYPE_WIRED_HEADSET || in scanPeripheralList()
354 devInfo.getType() == AudioDeviceInfo.TYPE_WIRED_HEADPHONES) { in scanPeripheralList()
355 mHeadsetDeviceInfo = devInfo; in scanPeripheralList()
358 (devInfo.getType() == AudioDeviceInfo.TYPE_WIRED_HEADSET in scanPeripheralList()
DProAudioActivity.java132 protected void handleDeviceConnection(AudioDeviceInfo devInfo) { in handleDeviceConnection() argument
135 if (devInfo.isSink() && devInfo.getType() == AudioDeviceInfo.TYPE_HDMI) { in handleDeviceConnection()
136 mHDMIDeviceInfo = devInfo; in handleDeviceConnection()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/midilib/
DMidiIODevice.java58 for(MidiDeviceInfo devInfo : devInfos) { in scanDevices()
60 int numInPorts = devInfo.getInputPortCount(); in scanDevices()
64 if (devInfo.getType() == mDeviceType && mSendDevInfo == null) { in scanDevices()
65 mSendDevInfo = devInfo; in scanDevices()
69 int numOutPorts = devInfo.getOutputPortCount(); in scanDevices()
73 if (devInfo.getType() == mDeviceType && mReceiveDevInfo == null) { in scanDevices()
74 mReceiveDevInfo = devInfo; in scanDevices()
/cts/tests/tests/media/src/android/media/cts/
DAudioPlayRoutingNative.java111 for (AudioDeviceInfo devInfo : deviceList) { in testRouting()
112 assertTrue(routingObj.setPreferredDevice(devInfo)); in testRouting()
DAudioRecordRoutingNative.java121 for (AudioDeviceInfo devInfo : deviceList) { in testRouting()
122 assertTrue(routingObj.setPreferredDevice(devInfo)); in testRouting()