Home
last modified time | relevance | path

Searched refs:midiManager (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMidiSoloTest.java93 MidiManager midiManager = (MidiManager) getContext().getSystemService( in testMidiManager() local
95 assertTrue("MidiManager not supported.", midiManager != null); in testMidiManager()
97 MidiDeviceInfo[] infos = midiManager.getDevices(); in testMidiManager()
103 midiManager.unregisterDeviceCallback(callback); in testMidiManager()
104 midiManager.registerDeviceCallback(callback, null); in testMidiManager()
105 midiManager.unregisterDeviceCallback(callback); in testMidiManager()
106 midiManager.registerDeviceCallback(callback, new Handler(Looper.getMainLooper())); in testMidiManager()
107 midiManager.registerDeviceCallback(callback, new Handler(Looper.getMainLooper())); in testMidiManager()
108 midiManager.unregisterDeviceCallback(callback); in testMidiManager()
109 midiManager.unregisterDeviceCallback(callback); in testMidiManager()
[all …]
/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java161 MidiManager midiManager = (MidiManager) mContext.getSystemService( in setUpEchoServer() local
168 midiManager.openDevice(echoInfo, callback, null); in setUpEchoServer()
288 MidiManager midiManager = (MidiManager) mContext.getSystemService( in testMidiManager() local
290 assertTrue("MidiManager not supported.", midiManager != null); in testMidiManager()
293 MidiDeviceInfo[] infos = midiManager.getDevices(); in testMidiManager()
530 MidiManager midiManager = (MidiManager) mContext.getSystemService( in testDeviceCallback() local
537 midiManager.openDevice(echoInfo, callback, null); in testDeviceCallback()
543 midiManager.registerDeviceCallback(deviceCallback, null); in testDeviceCallback()
563 midiManager.unregisterDeviceCallback(deviceCallback); in testDeviceCallback()
574 midiManager.unregisterDeviceCallback(deviceCallback); in testDeviceCallback()
/cts/libs/midi/src/com/android/midi/
DMidiEchoTestService.java79 MidiManager midiManager = in findEchoDevice() local
81 MidiDeviceInfo[] infos = midiManager.getDevices(); in findEchoDevice()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DNDKMidiActivity.java474 public NDKMidiTestModule(NDKMidiActivity midiActivity, MidiManager midiManager) { in NDKMidiTestModule() argument
476 mMidiManager = midiManager; in NDKMidiTestModule()
631 public BTMidiTestModule(NDKMidiActivity midiActivity, MidiManager midiManager) { in BTMidiTestModule() argument
632 super(midiActivity, midiManager); in BTMidiTestModule()