Home
last modified time | relevance | path

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

/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.h26 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;
Dcom_android_commands_hid_Device.cpp65 DeviceCallback::DeviceCallback(JNIEnv* env, jobject callback) : in DeviceCallback() function in android::uhid::DeviceCallback
68 DeviceCallback::~DeviceCallback() { in ~DeviceCallback()
73 void DeviceCallback::onDeviceError() { in onDeviceError()
79 void DeviceCallback::onDeviceOpen() { in onDeviceOpen()
87 std::unique_ptr<DeviceCallback> callback, sp<Looper> looper) { in open()
126 Device::Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback, sp<Looper> looper) : in Device()
196 std::unique_ptr<uhid::DeviceCallback> cb(new uhid::DeviceCallback(env, callback)); in openDevice()
/frameworks/base/media/java/android/media/midi/
DMidiManager.java64 private ConcurrentHashMap<DeviceCallback,DeviceListener> mDeviceListeners =
65 new ConcurrentHashMap<DeviceCallback,DeviceListener>();
69 private final DeviceCallback mCallback;
72 public DeviceListener(DeviceCallback callback, Handler handler) { in DeviceListener()
123 public static class DeviceCallback { class in MidiManager
184 public void registerDeviceCallback(DeviceCallback callback, Handler handler) { in registerDeviceCallback()
199 public void unregisterDeviceCallback(DeviceCallback callback) { in unregisterDeviceCallback()
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DDevice.java56 byte[] descriptor, MessageQueue queue, DeviceCallback callback); in nativeOpenDevice()
114 (byte[]) args.arg2, getLooper().myQueue(), new DeviceCallback()); in handleMessage()
152 private class DeviceCallback { class in Device
/frameworks/base/api/
Dcurrent.txt22356 …method public void registerDeviceCallback(android.media.midi.MidiManager.DeviceCallback, android.o…
22357 method public void unregisterDeviceCallback(android.media.midi.MidiManager.DeviceCallback);
22360 public static class MidiManager.DeviceCallback {
22361 ctor public MidiManager.DeviceCallback();
Dsystem-current.txt23950 …method public void registerDeviceCallback(android.media.midi.MidiManager.DeviceCallback, android.o…
23951 method public void unregisterDeviceCallback(android.media.midi.MidiManager.DeviceCallback);
23954 public static class MidiManager.DeviceCallback {
23955 ctor public MidiManager.DeviceCallback();
Dtest-current.txt22425 …method public void registerDeviceCallback(android.media.midi.MidiManager.DeviceCallback, android.o…
22426 method public void unregisterDeviceCallback(android.media.midi.MidiManager.DeviceCallback);
22429 public static class MidiManager.DeviceCallback {
22430 ctor public MidiManager.DeviceCallback();