Home
last modified time | relevance | path

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

/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.h27 class DeviceCallback {
29 DeviceCallback(JNIEnv* env, jobject callback);
30 ~DeviceCallback();
47 std::unique_ptr<DeviceCallback> callback);
58 Device(int32_t id, android::base::unique_fd fd, std::unique_ptr<DeviceCallback> callback);
61 std::unique_ptr<DeviceCallback> mDeviceCallback;
Dcom_android_commands_hid_Device.cpp89 DeviceCallback::DeviceCallback(JNIEnv* env, jobject callback) : in DeviceCallback() function in android::uhid::DeviceCallback
94 DeviceCallback::~DeviceCallback() { in ~DeviceCallback()
99 void DeviceCallback::onDeviceError() { in onDeviceError()
105 void DeviceCallback::onDeviceOpen() { in onDeviceOpen()
111 void DeviceCallback::onDeviceGetReport(uint32_t requestId, uint8_t reportId) { in onDeviceGetReport()
118 void DeviceCallback::onDeviceOutput(const std::vector<uint8_t>& data) { in onDeviceOutput()
125 JNIEnv* DeviceCallback::getJNIEnv() { in getJNIEnv()
133 std::unique_ptr<DeviceCallback> callback) { in open()
176 Device::Device(int32_t id, android::base::unique_fd fd, std::unique_ptr<DeviceCallback> callback) in Device()
307 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/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java69 private final Collection<DeviceCallback> mCallbacks = new CopyOnWriteArrayList<>();
97 public void registerCallback(DeviceCallback callback) { in registerCallback()
104 public void unregisterCallback(DeviceCallback callback) { in unregisterCallback()
190 for (DeviceCallback callback : getCallbacks()) { in dispatchSelectedDeviceStateChanged()
209 for (DeviceCallback callback : getCallbacks()) { in dispatchDeviceListUpdate()
215 for (DeviceCallback callback : getCallbacks()) { in dispatchDeviceAttributesChanged()
221 for (DeviceCallback callback : getCallbacks()) { in dispatchOnRequestFailed()
443 private Collection<DeviceCallback> getCallbacks() { in getCallbacks()
604 public interface DeviceCallback { interface in LocalMediaManager
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DDevice.java56 byte[] descriptor, DeviceCallback callback); in nativeOpenDevice()
119 args.argi4, (byte[]) args.arg2, new DeviceCallback()); in handleMessage()
163 private class DeviceCallback { class in Device
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DMediaTransferManager.java87 private final LocalMediaManager.DeviceCallback mMediaDeviceCallback =
88 new LocalMediaManager.DeviceCallback() {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDeviceManagerTest.kt315 fun captureCallback(): LocalMediaManager.DeviceCallback { in eq()
316 val captor = ArgumentCaptor.forClass(LocalMediaManager.DeviceCallback::class.java) in eq()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDeviceManager.kt120 ) : LocalMediaManager.DeviceCallback { in <lambda>()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java80 private LocalMediaManager.DeviceCallback mCallback;
/frameworks/base/api/
Dcurrent.txt28528 …method public void registerDeviceCallback(android.media.midi.MidiManager.DeviceCallback, android.o…
28529 method public void unregisterDeviceCallback(android.media.midi.MidiManager.DeviceCallback);
28532 public static class MidiManager.DeviceCallback {
28533 ctor public MidiManager.DeviceCallback();
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...