Home
last modified time | relevance | path

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

/frameworks/base/cmds/uinput/jni/
Dcom_android_commands_uinput_Device.h30 class DeviceCallback {
32 DeviceCallback(JNIEnv* env, jobject callback);
33 ~DeviceCallback();
53 std::unique_ptr<DeviceCallback> callback);
62 UinputDevice(int32_t id, android::base::unique_fd fd, std::unique_ptr<DeviceCallback> callback);
66 std::unique_ptr<DeviceCallback> mDeviceCallback;
Dcom_android_commands_uinput_Device.cpp65 DeviceCallback::DeviceCallback(JNIEnv* env, jobject callback) in DeviceCallback() function in android::uinput::DeviceCallback
70 DeviceCallback::~DeviceCallback() { in ~DeviceCallback()
75 void DeviceCallback::onDeviceError() { in onDeviceError()
81 void DeviceCallback::onDeviceConfigure(int handle) { in onDeviceConfigure()
87 void DeviceCallback::onDeviceVibrating(int value) { in onDeviceVibrating()
93 JNIEnv* DeviceCallback::getJNIEnv() { in getJNIEnv()
102 std::unique_ptr<DeviceCallback> callback) { in open()
148 std::unique_ptr<DeviceCallback> callback) in UinputDevice()
255 std::unique_ptr<uinput::DeviceCallback> cb = in openUinputDevice()
256 std::make_unique<uinput::DeviceCallback>(env, callback); in openUinputDevice()
/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.h26 class DeviceCallback {
28 DeviceCallback(JNIEnv* env, jobject callback);
29 ~DeviceCallback();
48 std::unique_ptr<DeviceCallback> callback);
59 Device(int32_t id, android::base::unique_fd fd, std::unique_ptr<DeviceCallback> callback);
62 std::unique_ptr<DeviceCallback> mDeviceCallback;
Dcom_android_commands_hid_Device.cpp86 DeviceCallback::DeviceCallback(JNIEnv* env, jobject callback) : in DeviceCallback() function in android::uhid::DeviceCallback
91 DeviceCallback::~DeviceCallback() { in ~DeviceCallback()
96 void DeviceCallback::onDeviceError() { in onDeviceError()
102 void DeviceCallback::onDeviceOpen() { in onDeviceOpen()
108 void DeviceCallback::onDeviceGetReport(uint32_t requestId, uint8_t reportId) { in onDeviceGetReport()
115 void DeviceCallback::onDeviceSetReport(uint32_t id, uint8_t rType, in onDeviceSetReport()
123 void DeviceCallback::onDeviceOutput(uint8_t rType, in onDeviceOutput()
131 JNIEnv* DeviceCallback::getJNIEnv() { in getJNIEnv()
140 std::unique_ptr<DeviceCallback> callback) { in open()
182 Device::Device(int32_t id, android::base::unique_fd fd, std::unique_ptr<DeviceCallback> callback) in Device()
[all …]
/frameworks/base/media/java/android/media/midi/
DMidiManager.java109 private ConcurrentHashMap<DeviceCallback,DeviceListener> mDeviceListeners =
110 new ConcurrentHashMap<DeviceCallback,DeviceListener>();
114 private final DeviceCallback mCallback;
118 DeviceListener(DeviceCallback callback, Executor executor, int transport) { in DeviceListener()
181 public static class DeviceCallback { class in MidiManager
246 public void registerDeviceCallback(DeviceCallback callback, Handler handler) { in registerDeviceCallback()
279 @NonNull Executor executor, @NonNull DeviceCallback callback) { in registerDeviceCallback()
295 public void unregisterDeviceCallback(DeviceCallback callback) { in unregisterDeviceCallback()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java79 private final Collection<DeviceCallback> mCallbacks = new CopyOnWriteArrayList<>();
107 public void registerCallback(DeviceCallback callback) { in registerCallback()
120 public void unregisterCallback(DeviceCallback callback) { in unregisterCallback()
207 for (DeviceCallback callback : getCallbacks()) { in dispatchSelectedDeviceStateChanged()
248 for (DeviceCallback callback : getCallbacks()) { in dispatchDeviceListUpdate()
254 for (DeviceCallback callback : getCallbacks()) { in dispatchDeviceAttributesChanged()
260 for (DeviceCallback callback : getCallbacks()) { in dispatchOnRequestFailed()
273 for (DeviceCallback callback : getCallbacks()) { in dispatchAboutToConnectDeviceAdded()
283 for (DeviceCallback callback : getCallbacks()) { in dispatchAboutToConnectDeviceRemoved()
512 private Collection<DeviceCallback> getCallbacks() { in getCallbacks()
[all …]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DDevice.java80 DeviceCallback callback); in nativeOpenDevice()
179 new DeviceCallback()); in handleMessage()
231 private class DeviceCallback { class in Device
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DDevice.java66 DeviceCallback callback); in nativeOpenUinputDevice()
208 new DeviceCallback()); in handleMessage()
303 private class DeviceCallback { class in Device
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/
DLocalMediaRepositoryImplTest.kt48 private lateinit var deviceCallbackCaptor: ArgumentCaptor<LocalMediaManager.DeviceCallback>
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DLocalMediaRepository.kt56 object : LocalMediaManager.DeviceCallback { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDeviceManager.kt156 LocalMediaManager.DeviceCallback, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDeviceManagerTest.kt896 private fun captureCallback(): LocalMediaManager.DeviceCallback { in captureCallback()
897 val captor = ArgumentCaptor.forClass(LocalMediaManager.DeviceCallback::class.java) in captureCallback()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java83 private LocalMediaManager.DeviceCallback mCallback;
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java118 public class MediaOutputController implements LocalMediaManager.DeviceCallback,
/frameworks/base/core/api/
Dcurrent.txt26501 …ed public void registerDeviceCallback(android.media.midi.MidiManager.DeviceCallback, android.os.Ha…
26502 …t, @NonNull java.util.concurrent.Executor, @NonNull android.media.midi.MidiManager.DeviceCallback);
26503 method public void unregisterDeviceCallback(android.media.midi.MidiManager.DeviceCallback);
26508 public static class MidiManager.DeviceCallback {
26509 ctor public MidiManager.DeviceCallback();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt29156 …d/media/midi/MidiManager$DeviceListener;->mCallback:Landroid/media/midi/MidiManager$DeviceCallback;