Home
last modified time | relevance | path

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

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DMidiSoloTest.java105 MidiManager midiManager = (MidiManager) getContext().getSystemService( in testMidiManager() local
107 assertTrue("MidiManager not supported.", midiManager != null); in testMidiManager()
109 MidiDeviceInfo[] infos = midiManager.getDevices(); in testMidiManager()
111 Collection<MidiDeviceInfo> legacyDeviceInfos = midiManager.getDevicesForTransport( in testMidiManager()
114 Collection<MidiDeviceInfo> universalDeviceInfos = midiManager.getDevicesForTransport( in testMidiManager()
121 midiManager.unregisterDeviceCallback(callback); in testMidiManager()
122 midiManager.registerDeviceCallback(callback, null); in testMidiManager()
123 midiManager.unregisterDeviceCallback(callback); in testMidiManager()
124 midiManager.registerDeviceCallback(callback, new Handler(Looper.getMainLooper())); in testMidiManager()
125 midiManager.registerDeviceCallback(callback, new Handler(Looper.getMainLooper())); in testMidiManager()
[all …]
/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java210 MidiManager midiManager = mContext.getSystemService(MidiManager.class); in setUpLegacyEchoServer() local
216 midiManager.openDevice(echoInfo, callback, null); in setUpLegacyEchoServer()
258 MidiManager midiManager = mContext.getSystemService(MidiManager.class); in setUpUmpEchoServer() local
263 midiManager.openDevice(echoInfo, callback, null); in setUpUmpEchoServer()
451 MidiManager midiManager = mContext.getSystemService(MidiManager.class); in testMidiManagerLegacy() local
452 assertTrue("MidiManager not supported.", midiManager != null); in testMidiManagerLegacy()
455 MidiDeviceInfo[] infos = midiManager.getDevices(); in testMidiManagerLegacy()
459 Collection<MidiDeviceInfo> legacyDeviceInfos = midiManager.getDevicesForTransport( in testMidiManagerLegacy()
473 MidiManager midiManager = mContext.getSystemService(MidiManager.class); in testMidiManagerUmp() local
474 assertTrue("MidiManager not supported.", midiManager != null); in testMidiManagerUmp()
[all …]
/cts/libs/midi/src/com/android/midi/
DMidiEchoTestService.java80 MidiManager midiManager = in findEchoDevice() local
82 Collection<MidiDeviceInfo> infos = midiManager.getDevicesForTransport( in findEchoDevice()
DMidiUmpEchoTestService.java85 MidiManager midiManager = context.getSystemService(MidiManager.class); in findEchoDevice() local
86 Collection<MidiDeviceInfo> infos = midiManager.getDevicesForTransport( in findEchoDevice()
/cts/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/
DMidiTestHelper.java165 MidiManager midiManager = mContext.getSystemService(MidiManager.class); in setUpEchoServer() local
171 midiManager.openDevice(echoInfo, callback, null); in setUpEchoServer()