HomeSort by relevance Sort by last modified time
    Searched refs:DeviceCallback (Results 1 - 12 of 12) sorted by null

  /frameworks/base/cmds/hid/jni/
com_android_commands_hid_Device.h 26 class DeviceCallback {
28 DeviceCallback(JNIEnv* env, jobject callback);
29 ~DeviceCallback();
42 std::unique_ptr<DeviceCallback> callback, sp<Looper> looper);
44 Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback, sp<Looper> looper);
55 std::unique_ptr<DeviceCallback> mDeviceCallback;
com_android_commands_hid_Device.cpp 65 DeviceCallback::DeviceCallback(JNIEnv* env, jobject callback) :
68 DeviceCallback::~DeviceCallback() {
73 void DeviceCallback::onDeviceError() {
79 void DeviceCallback::onDeviceOpen() {
87 std::unique_ptr<DeviceCallback> callback, sp<Looper> looper) {
126 Device::Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback, sp<Looper> looper) :
196 std::unique_ptr<uhid::DeviceCallback> cb(new uhid::DeviceCallback(env, callback))
    [all...]
  /frameworks/base/media/java/android/media/midi/
MidiManager.java 64 private ConcurrentHashMap<DeviceCallback,DeviceListener> mDeviceListeners =
65 new ConcurrentHashMap<DeviceCallback,DeviceListener>();
69 private final DeviceCallback mCallback;
72 public DeviceListener(DeviceCallback callback, Handler handler) {
123 public static class DeviceCallback {
172 * The {@link DeviceCallback#onDeviceStatusChanged} method will be called immediately
179 * @param callback a {@link DeviceCallback} for MIDI device notifications
184 public void registerDeviceCallback(DeviceCallback callback, Handler handler) {
195 * Unregisters a {@link DeviceCallback}.
197 * @param callback a {@link DeviceCallback} to unregiste
    [all...]
  /frameworks/base/cmds/hid/src/com/android/commands/hid/
Device.java 56 byte[] descriptor, MessageQueue queue, DeviceCallback callback);
114 (byte[]) args.arg2, getLooper().myQueue(), new DeviceCallback());
152 private class DeviceCallback {
  /cts/tests/tests/media/src/android/media/cts/
MidiSoloTest.java 97 MidiManager.DeviceCallback callback = new MidiManager.DeviceCallback();
  /developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/
MidiPortSelector.java 23 import android.media.midi.MidiManager.DeviceCallback;
37 public abstract class MidiPortSelector extends DeviceCallback {
  /developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/
MidiPortSelector.java 23 import android.media.midi.MidiManager.DeviceCallback;
37 public abstract class MidiPortSelector extends DeviceCallback {
  /developers/samples/android/common/src/java/com/example/android/common/midi/
MidiPortSelector.java 23 import android.media.midi.MidiManager.DeviceCallback;
37 public abstract class MidiPortSelector extends DeviceCallback {
  /development/samples/browseable/MidiScope/src/com.example.android.common.midi/
MidiPortSelector.java 23 import android.media.midi.MidiManager.DeviceCallback;
37 public abstract class MidiPortSelector extends DeviceCallback {
  /development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
MidiPortSelector.java 23 import android.media.midi.MidiManager.DeviceCallback;
37 public abstract class MidiPortSelector extends DeviceCallback {
  /cts/tests/tests/midi/src/android/midi/cts/
MidiEchoTest.java 503 private class MyDeviceCallback extends MidiManager.DeviceCallback {
557 MyDeviceCallback deviceCallback = new MyDeviceCallback(echoInfo);
560 midiManager.registerDeviceCallback(deviceCallback, null);
562 MidiDeviceStatus status = deviceCallback.waitForStatus(TIMEOUT_STATUS_MSEC);
569 status = deviceCallback.waitForStatus(TIMEOUT_STATUS_MSEC);
573 deviceCallback.clear();
575 status = deviceCallback.waitForStatus(TIMEOUT_STATUS_MSEC);
580 midiManager.unregisterDeviceCallback(deviceCallback);
581 deviceCallback.clear();
585 status = deviceCallback.waitForStatus(TIMEOUT_STATUS_MSEC)
    [all...]
  /prebuilts/sdk/system_23/
android.jar 

Completed in 1083 milliseconds