Home
last modified time | relevance | path

Searched refs:EventHandler (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
DEventBus.java72 class EventHandler { class
77 EventHandler(Subscriber subscriber, EventHandlerMethod method, int priority) { in EventHandler() method in EventHandler
366 …private static final Comparator<EventHandler> EVENT_HANDLER_COMPARATOR = new Comparator<EventHandl…
368 public int compare(EventHandler h1, EventHandler h2) {
394 … private HashMap<Class<? extends Event>, ArrayList<EventHandler>> mEventTypeMap = new HashMap<>();
530 ArrayList<EventHandler> eventHandlers = mEventTypeMap.get(method.eventType); in unregister()
696 ArrayList<EventHandler> handlers = mEventTypeMap.get(clz); in dumpInternal()
697 for (EventHandler handler : handlers) { in dumpInternal()
743 ArrayList<EventHandler> eventTypeHandlers = mEventTypeMap.get(method.eventType); in registerSubscriber()
744 eventTypeHandlers.add(new EventHandler(sub, method, priority)); in registerSubscriber()
[all …]
/frameworks/base/media/java/android/media/
DMediaDrm.java125 private EventHandler mEventHandler;
126 private EventHandler mOnKeyStatusChangeEventHandler;
127 private EventHandler mOnExpirationUpdateEventHandler;
205 mEventHandler = new EventHandler(this, looper); in MediaDrm()
207 mEventHandler = new EventHandler(this, looper); in MediaDrm()
278 mEventHandler = new EventHandler(this, looper);
320 mEventHandler = new EventHandler(this, looper);
506 private class EventHandler extends Handler
510 public EventHandler(@NonNull MediaDrm md, @NonNull Looper looper) {
DSoundPool.java127 private EventHandler mEventHandler;
484 mEventHandler = new EventHandler(looper); in setOnLoadCompleteListener()
486 mEventHandler = new EventHandler(looper); in setOnLoadCompleteListener()
569 private final class EventHandler extends Handler { class in SoundPool
570 public EventHandler(Looper looper) { in EventHandler() method in SoundPool.EventHandler
DMediaCodec.java1582 private EventHandler mEventHandler;
1583 private EventHandler mOnFrameRenderedHandler;
1584 private EventHandler mCallbackHandler;
1598 private class EventHandler extends Handler { class in MediaCodec
1601 public EventHandler(@NonNull MediaCodec codec, @NonNull Looper looper) { in EventHandler() method in MediaCodec.EventHandler
1765 mEventHandler = new EventHandler(this, looper); in MediaCodec()
1767 mEventHandler = new EventHandler(this, looper); in MediaCodec()
3208 EventHandler newHandler = getEventHandlerOn(handler, mCallbackHandler); in setCallback()
3298 EventHandler newHandler = getEventHandlerOn(handler, mOnFrameRenderedHandler); in setOnFrameRenderedListener()
3312 private EventHandler getEventHandlerOn( in getEventHandlerOn()
[all …]
DMediaRecorder.java93 private EventHandler mEventHandler;
104 mEventHandler = new EventHandler(this, looper); in MediaRecorder()
106 mEventHandler = new EventHandler(this, looper); in MediaRecorder()
1090 private class EventHandler extends Handler class in MediaRecorder
1094 public EventHandler(MediaRecorder mr, Looper looper) { in EventHandler() method in MediaRecorder.EventHandler
DRemoteController.java114 mEventHandler = new EventHandler(this, looper); in RemoteController()
118 mEventHandler = new EventHandler(this, l); in RemoteController()
500 private final EventHandler mEventHandler;
505 private class EventHandler extends Handler { class in RemoteController
507 public EventHandler(RemoteController rc, Looper looper) { in EventHandler() method in RemoteController.EventHandler
DMediaPlayer.java609 private EventHandler mEventHandler;
629 mEventHandler = new EventHandler(this, looper); in MediaPlayer()
631 mEventHandler = new EventHandler(this, looper); in MediaPlayer()
2842 private class EventHandler extends Handler class in MediaPlayer
2846 public EventHandler(MediaPlayer mp, Looper looper) { in EventHandler() method in MediaPlayer.EventHandler
3579 mEventHandler = new EventHandler(looper); in TimeProvider()
3912 private class EventHandler extends Handler { class in MediaPlayer.TimeProvider
3913 public EventHandler(Looper looper) { in EventHandler() method in MediaPlayer.TimeProvider.EventHandler
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h70 class EventHandler {
75 virtual ~EventHandler() {} in ~EventHandler()
82 void setEventHandler(EventHandler* handler);
211 EventHandler* mEventHandler;
DHWComposer_hwc1.h61 class EventHandler {
66 virtual ~EventHandler() {} in ~EventHandler()
77 EventHandler& handler);
381 EventHandler& mEventHandler;
DHWComposer.cpp84 void HWComposer::setEventHandler(EventHandler* handler) in setEventHandler()
DHWComposer_hwc1.cpp88 EventHandler& handler) in HWComposer()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java112 mEventHandler = new EventHandler(this, looper); in AudioPolicy()
457 private final EventHandler mEventHandler;
463 private class EventHandler extends Handler { class in AudioPolicy
464 public EventHandler(AudioPolicy ap, Looper looper) { in EventHandler() method in AudioPolicy.EventHandler
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java124 private EventHandler mEventHandler;
129 private class EventHandler extends Handler { class in DrmManagerClient
131 public EventHandler(Looper looper) { in EventHandler() method in DrmManagerClient.EventHandler
918 mEventHandler = new EventHandler(mEventThread.getLooper()); in createEventThreads()
/frameworks/base/core/java/android/hardware/
DCamera.java161 private EventHandler mEventHandler;
458 mEventHandler = new EventHandler(this, looper); in cameraInitVersion()
460 mEventHandler = new EventHandler(this, looper); in cameraInitVersion()
1066 private class EventHandler extends Handler class in Camera
1070 public EventHandler(Camera c, Looper looper) { in EventHandler() method in Camera.EventHandler
/frameworks/av/media/libstagefright/omx/
DSoftOMXComponent.cpp91 (*mCallbacks->EventHandler)( in notify()
/frameworks/native/include/media/openmax/
DOMX_Core.h581 OMX_ERRORTYPE (*EventHandler)( member
/frameworks/base/tests/CoreTests/android/core/
DTestEventHandler.java30 public class TestEventHandler implements EventHandler {
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h91 private HWComposer::EventHandler
DSurfaceFlinger_hwc1.cpp479 *static_cast<HWComposer::EventHandler *>(this)); in init()
DSurfaceFlinger.cpp488 mHwc->setEventHandler(static_cast<HWComposer::EventHandler*>(this)); in init()
/frameworks/base/
Dcompiled-classes-phone1164 android.drm.DrmManagerClient$EventHandler
1377 android.hardware.Camera$EventHandler
2411 android.media.MediaCodec$EventHandler
2429 android.media.MediaDrm$EventHandler
2451 android.media.MediaPlayer$EventHandler
2461 android.media.MediaPlayer$TimeProvider$EventHandler
2465 android.media.MediaRecorder$EventHandler
2515 android.media.SoundPool$EventHandler