Home
last modified time | relevance | path

Searched refs:EventHandler (Results 1 – 23 of 23) 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/
DSoundPool.java127 private EventHandler mEventHandler;
499 mEventHandler = new EventHandler(looper); in setOnLoadCompleteListener()
501 mEventHandler = new EventHandler(looper); in setOnLoadCompleteListener()
537 private final class EventHandler extends Handler { class in SoundPool
538 public EventHandler(Looper looper) { in EventHandler() method in SoundPool.EventHandler
DMediaDrm.java126 private EventHandler mEventHandler;
127 private EventHandler mOnKeyStatusChangeEventHandler;
128 private EventHandler mOnExpirationUpdateEventHandler;
206 mEventHandler = new EventHandler(this, looper); in MediaDrm()
208 mEventHandler = new EventHandler(this, looper); in MediaDrm()
279 mEventHandler = new EventHandler(this, looper);
321 mEventHandler = new EventHandler(this, looper);
510 private class EventHandler extends Handler
514 public EventHandler(@NonNull MediaDrm md, @NonNull Looper looper) {
DMediaCas.java102 private EventHandler mEventHandler;
128 private class EventHandler extends Handler class in MediaCas
132 public EventHandler(Looper looper) { in EventHandler() method in MediaCas.EventHandler
149 EventHandler.MSG_CAS_EVENT, event, arg, data));
484 mEventHandler = new EventHandler(looper); in setEventListener()
DMediaCodec.java1592 private EventHandler mEventHandler;
1593 private EventHandler mOnFrameRenderedHandler;
1594 private EventHandler mCallbackHandler;
1608 private class EventHandler extends Handler { class in MediaCodec
1611 public EventHandler(@NonNull MediaCodec codec, @NonNull Looper looper) { in EventHandler() method in MediaCodec.EventHandler
1775 mEventHandler = new EventHandler(this, looper); in MediaCodec()
1777 mEventHandler = new EventHandler(this, looper); in MediaCodec()
3277 EventHandler newHandler = getEventHandlerOn(handler, mCallbackHandler); in setCallback()
3367 EventHandler newHandler = getEventHandlerOn(handler, mOnFrameRenderedHandler); in setOnFrameRenderedListener()
3381 private EventHandler getEventHandlerOn( in getEventHandlerOn()
[all …]
DMediaRecorder.java97 private EventHandler mEventHandler;
108 mEventHandler = new EventHandler(this, looper); in MediaRecorder()
110 mEventHandler = new EventHandler(this, looper); in MediaRecorder()
1189 private class EventHandler extends Handler class in MediaRecorder
1193 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.java627 private EventHandler mEventHandler;
661 mEventHandler = new EventHandler(this, looper); in MediaPlayer()
663 mEventHandler = new EventHandler(this, looper); in MediaPlayer()
3156 private class EventHandler extends Handler class in MediaPlayer
3160 public EventHandler(MediaPlayer mp, Looper looper) { in EventHandler() method in MediaPlayer.EventHandler
5161 mEventHandler = new EventHandler(looper); in TimeProvider()
5494 private class EventHandler extends Handler { class in MediaPlayer.TimeProvider
5495 public EventHandler(Looper looper) { in EventHandler() method in MediaPlayer.TimeProvider.EventHandler
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h68 class EventHandler {
75 virtual ~EventHandler() {} in ~EventHandler()
85 void setEventHandler(EventHandler* handler);
218 EventHandler* mEventHandler;
DHWComposer_hwc1.h61 class EventHandler {
68 virtual ~EventHandler() {} in ~EventHandler()
79 EventHandler& handler);
383 EventHandler& mEventHandler;
DHWComposer.cpp82 void HWComposer::setEventHandler(EventHandler* handler) in setEventHandler()
DHWComposer_hwc1.cpp88 EventHandler& handler) in HWComposer()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java115 mEventHandler = new EventHandler(this, looper); in AudioPolicy()
524 private final EventHandler mEventHandler;
532 private class EventHandler extends Handler { class in AudioPolicy
533 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
922 mEventHandler = new EventHandler(mEventThread.getLooper()); in createEventThreads()
/frameworks/base/core/java/android/hardware/
DCamera.java161 private EventHandler mEventHandler;
472 mEventHandler = new EventHandler(this, looper); in cameraInitVersion()
474 mEventHandler = new EventHandler(this, looper); in cameraInitVersion()
1080 private class EventHandler extends Handler class in Camera
1084 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.h102 private HWComposer::EventHandler
DSurfaceFlinger.cpp573 mHwc->setEventHandler(static_cast<HWComposer::EventHandler*>(this)); in init()
1293 mVrHwc->setEventHandler(static_cast<HWComposer::EventHandler*>(this)); in updateVrFlinger()
DSurfaceFlinger_hwc1.cpp536 *static_cast<HWComposer::EventHandler *>(this)); in init()
/frameworks/base/
Dcompiled-classes-phone2543 android.media.MediaCodec$EventHandler
2561 android.media.MediaDrm$EventHandler
2583 android.media.MediaPlayer$EventHandler
2591 android.media.MediaPlayer$TimeProvider$EventHandler
2595 android.media.MediaRecorder$EventHandler
2638 android.media.SoundPool$EventHandler
/frameworks/base/services/
Dprofile-classes1588 Landroid/media/SoundPool$EventHandler;