Searched refs:mUSBLoopbackDevice (Results 1 – 2 of 2) sorted by relevance
141 private MidiIODevice mUSBLoopbackDevice = new MidiIODevice(MidiDeviceInfo.TYPE_USB); field in MidiJavaTestActivity.BTMidiTestModule152 mUSBLoopbackDevice.scanDevices(devInfos); in scanDevices()159 mUSBLoopbackDevice.mReceivePort = device.openOutputPort(0); in openUSBEchoDevice()160 mUSBLoopbackDevice.mReceivePort.connect(new USBMidiEchoReceiver()); in openUSBEchoDevice()165 mUSBLoopbackDevice.mSendPort = device.openInputPort(0); in openUSBEchoDevice()171 mUSBLoopbackDevice.closePorts(); in closePorts()183 mUSBLoopbackDevice.closePorts(); in startLoopbackTest()187 mUSBLoopbackDevice.mSendDevInfo, new USBLoopbackOpenListener(), null); in startLoopbackTest()200 mUSBLoopbackDevice.openPorts(device, new USBMidiEchoReceiver()); in onDeviceOpened()223 if (mUSBLoopbackDevice.mSendPort == null) { in onSend()[all …]
230 private MidiIODevice mUSBLoopbackDevice = new MidiIODevice(MidiDeviceInfo.TYPE_USB); field in MidiNativeTestActivity.BTMidiTestModule241 mUSBLoopbackDevice.scanDevices(devInfos); in scanDevices()246 if (mUSBLoopbackDevice != null) { in closePorts()247 mUSBLoopbackDevice.closePorts(); in closePorts()257 mUSBLoopbackDevice.closePorts(); in startLoopbackTest()261 mUSBLoopbackDevice.mSendDevInfo, new USBLoopbackOpenListener(), null); in startLoopbackTest()277 mUSBLoopbackDevice.openPorts(device, new USBMidiEchoReceiver()); in onDeviceOpened()300 if (mUSBLoopbackDevice.mSendPort == null) { in onSend()303 mUSBLoopbackDevice.mSendPort.onSend(msg, offset, count, timestamp); in onSend()