Home
last modified time | relevance | path

Searched refs:mMidiManager (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUsbMidiAudioActivity.java48 private MidiManager mMidiManager; field in UsbMidiAudioActivity
96 mMidiManager = getSystemService(MidiManager.class); in onCreate()
143 mMidiManager.openDevice(mIODevice.mSendDevInfo, new TestModuleOpenListener(), null); in openMidiDevice()
172 mMidiManager.registerDeviceCallback(MidiManager.TRANSPORT_MIDI_BYTE_STREAM, in connectMidiDeviceListener()
200 Collection<MidiDeviceInfo> devInfos = mMidiManager.getDevicesForTransport( in scanMidiDevices()
DMidiTestActivityBase.java54 protected MidiManager mMidiManager; field in MidiTestActivityBase
98 mMidiManager = getSystemService(MidiManager.class); in onCreate()
168 mMidiManager.registerDeviceCallback(MidiManager.TRANSPORT_MIDI_BYTE_STREAM, in connectDeviceListener()
205 Collection<MidiDeviceInfo> devInfos = mMidiManager.getDevicesForTransport( in scanMidiDevices()
DMidiJavaTestActivity.java113 mMidiManager.openDevice(mIODevice.mSendDevInfo, new TestModuleOpenListener(), null); in openMidiDevice()
186 mMidiManager.openDevice( in startLoopbackTest()
DMidiNativeTestActivity.java175 mMidiManager.openDevice(mIODevice.mSendDevInfo, new TestModuleOpenListener(), null); in startLoopbackTest()
260 mMidiManager.openDevice( in startLoopbackTest()
/cts/tests/tests/nativemidi/java/android/nativemidi/cts/
DNativeMidiEchoTest.java57 private MidiManager mMidiManager; field in NativeMidiEchoTest
147 mMidiManager.openDevice(echoInfo, callback, null); in setUpEchoServer()
223 mMidiManager = (MidiManager)mContext.getSystemService(Context.MIDI_SERVICE); in setUp()
224 Assert.assertNotNull("Could not get the MidiManger.", mMidiManager); in setUp()
236 mMidiManager = null; in tearDown()
244 Assert.assertNotNull("MidiManager not supported.", mMidiManager); in test_A_MidiManager()
247 MidiDeviceInfo[] infos = mMidiManager.getDevices(); in test_A_MidiManager()