HomeSort by relevance Sort by last modified time
    Searched defs:midiManager (Results 1 - 4 of 4) sorted by null

  /cts/tests/tests/media/src/android/media/cts/
MidiSoloTest.java 30 import android.media.midi.MidiManager;
90 MidiManager midiManager = (MidiManager) getContext().getSystemService(
92 assertTrue("MidiManager not supported.", midiManager != null);
94 MidiDeviceInfo[] infos = midiManager.getDevices();
97 MidiManager.DeviceCallback callback = new MidiManager.DeviceCallback();
100 midiManager.unregisterDeviceCallback(callback)
    [all...]
  /developers/samples/android/media/MidiScope/Application/src/main/java/com/example/android/midiscope/
MainActivity.java 22 import android.media.midi.MidiManager;
66 MidiManager midiManager = (MidiManager) getSystemService(MIDI_SERVICE);
75 mLogSenderSelector = new MidiOutputPortSelector(midiManager, this, R.id.spinner_senders) {
  /cts/tests/tests/midi/src/android/midi/cts/
MidiEchoTest.java 20 import android.media.midi.MidiManager;
76 class MyTestOpenCallback implements MidiManager.OnDeviceOpenedListener {
142 MidiManager midiManager = (MidiManager) mContext.getSystemService(
144 MidiDeviceInfo[] infos = midiManager.getDevices();
165 MidiManager midiManager = (MidiManager) mContext.getSystemService(
172 midiManager.openDevice(echoInfo, callback, null)
    [all...]
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbMidiDevice.java 23 import android.media.midi.MidiManager;
281 MidiManager midiManager = (MidiManager)context.getSystemService(Context.MIDI_SERVICE);
282 if (midiManager == null) {
283 Log.e(TAG, "No MidiManager in UsbMidiDevice.create()");
287 mServer = midiManager.createDeviceServer(mInputPortReceivers, mSubdeviceCount,

Completed in 236 milliseconds