Searched refs:DeviceCallback (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/cmds/hid/jni/ |
D | com_android_commands_hid_Device.h | 24 class DeviceCallback { 26 DeviceCallback(JNIEnv* env, jobject callback); 27 ~DeviceCallback(); 42 std::unique_ptr<DeviceCallback> callback); 44 Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback); 55 std::unique_ptr<DeviceCallback> mDeviceCallback;
|
D | com_android_commands_hid_Device.cpp | 64 DeviceCallback::DeviceCallback(JNIEnv* env, jobject callback) : in DeviceCallback() function in android::uhid::DeviceCallback 69 DeviceCallback::~DeviceCallback() { in ~DeviceCallback() 74 void DeviceCallback::onDeviceError() { in onDeviceError() 80 void DeviceCallback::onDeviceOpen() { in onDeviceOpen() 86 JNIEnv* DeviceCallback::getJNIEnv() { in getJNIEnv() 94 std::unique_ptr<DeviceCallback> callback) { in open() 133 Device::Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback) : in Device() 214 std::unique_ptr<uhid::DeviceCallback> cb(new uhid::DeviceCallback(env, callback)); in openDevice()
|
/frameworks/base/media/java/android/media/midi/ |
D | 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) { 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/ |
D | Device.java | 48 byte[] descriptor, DeviceCallback callback); in nativeOpenDevice() 106 (byte[]) args.arg2, new DeviceCallback()); in handleMessage() 143 private class DeviceCallback { class in Device
|
/frameworks/base/media/tests/NativeMidiDemo/java/com/example/android/nativemididemo/ |
D | NativeMidi.java | 185 private MidiManager.DeviceCallback mMidiDeviceCallback = new MidiManager.DeviceCallback() {
|
/frameworks/base/config/ |
D | hiddenapi-public-dex.txt | 23623 Landroid/media/midi/MidiManager$DeviceCallback; 23624 Landroid/media/midi/MidiManager$DeviceCallback;-><init>()V 23625 Landroid/media/midi/MidiManager$DeviceCallback;->onDeviceAdded(Landroid/media/midi/MidiDeviceInfo;)V 23626 Landroid/media/midi/MidiManager$DeviceCallback;->onDeviceRemoved(Landroid/media/midi/MidiDeviceInfo… 23627 Landroid/media/midi/MidiManager$DeviceCallback;->onDeviceStatusChanged(Landroid/media/midi/MidiDevi… 23634 …MidiManager;->registerDeviceCallback(Landroid/media/midi/MidiManager$DeviceCallback;Landroid/os/Ha… 23635 …media/midi/MidiManager;->unregisterDeviceCallback(Landroid/media/midi/MidiManager$DeviceCallback;)V
|
/frameworks/base/api/ |
D | current.txt | 25667 …method public void registerDeviceCallback(android.media.midi.MidiManager.DeviceCallback, android.o… 25668 method public void unregisterDeviceCallback(android.media.midi.MidiManager.DeviceCallback); 25671 public static class MidiManager.DeviceCallback { 25672 ctor public MidiManager.DeviceCallback();
|