Home
last modified time | relevance | path

Searched refs:mUSBLoopbackDevice (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DMidiNativeTestActivity.java196 private MidiIODevice mUSBLoopbackDevice = new MidiIODevice(MidiDeviceInfo.TYPE_USB); field in MidiNativeTestActivity.BTMidiTestModule
207 mUSBLoopbackDevice.scanDevices(devInfos); in scanDevices()
212 if (mUSBLoopbackDevice != null) { in closePorts()
213 mUSBLoopbackDevice.closePorts(); in closePorts()
223 mUSBLoopbackDevice.closePorts(); in startLoopbackTest()
227 mUSBLoopbackDevice.mSendDevInfo, new USBLoopbackOpenListener(), null); in startLoopbackTest()
243 mUSBLoopbackDevice.openPorts(device, new USBMidiEchoReceiver()); in onDeviceOpened()
266 if (mUSBLoopbackDevice.mSendPort == null) { in onSend()
269 mUSBLoopbackDevice.mSendPort.onSend(msg, offset, count, timestamp); in onSend()
DMidiJavaTestActivity.java478 private MidiIODevice mUSBLoopbackDevice = new MidiIODevice(MidiDeviceInfo.TYPE_USB); field in MidiJavaTestActivity.BTMidiTestModule
489 mUSBLoopbackDevice.scanDevices(devInfos); in scanDevices()
496 mUSBLoopbackDevice.mReceivePort = device.openOutputPort(0); in openUSBEchoDevice()
497 mUSBLoopbackDevice.mReceivePort.connect(new USBMidiEchoReceiver()); in openUSBEchoDevice()
502 mUSBLoopbackDevice.mSendPort = device.openInputPort(0); in openUSBEchoDevice()
508 mUSBLoopbackDevice.closePorts(); in closePorts()
518 mUSBLoopbackDevice.closePorts(); in startLoopbackTest()
522 mUSBLoopbackDevice.mSendDevInfo, new USBLoopbackOpenListener(), null); in startLoopbackTest()
538 mUSBLoopbackDevice.openPorts(device, new USBMidiEchoReceiver()); in onDeviceOpened()
561 if (mUSBLoopbackDevice.mSendPort == null) { in onSend()
[all …]