Searched refs:DeviceCallback (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/cmds/hid/jni/ |
D | com_android_commands_hid_Device.h | 25 class DeviceCallback { 27 DeviceCallback(JNIEnv* env, jobject callback); 28 ~DeviceCallback(); 43 std::vector<uint8_t> descriptor, std::unique_ptr<DeviceCallback> callback); 45 Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback); 57 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 void DeviceCallback::onDeviceGetReport(uint32_t requestId, uint8_t reportId) { in onDeviceGetReport() 93 JNIEnv* DeviceCallback::getJNIEnv() { in getJNIEnv() 100 std::vector<uint8_t> descriptor, std::unique_ptr<DeviceCallback> callback) { in open() 144 Device::Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback) : in Device() 251 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/packages/SettingsLib/src/com/android/settingslib/media/ |
D | LocalMediaManager.java | 55 private final Collection<DeviceCallback> mCallbacks = new ArrayList<>(); 73 public void registerCallback(DeviceCallback callback) { in registerCallback() 82 public void unregisterCallback(DeviceCallback callback) { in unregisterCallback() 147 for (DeviceCallback callback : mCallbacks) { in dispatchSelectedDeviceStateChanged() 182 for (DeviceCallback callback : mCallbacks) { in dispatchDeviceListUpdate() 309 public interface DeviceCallback { interface in LocalMediaManager
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
D | Device.java | 52 byte[] descriptor, DeviceCallback callback); in nativeOpenDevice() 113 (byte[]) args.arg2, new DeviceCallback()); in handleMessage() 157 private class DeviceCallback { class in Device
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | LocalMediaManagerTest.java | 62 private LocalMediaManager.DeviceCallback mCallback;
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 27321 …method public void registerDeviceCallback(android.media.midi.MidiManager.DeviceCallback, android.o… 27322 method public void unregisterDeviceCallback(android.media.midi.MidiManager.DeviceCallback); 27325 public static class MidiManager.DeviceCallback { 27326 ctor public MidiManager.DeviceCallback();
|
/frameworks/base/api/ |
D | current.txt | 27451 …method public void registerDeviceCallback(android.media.midi.MidiManager.DeviceCallback, android.o… 27452 method public void unregisterDeviceCallback(android.media.midi.MidiManager.DeviceCallback); 27455 public static class MidiManager.DeviceCallback { 27456 ctor public MidiManager.DeviceCallback();
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 39291 …d/media/midi/MidiManager$DeviceListener;->mCallback:Landroid/media/midi/MidiManager$DeviceCallback;
|