/frameworks/base/cmds/hid/jni/ |
D | com_android_commands_hid_Device.h | 27 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;
|
D | com_android_commands_hid_Device.cpp | 89 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/ |
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 | 69 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/ |
D | Device.java | 56 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/ |
D | MediaTransferManager.java | 87 private final LocalMediaManager.DeviceCallback mMediaDeviceCallback = 88 new LocalMediaManager.DeviceCallback() {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | MediaDeviceManagerTest.kt | 315 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/ |
D | MediaDeviceManager.kt | 120 ) : LocalMediaManager.DeviceCallback { in <lambda>()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | LocalMediaManagerTest.java | 80 private LocalMediaManager.DeviceCallback mCallback;
|
/frameworks/base/api/ |
D | current.txt | 28528 …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/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |