Home
last modified time | relevance | path

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

/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java610 MyDeviceCallback deviceCallback = new MyDeviceCallback(echoInfo); in testDeviceCallback() local
613 midiManager.registerDeviceCallback(deviceCallback, null); in testDeviceCallback()
615 MidiDeviceStatus status = deviceCallback.waitForStatus(TIMEOUT_STATUS_MSEC); in testDeviceCallback()
622 status = deviceCallback.waitForStatus(TIMEOUT_STATUS_MSEC); in testDeviceCallback()
626 deviceCallback.clear(); in testDeviceCallback()
628 status = deviceCallback.waitForStatus(TIMEOUT_STATUS_MSEC); in testDeviceCallback()
633 midiManager.unregisterDeviceCallback(deviceCallback); in testDeviceCallback()
634 deviceCallback.clear(); in testDeviceCallback()
638 status = deviceCallback.waitForStatus(TIMEOUT_STATUS_MSEC); in testDeviceCallback()
644 midiManager.unregisterDeviceCallback(deviceCallback); in testDeviceCallback()