/frameworks/base/media/java/android/media/ |
D | SRTRenderer.java | 24 private final Handler mEventHandler; field in SRTRenderer 32 SRTRenderer(Context mContext, Handler mEventHandler) { in SRTRenderer() argument 34 this.mRender = (mEventHandler == null); in SRTRenderer() 35 this.mEventHandler = mEventHandler; in SRTRenderer() 59 return new SRTTrack(mEventHandler, format); in createTrack() 71 private final Handler mEventHandler; field in SRTTrack 75 mEventHandler = null; in SRTTrack() 80 mEventHandler = eventHandler; in SRTTrack() 165 if (mEventHandler == null) { in updateView() 187 Message msg = mEventHandler.obtainMessage(MEDIA_TIMED_TEXT, 0 /* arg1 */, 0 /* arg2 */, in updateView() [all …]
|
D | JetPlayer.java | 107 private NativeEventHandler mEventHandler = null; field in JetPlayer 486 mEventHandler = new NativeEventHandler(this, handler.getLooper()); in setEventListener() 489 mEventHandler = new NativeEventHandler(this, mInitializationLooper); in setEventListener() 492 mEventHandler = null; in setEventListener() 574 if ((jet != null) && (jet.mEventHandler != null)) { in postEventFromNative() 576 jet.mEventHandler.obtainMessage(what, arg1, arg2, null); in postEventFromNative() 577 jet.mEventHandler.sendMessage(m); in postEventFromNative()
|
D | SoundPool.java | 126 private final AtomicReference<EventHandler> mEventHandler = new AtomicReference<>(null); field in SoundPool 497 mEventHandler.set(null); in setOnLoadCompleteListener() 503 mEventHandler.set(new EventHandler(looper, listener)); in setOnLoadCompleteListener() 505 mEventHandler.set(new EventHandler(looper, listener)); in setOnLoadCompleteListener() 507 mEventHandler.set(null); in setOnLoadCompleteListener() 531 Handler eventHandler = soundPool.mEventHandler.get(); in postEventFromNative()
|
D | RemoteController.java | 115 mEventHandler = new EventHandler(this, looper); in RemoteController() 119 mEventHandler = new EventHandler(this, l); in RemoteController() 502 private final EventHandler mEventHandler; field in RemoteController 604 sendMsg(mEventHandler, MSG_CLIENT_CHANGE, SENDMSG_REPLACE, in updateController() 613 sendMsg(mEventHandler, MSG_CLIENT_CHANGE, SENDMSG_REPLACE, in updateController() 616 mCurrentSession.registerCallback(mSessionCb, mEventHandler); in updateController() 619 sendMsg(mEventHandler, MSG_NEW_PLAYBACK_STATE, SENDMSG_REPLACE, in updateController() 623 sendMsg(mEventHandler, MSG_NEW_MEDIA_METADATA, SENDMSG_REPLACE, in updateController()
|
D | MediaCas.java | 122 private EventHandler mEventHandler; field in MediaCas 364 if (mEventHandler != null) { 365 mEventHandler.sendMessage(mEventHandler.obtainMessage( 373 if (mEventHandler != null) { 374 Message msg = mEventHandler.obtainMessage(); 382 mEventHandler.sendMessage(msg); 388 if (mEventHandler != null) { 389 mEventHandler.sendMessage(mEventHandler.obtainMessage( 405 mEventHandler.sendMessage(mEventHandler.obtainMessage( 858 mEventHandler = null; in setEventListener() [all …]
|
D | MediaRecorder.java | 126 private EventHandler mEventHandler; field in MediaRecorder 155 mEventHandler = new EventHandler(this, looper); in MediaRecorder() 157 mEventHandler = new EventHandler(this, looper); in MediaRecorder() 159 mEventHandler = null; in MediaRecorder() 1361 mEventHandler.removeCallbacksAndMessages(null); in reset() 1708 handler != null ? handler : mEventHandler)); in addOnRoutingChangedListener() 1874 if (mr.mEventHandler != null) { in postEventFromNative() 1875 Message m = mr.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative() 1876 mr.mEventHandler.sendMessage(m); in postEventFromNative()
|
D | MediaPlayer.java | 641 private EventHandler mEventHandler; field in MediaPlayer 677 mEventHandler = new EventHandler(this, looper); in MediaPlayer() 679 mEventHandler = new EventHandler(this, looper); in MediaPlayer() 681 mEventHandler = null; in MediaPlayer() 1609 handler != null ? handler : mEventHandler)); in addOnRoutingChangedListener() 2245 if (mEventHandler != null) { in reset() 2246 mEventHandler.removeCallbacksAndMessages(null); in reset() 2767 return timeProvider.mEventHandler.getLooper(); in setSubtitleAnchor() 2888 Handler h = mTimeProvider.mEventHandler; in addSubtitleSource() 2902 if (mEventHandler != null) { in addSubtitleSource() [all …]
|
D | AudioRecord.java | 264 private NativeEventHandler mEventHandler = null; field in AudioRecord 1672 mEventHandler = new NativeEventHandler(this, handler.getLooper()); in setRecordPositionUpdateListener() 1675 mEventHandler = new NativeEventHandler(this, mInitializationLooper); in setRecordPositionUpdateListener() 1678 mEventHandler = null; in setRecordPositionUpdateListener() 2212 if (recorder.mEventHandler != null) { in postEventFromNative() 2214 recorder.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative() 2215 recorder.mEventHandler.sendMessage(m); in postEventFromNative()
|
D | MediaCodec.java | 1707 private EventHandler mEventHandler; field in MediaCodec 1946 mEventHandler = new EventHandler(this, looper); in MediaCodec() 1948 mEventHandler = new EventHandler(this, looper); in MediaCodec() 1950 mEventHandler = null; in MediaCodec() 1952 mCallbackHandler = mEventHandler; in MediaCodec() 1953 mOnFirstTunnelFrameReadyHandler = mEventHandler; in MediaCodec() 1954 mOnFrameRenderedHandler = mEventHandler; in MediaCodec() 4882 return mEventHandler; in getEventHandlerOn() 4937 EventHandler handler = mEventHandler; in postEventFromNative()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityInputFilterTest.java | 81 private final SparseArray<EventStreamTransformation> mEventHandler = new SparseArray<>(0); field in AccessibilityInputFilterTest 150 mA11yInputFilter = new AccessibilityInputFilter(context, mAms, mEventHandler); in setUp() 168 assertEquals(0, mEventHandler.size()); in testEventHandler_shouldChangeAfterSetUserAndEnabledFeatures() 172 assertEquals(1, mEventHandler.size()); in testEventHandler_shouldChangeAfterSetUserAndEnabledFeatures() 175 assertEquals(0, mEventHandler.size()); in testEventHandler_shouldChangeAfterSetUserAndEnabledFeatures() 184 assertEquals(1, mEventHandler.size()); in testEventHandler_shouldChangeAfterOnDisplayChanged() 189 assertEquals(4, mEventHandler.size()); in testEventHandler_shouldChangeAfterOnDisplayChanged() 193 assertEquals(2, mEventHandler.size()); in testEventHandler_shouldChangeAfterOnDisplayChanged() 202 assertEquals(2, mEventHandler.size()); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() 206 EventStreamTransformation next = mEventHandler.get(DEFAULT_DISPLAY); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 155 private final SparseArray<EventStreamTransformation> mEventHandler; field in AccessibilityInputFilter 190 mEventHandler = eventHandler; in AccessibilityInputFilter() 228 if (mEventHandler.size() == 0) { in onInputEvent() 302 for (int i = 0; i < mEventHandler.size(); i++) { in clearEventsForAllEventHandlers() 303 final EventStreamTransformation eventHandler = mEventHandler.valueAt(i); in clearEventsForAllEventHandlers() 331 mEventHandler.get(Display.DEFAULT_DISPLAY).onKeyEvent(event, policyFlags); in processKeyEvent() 341 mEventHandler.get(isDisplayIdValid(displayId) ? displayId : Display.DEFAULT_DISPLAY) in handleMotionEvent() 347 return mEventHandler.get(displayId) != null; in isDisplayIdValid() 402 for (int i = 0; i < mEventHandler.size(); i++) { in notifyAccessibilityEvent() 403 final EventStreamTransformation eventHandler = mEventHandler.valueAt(i); in notifyAccessibilityEvent() [all …]
|
/frameworks/base/drm/java/android/drm/ |
D | DrmManagerClient.java | 129 private EventHandler mEventHandler; field in DrmManagerClient 295 if (mEventHandler != null) { in close() 303 mEventHandler = null; in close() 533 if (null != mEventHandler) { in processDrmInfo() 534 Message msg = mEventHandler.obtainMessage(ACTION_PROCESS_DRM_INFO, drmInfo); in processDrmInfo() 535 result = (mEventHandler.sendMessage(msg)) ? ERROR_NONE : result; in processDrmInfo() 760 if (null != mEventHandler) { in removeAllRights() 761 Message msg = mEventHandler.obtainMessage(ACTION_REMOVE_ALL_RIGHTS); in removeAllRights() 762 result = (mEventHandler.sendMessage(msg)) ? ERROR_NONE : result; in removeAllRights() 935 if (mEventHandler == null && mInfoHandler == null) { in createEventThreads() [all …]
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicy.java | 152 mEventHandler = new EventHandler(this, looper); in AudioPolicy() 154 mEventHandler = null; in AudioPolicy() 957 private final EventHandler mEventHandler; field in AudioPolicy 1028 if (mEventHandler != null) { in sendMsg() 1029 mEventHandler.sendEmptyMessage(msg); in sendMsg() 1034 if (mEventHandler != null) { in sendMsg() 1035 mEventHandler.sendMessage( in sendMsg() 1036 mEventHandler.obtainMessage(msg, i /*arg1*/, 0 /*arg2, ignored*/, obj)); in sendMsg()
|
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/ |
D | WifiNl80211Manager.java | 100 private Handler mEventHandler; field in WifiNl80211Manager 393 mEventHandler = new Handler(context.getMainLooper()); in WifiNl80211Manager() 541 TIMEOUT_ALARM_TAG, mTimeoutCallback, mEventHandler); in SendMgmtFrameEvent() 548 mEventHandler.post(() -> runIfFirstCall(() -> { in OnAck() 563 mEventHandler.post(() -> runIfFirstCall(() -> { in OnFailure() 582 mEventHandler.post(() -> { in binderDied()
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 177 private EventHandler mEventHandler; field in Camera 480 mEventHandler = new EventHandler(this, looper); in cameraInit() 482 mEventHandler = new EventHandler(this, looper); in cameraInit() 484 mEventHandler = null; in cameraInit() 1232 if (c.mEventHandler != null) { in postEventFromNative() 1233 Message m = c.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative() 1234 c.mEventHandler.sendMessage(m); in postEventFromNative() 1359 mEventHandler.removeMessages(CAMERA_MSG_FOCUS); in cancelAutoFocus()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvInputManager.java | 2777 if (p.mEventHandler.getLooper().isCurrentThread()) { 2784 Message msg = Message.obtain(p.mEventHandler, p); 2811 p.mEventHandler = handler; 2885 public Handler mEventHandler; 2892 mEventHandler = null; 2900 synchronized (mEventHandler) {
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 17862 Landroid/drm/DrmManagerClient;->mEventHandler:Landroid/drm/DrmManagerClient$EventHandler; 22505 Landroid/hardware/Camera;->mEventHandler:Landroid/hardware/Camera$EventHandler; 27364 Landroid/media/audiopolicy/AudioPolicy;->mEventHandler:Landroid/media/audiopolicy/AudioPolicy$Event… 27507 Landroid/media/AudioRecord;->mEventHandler:Landroid/media/AudioRecord$NativeEventHandler; 29520 Landroid/media/JetPlayer;->mEventHandler:Landroid/media/JetPlayer$NativeEventHandler; 29623 Landroid/media/MediaCas;->mEventHandler:Landroid/media/MediaCas$EventHandler; 29724 Landroid/media/MediaCodec;->mEventHandler:Landroid/media/MediaCodec$EventHandler; 30046 Landroid/media/MediaDrm;->mEventHandler:Landroid/media/MediaDrm$EventHandler; 30421 Landroid/media/MediaPlayer$TimeProvider;->mEventHandler:Landroid/os/Handler; 30716 Landroid/media/MediaPlayer2Impl$TimeProvider;->mEventHandler:Landroid/media/MediaPlayer2Impl$TimePr… [all …]
|