/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() 164 if (mEventHandler == null) { in updateView() 187 Message msg = mEventHandler.obtainMessage(MEDIA_TIMED_TEXT, _, _, parcel); in updateView() [all …]
|
D | RemoteControlClient.java | 356 mEventHandler = new EventHandler(this, looper); in RemoteControlClient() 358 mEventHandler = new EventHandler(this, looper); in RemoteControlClient() 360 mEventHandler = null; in RemoteControlClient() 383 mEventHandler = new EventHandler(this, looper); in RemoteControlClient() 715 if ((mEventHandler == null) || (mPositionProvider == null) || !mNeedsPositionSync) { in onPositionDriftCheck() 733 mEventHandler.sendMessageDelayed( in onPositionDriftCheck() 734 mEventHandler.obtainMessage(MSG_POSITION_DRIFT_CHECK), in onPositionDriftCheck() 739 mEventHandler.removeMessages(MSG_POSITION_DRIFT_CHECK); in onPositionDriftCheck() 860 if ((mPositionProvider != null) && (mEventHandler != null) in setOnGetPlaybackPositionListener() 864 mEventHandler.sendMessageDelayed( in setOnGetPlaybackPositionListener() [all …]
|
D | RemoteController.java | 128 mEventHandler = new EventHandler(this, looper); in RemoteController() 132 mEventHandler = new EventHandler(this, l); in RemoteController() 568 sendMsg(rc.mEventHandler, MSG_NEW_PENDING_INTENT, SENDMSG_REPLACE, in setCurrentClientId() 572 sendMsg(rc.mEventHandler, MSG_CLIENT_CHANGE, SENDMSG_REPLACE, in setCurrentClientId() 582 sendMsg(rc.mEventHandler, MSG_DISPLAY_ENABLE, SENDMSG_REPLACE, in setEnabled() 607 sendMsg(rc.mEventHandler, MSG_NEW_PLAYBACK_INFO, SENDMSG_REPLACE, in setPlaybackState() 623 sendMsg(rc.mEventHandler, MSG_NEW_TRANSPORT_INFO, SENDMSG_REPLACE, in setTransportControlInfo() 642 sendMsg(rc.mEventHandler, MSG_NEW_METADATA, SENDMSG_QUEUE, in setMetadata() 660 sendMsg(rc.mEventHandler, MSG_NEW_METADATA, SENDMSG_QUEUE, in setArtwork() 686 sendMsg(rc.mEventHandler, MSG_NEW_METADATA, SENDMSG_QUEUE, in setAllMetadata() [all …]
|
D | MediaRecorder.java | 91 private EventHandler mEventHandler; field in MediaRecorder 102 mEventHandler = new EventHandler(this, looper); in MediaRecorder() 104 mEventHandler = new EventHandler(this, looper); in MediaRecorder() 106 mEventHandler = null; in MediaRecorder() 783 mEventHandler.removeCallbacksAndMessages(null); in reset() 1027 if (mr.mEventHandler != null) { in postEventFromNative() 1028 Message m = mr.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative() 1029 mr.mEventHandler.sendMessage(m); in postEventFromNative()
|
D | JetPlayer.java | 106 private NativeEventHandler mEventHandler = null; field in JetPlayer 481 mEventHandler = new NativeEventHandler(this, handler.getLooper()); in setEventListener() 484 mEventHandler = new NativeEventHandler(this, mInitializationLooper); in setEventListener() 487 mEventHandler = null; in setEventListener() 568 if ((jet != null) && (jet.mEventHandler != null)) { in postEventFromNative() 570 jet.mEventHandler.obtainMessage(what, arg1, arg2, null); in postEventFromNative() 571 jet.mEventHandler.sendMessage(m); in postEventFromNative()
|
D | MediaDrm.java | 103 private EventHandler mEventHandler; field in MediaDrm 170 mEventHandler = new EventHandler(this, looper); in MediaDrm() 172 mEventHandler = new EventHandler(this, looper); in MediaDrm() 174 mEventHandler = null; in MediaDrm() 339 if (md.mEventHandler != null) { 340 Message m = md.mEventHandler.obtainMessage(DRM_EVENT, eventType, extra, obj); 341 md.mEventHandler.sendMessage(m);
|
D | SoundPool.java | 518 private EventHandler mEventHandler; field in SoundPool.SoundPoolImpl 659 mEventHandler = new EventHandler(mProxy, looper); in setOnLoadCompleteListener() 661 mEventHandler = new EventHandler(mProxy, looper); in setOnLoadCompleteListener() 663 mEventHandler = null; in setOnLoadCompleteListener() 666 mEventHandler = null; in setOnLoadCompleteListener() 706 if (soundPoolImpl.mEventHandler != null) { in postEventFromNative() 707 Message m = soundPoolImpl.mEventHandler.obtainMessage(msg, arg1, arg2, obj); in postEventFromNative() 708 soundPoolImpl.mEventHandler.sendMessage(m); in postEventFromNative()
|
D | MediaCodec.java | 329 private EventHandler mEventHandler; field in MediaCodec 478 mEventHandler = new EventHandler(this, looper); in MediaCodec() 480 mEventHandler = new EventHandler(this, looper); in MediaCodec() 482 mEventHandler = null; in MediaCodec() 631 if (mEventHandler != null) { in stop() 632 mEventHandler.removeMessages(EVENT_CALLBACK); in stop() 633 mEventHandler.removeMessages(EVENT_SET_CALLBACK); in stop() 1607 if (mEventHandler != null) { in setCallback() 1609 Message msg = mEventHandler.obtainMessage(EVENT_SET_CALLBACK, 0, 0, cb); in setCallback() 1610 mEventHandler.sendMessage(msg); in setCallback() [all …]
|
D | AudioRecord.java | 177 private NativeEventHandler mEventHandler = null; field in AudioRecord 777 mEventHandler = new NativeEventHandler(this, handler.getLooper()); in setRecordPositionUpdateListener() 780 mEventHandler = new NativeEventHandler(this, mInitializationLooper); in setRecordPositionUpdateListener() 783 mEventHandler = null; in setRecordPositionUpdateListener() 902 if (recorder.mEventHandler != null) { in postEventFromNative() 904 recorder.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative() 905 recorder.mEventHandler.sendMessage(m); in postEventFromNative()
|
D | MediaPlayer.java | 598 private EventHandler mEventHandler; field in MediaPlayer 617 mEventHandler = new EventHandler(this, looper); in MediaPlayer() 619 mEventHandler = new EventHandler(this, looper); in MediaPlayer() 621 mEventHandler = null; in MediaPlayer() 1506 if (mEventHandler != null) { in reset() 1507 mEventHandler.removeCallbacksAndMessages(null); in reset() 2024 if (mEventHandler != null) { in addSubtitleSource() 2025 Message m = mEventHandler.obtainMessage(MEDIA_INFO, res, 0, null); in addSubtitleSource() 2026 mEventHandler.sendMessage(m); in addSubtitleSource() 2210 mSubtitleController.registerRenderer(new SRTRenderer(context, mEventHandler)); in addTimedTextSource() [all …]
|
D | MediaFocusControl.java | 77 private final MediaEventHandler mEventHandler; field in MediaFocusControl 88 mEventHandler = new MediaEventHandler(looper); in MediaFocusControl() 134 super(mEventHandler); in NotificationListenerObserver() 233 sendMsg(mEventHandler, MSG_REEVALUATE_RCD, SENDMSG_QUEUE, 0, 0, null, 0); in postReevaluateRemoteControlDisplays() 272 sendMsg(mEventHandler, MSG_RCDISPLAY_INIT_INFO, SENDMSG_QUEUE, in onReevaluateRemoteControlDisplays() 738 null, mKeyEventDone, mEventHandler, Activity.RESULT_OK, null, null); in dispatchMediaKeyEventForCalls() 763 keyIntent, this, mEventHandler); in dispatchMediaKeyEvent() 778 mEventHandler, Activity.RESULT_OK, null, null); in dispatchMediaKeyEvent() 1339 mEventHandler.sendMessage( mEventHandler.obtainMessage(MSG_RCDISPLAY_CLEAR) ); in clearRemoteControlDisplay_syncPrs() 1369 mEventHandler.sendMessage( mEventHandler.obtainMessage(MSG_RCDISPLAY_UPDATE, in updateRemoteControlDisplay_syncPrs() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 101 private EventStreamTransformation mEventHandler; field in AccessibilityInputFilter 162 if (mEventHandler == null) { in onMotionEvent() 169 mEventHandler.clear(); in onMotionEvent() 178 mEventHandler.clear(); in onMotionEvent() 281 if (mEventHandler != null) { in handleMotionEvent() 284 mEventHandler.onMotionEvent(transformedEvent, event, policyFlags); in handleMotionEvent() 326 if (mEventHandler != null) { in notifyAccessibilityEvent() 327 mEventHandler.onAccessibilityEvent(event); in notifyAccessibilityEvent() 335 mEventHandler = mScreenMagnifier = new ScreenMagnifier(mContext, in enableFeatures() 337 mEventHandler.setNext(this); in enableFeatures() [all …]
|
/frameworks/base/core/java/android/net/http/ |
D | Request.java | 52 EventHandler mEventHandler; field in Request 112 mEventHandler = eventHandler; in Request() 160 return mEventHandler; in getEventHandler() 259 mEventHandler.status(v.getMajor(), v.getMinor(), in readResponse() 261 mEventHandler.headers(header); in readResponse() 319 mEventHandler.data(buf, count); in readResponse() 329 mEventHandler.data(buf, count); in readResponse() 339 mEventHandler.data(buf, count); in readResponse() 351 mEventHandler.endData(); in readResponse() 520 mEventHandler.error( in error()
|
D | HttpsConnection.java | 276 req.mEventHandler.status(version.getMajor(), in openConnection() 280 req.mEventHandler.headers(headers); in openConnection() 281 req.mEventHandler.endData(); in openConnection()
|
D | RequestHandle.java | 454 mUrl, mUri, mMethod, mHeaders, mRequest.mEventHandler, in createAndQueueNewRequest() 462 mUrl, mUri, mMethod, mHeaders, mRequest.mEventHandler, in createAndQueueNewRequest()
|
D | Connection.java | 228 req.mEventHandler.certificate(mCertificate); in processRequests() 444 req.mEventHandler.error(errorId, error); in httpFailure()
|
/frameworks/base/drm/java/android/drm/ |
D | DrmManagerClient.java | 123 private EventHandler mEventHandler; field in DrmManagerClient 284 if (mEventHandler != null) { in release() 292 mEventHandler = null; in release() 503 if (null != mEventHandler) { in processDrmInfo() 504 Message msg = mEventHandler.obtainMessage(ACTION_PROCESS_DRM_INFO, drmInfo); in processDrmInfo() 505 result = (mEventHandler.sendMessage(msg)) ? ERROR_NONE : result; in processDrmInfo() 730 if (null != mEventHandler) { in removeAllRights() 731 Message msg = mEventHandler.obtainMessage(ACTION_REMOVE_ALL_RIGHTS); in removeAllRights() 732 result = (mEventHandler.sendMessage(msg)) ? ERROR_NONE : result; in removeAllRights() 904 if (mEventHandler == null && mInfoHandler == null) { in createEventThreads() [all …]
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 159 private EventHandler mEventHandler; field in Camera 457 mEventHandler = new EventHandler(this, looper); in cameraInitVersion() 459 mEventHandler = new EventHandler(this, looper); in cameraInitVersion() 461 mEventHandler = null; in cameraInitVersion() 1172 if (c.mEventHandler != null) { in postEventFromNative() 1173 Message m = c.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative() 1174 c.mEventHandler.sendMessage(m); in postEventFromNative() 1293 mEventHandler.removeMessages(CAMERA_MSG_FOCUS); in cancelAutoFocus()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvInputManager.java | 1627 if (p.mEventHandler.getLooper().isCurrentThread()) { 1634 Message msg = Message.obtain(p.mEventHandler, p); 1661 p.mEventHandler = handler; 1735 public Handler mEventHandler; 1742 mEventHandler = null; 1750 synchronized (mEventHandler) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | RttService.java | 393 private WifiNative.RttEventHandler mEventHandler = new WifiNative.RttEventHandler() { field in RttService.RttServiceImpl 404 if (WifiNative.requestRtt(request.params, mEventHandler)) { in issueNextRequest()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 90 mEventHandler(handler), in HWComposer() 303 mEventHandler.onVSyncReceived(disp, timestamp); in vsync() 314 mEventHandler.onHotplugReceived(disp, bool(connected)); in hotplug() 1262 mHwc.mEventHandler.onVSyncReceived(0, next_vsync); in threadLoop()
|
D | HWComposer.h | 359 EventHandler& mEventHandler; variable
|