Home
last modified time | relevance | path

Searched refs:post (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/frameworks/base/core/tests/coretests/src/android/view/
DRunQueue.java46 view.post(new Runnable() { in onCreate()
57 view.post(runnable); in onCreate()
58 view.post(runnable); in onCreate()
59 view.post(runnable); in onCreate()
60 view.post(runnable); in onCreate()
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2CaptureCallbackForwarder.java43 mHandler.post(new Runnable() { in onCaptureCompleted()
53 mHandler.post(new Runnable() { in onCaptureFailed()
64 mHandler.post(new Runnable() { in onCaptureProgressed()
73 mHandler.post(new Runnable() { in onCaptureSequenceAborted()
83 mHandler.post(new Runnable() { in onCaptureSequenceCompleted()
93 mHandler.post(new Runnable() { in onCaptureStarted()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoderBase.cpp66 msg->post(); in configure()
76 msg->post(); in setRenderer()
88 (new AMessage(kWhatFlush, id()))->post(); in signalFlush()
94 msg->post(); in signalResume()
98 (new AMessage(kWhatShutdown, id()))->post(); in initiateShutdown()
115 msg->post(10 * 1000ll); in scheduleRequestBuffers()
196 notify->post(); in handleError()
DNuPlayerRenderer.cpp112 msg->post(); in queueBuffer()
121 msg->post(); in queueEOS()
144 msg->post(); in flush()
158 (new AMessage(kWhatAudioSinkChanged, id()))->post(); in signalAudioSinkChanged()
162 (new AMessage(kWhatDisableOffloadAudio, id()))->post(); in signalDisableOffloadAudio()
166 (new AMessage(kWhatEnableOffloadAudio, id()))->post(); in signalEnableOffloadAudio()
170 (new AMessage(kWhatPause, id()))->post(); in pause()
174 (new AMessage(kWhatResume, id()))->post(); in resume()
180 msg->post(); in setVideoFrameRate()
543 msg->post(delayUs); in postDrainAudioQueue_l()
[all …]
DHTTPLiveSource.cpp158 msg->post(); in selectTrack()
196 notify->post(); in onMessageReceived()
204 msg->post(delayUs > 0ll ? delayUs : 0ll); in onMessageReceived()
207 msg->post(1000000ll); in onMessageReceived()
280 notify->post(); in onSessionNotify()
DNuPlayer.cpp136 mMessage->post(); in execute()
207 msg->post(); in setDataSourceAsync()
265 msg->post(); in setDataSourceAsync()
284 msg->post(); in setDataSourceAsync()
288 (new AMessage(kWhatPrepare, id()))->post(); in prepareAsync()
304 msg->post(); in setVideoSurfaceTextureAsync()
310 msg->post(); in setAudioSink()
314 (new AMessage(kWhatStart, id()))->post(); in start()
318 (new AMessage(kWhatPause, id()))->post(); in pause()
332 (new AMessage(kWhatReset, id()))->post(); in resetAsync()
[all …]
DGenericSource.cpp295 msg->post(); in checkDrmStatus()
336 msg->post(); in prepareAsync()
394 (new AMessage(kWhatPrepareAsync, id()))->post(200000); in onPrepareAsync()
574 (new AMessage(kWhatStart, id()))->post(); in start()
600 (new AMessage(kWhatResume, id()))->post(); in resume()
636 msg->post(1000000ll); in schedulePollBuffering()
657 msg->post(); in notifyBufferingUpdate()
676 notify->post(); in startBufferingIfNecessary()
697 notify->post(); in stopBufferingIfNecessary()
715 notify->post(); in sendCacheStats()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceState.java179 mCurrentHandler.post(new Runnable() { in setCaptureResult()
186 mCurrentHandler.post(new Runnable() { in setCaptureResult()
226 mCurrentHandler.post(new Runnable() { in doStateTransition()
239 mCurrentHandler.post(new Runnable() { in doStateTransition()
257 mCurrentHandler.post(new Runnable() { in doStateTransition()
280 mCurrentHandler.post(new Runnable() { in doStateTransition()
299 mCurrentHandler.post(new Runnable() { in doStateTransition()
306 mCurrentHandler.post(new Runnable() { in doStateTransition()
/frameworks/av/media/libstagefright/wifi-display/source/
DMediaPuller.cpp72 msg->post(); in stopAsync()
76 (new AMessage(kWhatPause, id()))->post(); in pause()
80 (new AMessage(kWhatResume, id()))->post(); in resume()
128 notify->post(); in onMessageReceived()
163 notify->post(); in onMessageReceived()
189 notify->post(); in onMessageReceived()
220 msg->post(); in schedulePull()
DConverter.cpp96 (new AMessage(kWhatShutdown, id()))->post(); in shutdownAsync()
275 notify->post(); in notifyError()
430 notify->post(); in onMessageReceived()
543 notify->post(); in feedRawAudioInputBuffers()
591 notify->post(); in feedRawAudioInputBuffers()
711 notify->post(); in doMoreWork()
773 notify->post(); in doMoreWork()
790 (new AMessage(kWhatRequestIDRFrame, id()))->post(); in requestIDRFrame()
797 (new AMessage(kWhatDropAFrame, id()))->post(); in dropAFrame()
803 msg->post(); in suspendEncoding()
/frameworks/wilhelm/src/android/
Dandroid_GenericPlayer.cpp140 msg->post(); in prepare()
148 msg->post(); in play()
155 msg->post(); in pause()
161 (new AMessage(kWhatPause, id()))->post(); in stop()
176 msg->post(); in seek()
184 msg->post(); in loop()
192 msg->post(); in setBufferingUpdateThreshold()
211 (new AMessage(kWhatVolumeUpdate, id()))->post(); in setVolume()
221 msg->post(); in attachAuxEffect()
231 msg->post(); in setAuxEffectSendLevel()
[all …]
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/
DDemoModeController.java142 mBackground.post(mUpdateClock); in onTouch()
149 mBackground.post(mUpdateClock); in onTouch()
156 mBackground.post(mUpdateBattery); in onTouch()
163 mBackground.post(mUpdateBattery); in onTouch()
170 mBackground.post(mUpdateMobile); in onTouch()
177 mBackground.post(mUpdateWifi); in onTouch()
184 mBackground.post(mUpdateStatus); in onTouch()
191 mBackground.post(mUpdateNetwork); in onTouch()
198 mBackground.post(mUpdateMobile); in onTouch()
211 mBackground.post(mUpdateBarMode); in updateMode()
/frameworks/av/media/libstagefright/timedtext/
DTimedTextPlayer.cpp59 (new AMessage(kWhatStart, id()))->post(); in start()
63 (new AMessage(kWhatPause, id()))->post(); in pause()
67 (new AMessage(kWhatResume, id()))->post(); in resume()
73 msg->post(); in seekToAsync()
79 msg->post(); in setDataSource()
171 msg->post(delayUs); in onMessageReceived()
244 msg->post(kWaitTimeUsToRetryRead); in doRead()
268 msg->post(delayUs); in postTextEvent()
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp74 msg->post(); in connect()
80 msg->post(); in disconnect()
88 msg->post(); in sendRequest()
94 msg->post(); in observeBinaryData()
245 reply->post(); in onConnect()
260 reply->post(); in onConnect()
292 msg->post(); in onConnect()
313 reply->post(); in onConnect()
344 reply->post(); in onDisconnect()
358 reply->post(); in onCompleteConnection()
[all …]
DMyTransmitter.h353 (new AMessage('quit', id()))->post(); in onMessageReceived()
384 (new AMessage('quit', id()))->post(); in onMessageReceived()
394 (new AMessage('quit', id()))->post(); in onMessageReceived()
448 msg->post(50000); in onMessageReceived()
471 (new AMessage('quit', id()))->post(); in onMessageReceived()
561 (new AMessage('quit', id()))->post(); in onMessageReceived()
565 (new AMessage('more', id()))->post(); in onMessageReceived()
566 (new AMessage('sr ', id()))->post(); in onMessageReceived()
567 (new AMessage('aliv', id()))->post(30000000ll); in onMessageReceived()
606 (new AMessage('aliv', id()))->post(30000000ll); in onMessageReceived()
[all …]
DMyHandler.h213 (new AMessage('abor', id()))->post(); in disconnect()
220 msg->post(); in seek()
231 msg->post(kPauseDelayUs); in pause()
237 msg->post(); in resume()
460 (new AMessage('disc', id()))->post(); in onMessageReceived()
474 (new AMessage('quit', id()))->post(); in onMessageReceived()
803 timeout->post(kStartupTimeoutUs); in onMessageReceived()
945 msg->post(); in onMessageReceived()
961 (new AMessage('abor', id()))->post(); in onMessageReceived()
969 msg->post(kAccessUnitTimeoutUs); in onMessageReceived()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraExceptionHandler.java83 mHandler.post(new Runnable() { in onCameraError()
100 mHandler.post(new Runnable() { in onCameraException()
115 mHandler.post(new Runnable() { in onDispatchThreadException()
DCameraAgent.java71 mHandler.post(new Runnable() { in onPreviewStarted()
113 mHandler.post(new Runnable() { in onCameraOpened()
122 mHandler.post(new Runnable() { in onCameraDisabled()
131 mHandler.post(new Runnable() { in onDeviceOpenFailure()
140 mHandler.post(new Runnable() { in onDeviceOpenedAlready()
149 mHandler.post(new Runnable() { in onReconnectionFailure()
320 getCameraHandler().post(bundle.mUnlockRunnable); in closeCamera()
449 getCameraHandler().post(bundle.mUnlockRunnable); in unlock()
535 getCameraHandler().post(bundle.mUnlockRunnable); in setPreviewTextureSync()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java258 mDeviceHandler.post(mCallOnOpened); in setRemoteDevice()
259 mDeviceHandler.post(mCallOnUnconfigured); in setRemoteDevice()
297 mDeviceHandler.post(new Runnable() { in setRemoteFailure()
361 mDeviceHandler.post(mCallOnBusy); in configureOutputsChecked()
405 mDeviceHandler.post(mCallOnIdle); in configureOutputsChecked()
408 mDeviceHandler.post(mCallOnUnconfigured); in configureOutputsChecked()
570 holder.getHandler().post(resultDispatch); in checkEarlyTriggerSequenceComplete()
651 mDeviceHandler.post(mCallOnActive); in submitCaptureRequest()
728 mDeviceHandler.post(mCallOnBusy); in flush()
733 mDeviceHandler.post(mCallOnIdle); in flush()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewCallbacks.java71 textView.post(new Runnable() { in testPopupEnterSelection()
89 textView.post(new Runnable() { in testPopupEnterSelection()
125 textView.post(new Runnable() { in testPopupLeaveSelection()
/frameworks/base/media/java/android/media/
DRemoteDisplay.java127 mHandler.post(new Runnable() { in notifyDisplayConnected()
137 mHandler.post(new Runnable() { in notifyDisplayDisconnected()
147 mHandler.post(new Runnable() { in notifyDisplayError()
/frameworks/base/services/core/java/com/android/server/location/
DRemoteListenerHelper.java93 post(listener, getHandlerOperation(result)); in addListener()
161 post(linkedListener.getUnderlyingListener(), operation); in foreachUnsafe()
165 private void post(TListener listener, ListenerOperation<TListener> operation) { in post() method in RemoteListenerHelper
167 mHandler.post(new HandlerRunnable(listener, operation)); in post()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java164 mHandler.post(new Runnable() { in connect()
208 mHandler.post(new Runnable() { in disconnect()
225 mHandler.post(new Runnable() { in addSubscription()
246 mHandler.post(new Runnable() { in removeSubscription()
335 mHandler.post(new Runnable() { in setSessionToken()
372 mHandler.post(new Runnable() { in notifyChildrenChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbStorageActivity.java140 mUIHandler.post(new Runnable() { in switchDisplay()
173 mAsyncStorageHandler.post(new Runnable() { in onResume()
236 mUIHandler.post(new Runnable() {
249 mUIHandler.post(new Runnable() {
261 mAsyncStorageHandler.post(new Runnable() {
274 mAsyncStorageHandler.post(new Runnable() {
/frameworks/support/v4/java/android/support/v4/media/session/
DMediaSessionCompat.java1472 mHandler.post(MessageHandler.MSG_COMMAND, in sendCommand()
1481 mHandler.post(MessageHandler.MSG_MEDIA_BUTTON, mediaButton); in sendMediaButton()
1568 mHandler.post(MessageHandler.MSG_PLAY); in play()
1573 mHandler.post(MessageHandler.MSG_PLAY_MEDIA_ID, mediaId, extras); in playFromMediaId()
1578 mHandler.post(MessageHandler.MSG_PLAY_SEARCH, query, extras); in playFromSearch()
1583 mHandler.post(MessageHandler.MSG_SKIP_TO_ITEM, id); in skipToQueueItem()
1588 mHandler.post(MessageHandler.MSG_PAUSE); in pause()
1593 mHandler.post(MessageHandler.MSG_STOP); in stop()
1598 mHandler.post(MessageHandler.MSG_NEXT); in next()
1603 mHandler.post(MessageHandler.MSG_PREVIOUS); in previous()
[all …]

12345678910>>...16