Home
last modified time | relevance | path

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

12345678910>>...29

/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockTarget.java26 private final String post; field in LockTarget
28 public LockTarget(String targetDesc, String pre, String post) { in LockTarget() argument
31 this.post = post; in LockTarget()
51 return post; in getPost()
55 return post.substring(0, post.lastIndexOf('.')); in getPostOwner()
59 return post.substring(post.lastIndexOf('.') + 1); in getPostMethod()
/frameworks/base/tests/testables/tests/src/android/testing/
DTestableLooperTest.java55 h.post(r); in testMessageExecuted()
71 h.post(r); in testMessageCallback()
85 h.post(r); in testProcessNumberOfMessages()
86 h.post(r); in testProcessNumberOfMessages()
87 h.post(r); in testProcessNumberOfMessages()
98 Runnable poster = () -> h.post(r); in testProcessAllMessages()
99 h.post(poster); in testProcessAllMessages()
109 Runnable poster = () -> h.post(r); in test3Chain()
110 Runnable poster2 = () -> h.post(poster); in test3Chain()
111 h.post(poster2); in test3Chain()
[all …]
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp66 mRenderThread.queue().post([this, swapBehavior]() { mContext->setSwapBehavior(swapBehavior); }); in setSwapBehavior()
86 mRenderThread.queue().post([this, surf = surface, enableTimeout]() mutable { in setSurface()
92 mRenderThread.queue().post([=]() { mContext->allocateBuffers(); }); in allocateBuffers()
104 mRenderThread.queue().post( in setLightAlpha()
109 mRenderThread.queue().post([=]() { mContext->setLightGeometry(lightCenter, lightRadius); }); in setLightGeometry()
113 mRenderThread.queue().post([=]() { mContext->setOpaque(opaque); }); in setOpaque()
117 mRenderThread.queue().post([=]() { mContext->setWideGamut(wideGamut); }); in setWideGamut()
145 thread.queue().post(std::move(invoke)); in invokeFunctor()
152 thread.queue().post([=]() { WebViewFunctorManager::instance().destroyFunctor(functor); }); in destroyFunctor()
193 thread.queue().post([&thread, level]() { CanvasContext::trimMemory(thread, level); }); in trimMemory()
[all …]
/frameworks/base/core/java/android/hardware/radio/
DTunerCallbackAdapter.java117 mHandler.post(() -> mCallback.onError(status)); in onError()
122 mHandler.post(() -> mCallback.onTuneFailed(status, selector)); in onTuneFailed()
141 mHandler.post(() -> mCallback.onError(errorCode)); in onTuneFailed()
146 mHandler.post(() -> mCallback.onConfigurationChanged(config)); in onConfigurationChanged()
160 mHandler.post(() -> { in onCurrentProgramInfoChanged()
170 mHandler.post(() -> mCallback.onTrafficAnnouncement(active)); in onTrafficAnnouncement()
175 mHandler.post(() -> mCallback.onEmergencyAnnouncement(active)); in onEmergencyAnnouncement()
181 mHandler.post(() -> mCallback.onAntennaState(connected)); in onAntennaState()
186 mHandler.post(() -> mCallback.onBackgroundScanAvailabilityChange(isAvailable)); in onBackgroundScanAvailabilityChange()
191 mHandler.post(() -> mCallback.onBackgroundScanComplete()); in sendBackgroundScanCompleteLocked()
[all …]
/frameworks/native/libs/ui/tests/
DBufferHubBuffer_test.cpp268 ASSERT_EQ(b1->post(), 0); in TEST_F()
279 ASSERT_EQ(b1->post(), 0); in TEST_F()
288 ASSERT_EQ(b1->post(), 0); in TEST_F()
300 EXPECT_EQ(b2->post(), -EBUSY); in TEST_F()
307 EXPECT_EQ(b1->post(), 0); in TEST_F()
315 ASSERT_EQ(b1->post(), 0); in TEST_F()
319 EXPECT_EQ(b1->post(), -EBUSY); in TEST_F()
320 EXPECT_EQ(b2->post(), -EBUSY); in TEST_F()
325 ASSERT_EQ(b1->post(), 0); in TEST_F()
330 EXPECT_EQ(b1->post(), -EBUSY); in TEST_F()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceState.java182 mCurrentHandler.post(new Runnable() { in setCaptureResult()
189 mCurrentHandler.post(new Runnable() { in setCaptureResult()
215 mCurrentHandler.post(new Runnable() { in setRepeatingRequestError()
229 mCurrentHandler.post(new Runnable() { in setRequestQueueEmpty()
266 mCurrentHandler.post(new Runnable() { in doStateTransition()
279 mCurrentHandler.post(new Runnable() { in doStateTransition()
297 mCurrentHandler.post(new Runnable() { in doStateTransition()
320 mCurrentHandler.post(new Runnable() { in doStateTransition()
339 mCurrentHandler.post(new Runnable() { in doStateTransition()
346 mCurrentHandler.post(new Runnable() { in doStateTransition()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoderBase.cpp68 msg->post(); in configure()
83 msg->post(); in setParameters()
89 msg->post(); in setRenderer()
100 (new AMessage(kWhatFlush, this))->post(); in signalFlush()
106 msg->post(); in signalResume()
110 (new AMessage(kWhatShutdown, this))->post(); in initiateShutdown()
123 msg->post(10 * 1000LL); in onRequestInputBuffers()
210 notify->post(); in handleError()
DHTTPLiveSource.cpp231 msg->post(); in selectTrack()
273 notify->post(); in pollForRawData()
274 msg->post(delayUs > 0LL ? delayUs : 0LL); in pollForRawData()
280 notify->post(); in pollForRawData()
289 msg->post(1000000LL); in pollForRawData()
392 notify->post(); in onSessionNotify()
400 notify->post(); in onSessionNotify()
408 notify->post(); in onSessionNotify()
420 notify->post(); in onSessionNotify()
432 notify->post(); in onSessionNotify()
/frameworks/base/core/tests/coretests/src/android/view/
DRunQueue.java45 view.post(new Runnable() { in onCreate()
56 view.post(runnable); in onCreate()
57 view.post(runnable); in onCreate()
58 view.post(runnable); in onCreate()
59 view.post(runnable); in onCreate()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsSystemUser.java84 ForegroundThread.getHandler().post(() -> { in updateRecentsVisibility()
91 ForegroundThread.getHandler().post(() -> { in startScreenPinning()
98 EventBus.getDefault().post(new RecentsDrawnEvent()); in sendRecentsDrawnEvent()
103 EventBus.getDefault().post(new DockedTopTaskEvent(initialRect)); in sendDockingTopTaskEvent()
108 EventBus.getDefault().post(new RecentsActivityStartingEvent()); in sendLaunchRecentsEvent()
113 EventBus.getDefault().post(new DockedFirstAnimationFrameEvent()); in sendDockedFirstAnimationFrameEvent()
118 EventBus.getDefault().post(new SetWaitingForTransitionStartEvent( in setWaitingForTransitionStartEvent()
/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/base/packages/SystemUI/src/com/android/systemui/util/
DAsyncSensorManager.java92 mHandler.post(() -> { in registerListenerImpl()
124 mHandler.post(() -> mInner.registerDynamicSensorCallback(callback, handler)); in registerDynamicSensorCallbackImpl()
129 mHandler.post(() -> mInner.unregisterDynamicSensorCallback(callback)); in unregisterDynamicSensorCallbackImpl()
134 mHandler.post(() -> { in requestTriggerSensorImpl()
147 mHandler.post(() -> { in cancelTriggerSensorImpl()
167 mHandler.post(() -> { in registerPluginListener()
183 mHandler.post(() -> { in unregisterPluginListener()
203 mHandler.post(() -> mInner.setOperationParameter(parameter)); in setOperationParameterImpl()
210 mHandler.post(() -> { in unregisterListenerImpl()
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnection.java1186 record.getHandler().post(new Runnable() { in setState()
1207 record.getHandler().post(new Runnable() { in setDisconnected()
1226 record.getHandler().post(new Runnable() { in setRingbackRequested()
1244 record.getHandler().post(new Runnable() { in setConnectionCapabilities()
1261 record.getHandler().post(new Runnable() { in setConnectionProperties()
1284 record.getHandler().post(new Runnable() { in setDestroyed()
1304 record.getHandler().post(new Runnable() { in setPostDialWait()
1320 record.getHandler().post(new Runnable() { in onPostDialChar()
1337 record.getHandler().post(new Runnable() { in setVideoState()
1354 record.getHandler().post(new Runnable() { in setVideoProvider()
[all …]
DRemoteConference.java170 record.getHandler().post(new Runnable() { in setDestroyed()
195 record.getHandler().post(new Runnable() { in setState()
213 record.getHandler().post(new Runnable() { in addConnection()
231 record.getHandler().post(new Runnable() { in removeConnection()
248 record.getHandler().post(new Runnable() { in setConnectionCapabilities()
266 record.getHandler().post(new Runnable() { in setConnectionProperties()
284 record.getHandler().post(new Runnable() { in setConferenceableConnections()
302 record.getHandler().post(new Runnable() { in setDisconnected()
341 record.getHandler().post(new Runnable() { in notifyExtrasChanged()
/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, this))->post(); in stop()
176 msg->post(); in seek()
184 msg->post(); in loop()
192 msg->post(); in setBufferingUpdateThreshold()
211 (new AMessage(kWhatVolumeUpdate, this))->post(); in setVolume()
221 msg->post(); in attachAuxEffect()
231 msg->post(); in setAuxEffectSendLevel()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java116 mBackgroundHandler.post(mUpdateModeRunnable); in onChange()
117 mBackgroundHandler.post(mUpdateSliderRunnable); in onChange()
119 mBackgroundHandler.post(mUpdateSliderRunnable); in onChange()
121 mBackgroundHandler.post(mUpdateSliderRunnable); in onChange()
123 mBackgroundHandler.post(mUpdateModeRunnable); in onChange()
124 mBackgroundHandler.post(mUpdateSliderRunnable); in onChange()
265 mBackgroundHandler.post(mUpdateModeRunnable); in BrightnessController()
266 mBackgroundHandler.post(mUpdateSliderRunnable); in BrightnessController()
313 mBackgroundHandler.post(mStartListeningRunnable); in registerCallbacks()
331 mBackgroundHandler.post(mStopListeningRunnable); in unregisterCallbacks()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DRemoteListenerHelper.java111 post(identifiedListener, getHandlerOperation(result)); in addListener()
198 post(identifiedListener, operation); in foreachUnsafe()
202 private void post(IdentifiedListener identifiedListener, in post() method in RemoteListenerHelper
205 mHandler.post(new HandlerRunnable(identifiedListener, operation)); in post()
210 mHandler.post(new Runnable() { in tryRegister()
220 mHandler.post(() -> { in tryRegister()
231 mHandler.post(() -> { in tryUnregister()
/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/base/core/java/android/bluetooth/le/
DBluetoothLeAdvertiser.java536 handler.post(new Runnable() {
555 handler.post(new Runnable() {
566 handler.post(new Runnable() {
579 handler.post(new Runnable() {
590 handler.post(new Runnable() {
601 handler.post(new Runnable() {
612 handler.post(new Runnable() {
623 handler.post(new Runnable() {
634 handler.post(new Runnable() {
645 handler.post(new Runnable() {
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DStatusBarController.java60 mHandler.post(mAppTransitionPending);
66 mHandler.post(() -> {
78 mHandler.post(mAppTransitionCancelled);
83 mHandler.post(mAppTransitionFinished);
/frameworks/base/core/java/android/service/watchdog/
DExplicitHealthCheckService.java164 mHandler.post(() -> { in notifyHealthCheckPassed()
286 mHandler.post(() -> { in setCallback()
293 mHandler.post(() -> ExplicitHealthCheckService.this.onRequestHealthCheck(packageName)); in request()
298 mHandler.post(() -> ExplicitHealthCheckService.this.onCancelHealthCheck(packageName)); in cancel()
303 mHandler.post(() -> { in getSupportedPackages()
315 mHandler.post(() -> { in getRequestedPackages()
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp76 msg->post(); in connect()
82 msg->post(); in disconnect()
90 msg->post(); in sendRequest()
96 msg->post(); in observeBinaryData()
247 reply->post(); in onConnect()
262 reply->post(); in onConnect()
294 msg->post(); in onConnect()
315 reply->post(); in onConnect()
347 reply->post(); in onDisconnect()
361 reply->post(); in onCompleteConnection()
[all …]
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanInterface.java572 mHandler.post(() -> cb.onEnabledChanged(value)); in registerCallback()
577 mHandler.post(() -> cb.onConnectedChanged(value)); in registerCallback()
582 mHandler.post(() -> cb.onUpChanged(value)); in registerCallback()
587 mHandler.post(() -> cb.onRoleChanged(value)); in registerCallback()
592 mHandler.post(() -> cb.onStateChanged(value)); in registerCallback()
597 mHandler.post(() -> cb.onLowpanIdentityChanged(value)); in registerCallback()
602 mHandler.post(() -> cb.onLinkNetworkAdded(value)); in registerCallback()
607 mHandler.post(() -> cb.onLinkNetworkRemoved(value)); in registerCallback()
621 mHandler.post(() -> cb.onLinkAddressAdded(la)); in registerCallback()
638 mHandler.post(() -> cb.onLinkAddressRemoved(la)); in registerCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DPhysicsAnimationLayoutTestCase.java128 mMainThreadHandler.post(layoutLatch::countDown); in waitForLayoutMessageQueue()
149 public boolean post(Runnable action) { in post() method in PhysicsAnimationLayoutTestCase.TestablePhysicsAnimationLayout
150 return mMainThreadHandler.post(action); in post()
167 mMainThreadHandler.post(super::cancelAllAnimations); in cancelAllAnimations()
172 mMainThreadHandler.post(() -> super.cancelAnimationsOnView(view)); in cancelAnimationsOnView()
217 mMainThreadHandler.post(() -> super.animateValueForChild( in animateValueForChild()
224 mMainThreadHandler.post(super::startPathAnimation); in startPathAnimation()
313 mMainThreadHandler.post(() -> { in runOnMainThreadAndBlock()
/frameworks/base/core/java/android/service/textclassifier/
DTextClassifierService.java118 mMainThreadHandler.post(() -> TextClassifierService.this.onSuggestSelection(
129 mMainThreadHandler.post(() -> TextClassifierService.this.onClassifyText(
139 mMainThreadHandler.post(() -> TextClassifierService.this.onGenerateLinks(
148 mMainThreadHandler.post(
157 mMainThreadHandler.post(
168 mMainThreadHandler.post(() -> TextClassifierService.this.onDetectLanguage(
179 mMainThreadHandler.post(() -> TextClassifierService.this.onSuggestConversationActions(
188 mMainThreadHandler.post(
195 mMainThreadHandler.post(

12345678910>>...29