Home
last modified time | relevance | path

Searched refs:obtainMessage (Results 1 – 25 of 403) sorted by relevance

12345678910>>...17

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DMessageQueueTest.java44 mQueue.sendMessage(MessageThreadUtil.SyncQueueItem.obtainMessage( in allArguments()
59 mQueue.sendMessage(obtainMessage(1, 2)); in sendInOrder()
60 mQueue.sendMessage(obtainMessage(3, 4)); in sendInOrder()
61 mQueue.sendMessage(obtainMessage(5, 6)); in sendInOrder()
81 mQueue.sendMessage(obtainMessage(1, 2)); in sendAtFront()
82 mQueue.sendMessageAtFrontOfQueue(obtainMessage(3, 4)); in sendAtFront()
83 mQueue.sendMessage(obtainMessage(5, 6)); in sendAtFront()
103 mQueue.sendMessage(obtainMessage(1, 0)); in remove()
104 mQueue.sendMessage(obtainMessage(2, 0)); in remove()
105 mQueue.sendMessage(obtainMessage(1, 0)); in remove()
[all …]
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java77 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageA)); in testNoTimeMovement()
78 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageA)); in testNoTimeMovement()
79 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageB)); in testNoTimeMovement()
80 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageC)); in testNoTimeMovement()
109 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageA)); in testDelayedDispatchNoTimeMove()
110 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageB)); in testDelayedDispatchNoTimeMove()
111 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchNoTimeMove()
112 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 10000); in testDelayedDispatchNoTimeMove()
137 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageA)); in testDelayedDispatchAdvanceTimeOnce()
138 mHandlerSpy.sendMessage(mHandler.obtainMessage(messageB)); in testDelayedDispatchAdvanceTimeOnce()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java109 public Message obtainMessage(int what) { in obtainMessage() method in HandlerCaller
110 return mH.obtainMessage(what); in obtainMessage()
114 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, arg2); in obtainMessageBO()
121 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, args); in obtainMessageBOO()
125 return mH.obtainMessage(what, 0, 0, arg1); in obtainMessageO()
129 return mH.obtainMessage(what, arg1, 0); in obtainMessageI()
133 return mH.obtainMessage(what, arg1, arg2); in obtainMessageII()
137 return mH.obtainMessage(what, arg1, 0, arg2); in obtainMessageIO()
141 return mH.obtainMessage(what, arg1, arg2, arg3); in obtainMessageIIO()
149 return mH.obtainMessage(what, arg1, arg2, args); in obtainMessageIIOO()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DConnectionServiceAdapterServant.java336 mHandler.obtainMessage(MSG_HANDLE_CREATE_CONNECTION_COMPLETE, args).sendToTarget();
341 mHandler.obtainMessage(MSG_SET_ACTIVE, connectionId).sendToTarget();
346 mHandler.obtainMessage(MSG_SET_RINGING, connectionId).sendToTarget();
351 mHandler.obtainMessage(MSG_SET_DIALING, connectionId).sendToTarget();
356 mHandler.obtainMessage(MSG_SET_PULLING, connectionId).sendToTarget();
365 mHandler.obtainMessage(MSG_SET_DISCONNECTED, args).sendToTarget();
370 mHandler.obtainMessage(MSG_SET_ON_HOLD, connectionId).sendToTarget();
376 mHandler.obtainMessage(MSG_SET_RINGBACK_REQUESTED, ringback ? 1 : 0, 0, connectionId)
383 mHandler.obtainMessage(
391 mHandler.obtainMessage(
[all …]
DVideoCallbackServant.java115 mHandler.obtainMessage(MSG_RECEIVE_SESSION_MODIFY_REQUEST, videoProfile).sendToTarget();
125 mHandler.obtainMessage(MSG_RECEIVE_SESSION_MODIFY_RESPONSE, args).sendToTarget();
132 mHandler.obtainMessage(MSG_HANDLE_CALL_SESSION_EVENT, args).sendToTarget();
140 mHandler.obtainMessage(MSG_CHANGE_PEER_DIMENSIONS, args).sendToTarget();
147 mHandler.obtainMessage(MSG_CHANGE_CALL_DATA_USAGE, args).sendToTarget();
154 mHandler.obtainMessage(MSG_CHANGE_CAMERA_CAPABILITIES, cameraCapabilities)
160 mHandler.obtainMessage(MSG_CHANGE_VIDEO_QUALITY, videoQuality, 0).sendToTarget();
DInCallService.java161 mHandler.obtainMessage(MSG_SET_IN_CALL_ADAPTER, inCallAdapter).sendToTarget(); in setInCallAdapter()
166 mHandler.obtainMessage(MSG_ADD_CALL, call).sendToTarget(); in addCall()
171 mHandler.obtainMessage(MSG_UPDATE_CALL, call).sendToTarget(); in updateCall()
184 mHandler.obtainMessage(MSG_SET_POST_DIAL_WAIT, args).sendToTarget(); in setPostDialWait()
189 mHandler.obtainMessage(MSG_ON_CALL_AUDIO_STATE_CHANGED, callAudioState).sendToTarget(); in onCallAudioStateChanged()
194 mHandler.obtainMessage(MSG_BRING_TO_FOREGROUND, showDialpad ? 1 : 0, 0).sendToTarget(); in bringToForeground()
199 mHandler.obtainMessage(MSG_ON_CAN_ADD_CALL_CHANGED, canAddCall ? 1 : 0, 0) in onCanAddCallChanged()
205 mHandler.obtainMessage(MSG_SILENCE_RINGER).sendToTarget(); in silenceRinger()
214 mHandler.obtainMessage(MSG_ON_CONNECTION_EVENT, args).sendToTarget(); in onConnectionEvent()
219 mHandler.obtainMessage(MSG_ON_RTT_UPGRADE_REQUEST, id, 0, callId).sendToTarget(); in onRttUpgradeRequest()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DIdleHandlerTest.java66 mHandler.sendMessageDelayed(mHandler.obtainMessage(0), 100); in testOneShotFirst()
72 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testOneShotFirst()
100 mHandler.sendMessage(mHandler.obtainMessage(0)); in testOneShotLater()
106 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testOneShotLater()
108 mHandler.sendMessageDelayed(mHandler.obtainMessage(2), 100); in testOneShotLater()
137 mHandler.sendMessageDelayed(mHandler.obtainMessage(0), 100); in testRepeatedFirst()
143 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testRepeatedFirst()
171 mHandler.sendMessage(mHandler.obtainMessage(0)); in testRepeatedLater()
177 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testRepeatedLater()
179 mHandler.sendMessageDelayed(mHandler.obtainMessage(2), 100); in testRepeatedLater()
DMessageQueueTest.java74 mHandler.sendMessageAtTime(mHandler.obtainMessage(2), now + 1); in testMessageOrder()
75 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now + 2); in testMessageOrder()
76 mHandler.sendMessageAtTime(mHandler.obtainMessage(4), now + 2); in testMessageOrder()
77 mHandler.sendMessageAtTime(mHandler.obtainMessage(0), now + 0); in testMessageOrder()
78 mHandler.sendMessageAtTime(mHandler.obtainMessage(1), now + 0); in testMessageOrder()
93 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now); in testAtFrontOfQueue()
94 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(2)); in testAtFrontOfQueue()
95 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(0)); in testAtFrontOfQueue()
101 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(1)); in testAtFrontOfQueue()
156 mHandler.sendMessage(mHandler.obtainMessage(0)); in testFieldIntegrity()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java163 mHandler.obtainMessage(MSG_ICON, OP_SET_ICON, 0, in setIcon()
171 mHandler.obtainMessage(MSG_ICON, OP_REMOVE_ICON, 0, slot).sendToTarget(); in removeIcon()
180 Message msg = mHandler.obtainMessage(MSG_DISABLE, state1, state2, animate); in disable()
209 mHandler.obtainMessage(MSG_COLLAPSE_PANELS, 0, 0).sendToTarget(); in animateCollapsePanels()
216 mHandler.obtainMessage(MSG_COLLAPSE_PANELS, flags, 0).sendToTarget(); in animateCollapsePanels()
223 mHandler.obtainMessage(MSG_TOGGLE_PANEL, 0, 0).sendToTarget(); in togglePanel()
230 mHandler.obtainMessage(MSG_EXPAND_SETTINGS, subPanel).sendToTarget(); in animateExpandSettingsPanel()
246 mHandler.obtainMessage(MSG_SET_SYSTEMUI_VISIBILITY, args).sendToTarget(); in setSystemUiVisibility()
253 mHandler.obtainMessage(MSG_TOP_APP_WINDOW_CHANGED, menuVisible ? 1 : 0, 0, in topAppWindowChanged()
262 Message m = mHandler.obtainMessage(MSG_SHOW_IME_BUTTON, vis, backDisposition, token); in setImeWindowStatus()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsRttTextHandler.java80 obtainMessage(TEARDOWN).sendToTarget(); in run()
90 obtainMessage(TEARDOWN).sendToTarget(); in run()
96 obtainMessage(APPEND_TO_NETWORK_BUFFER, charsReceived) in run()
128 obtainMessage(TEARDOWN).sendToTarget(); in handleMessage()
140 sendMessageAtFrontOfQueue(obtainMessage(ATTEMPT_SEND_TO_NETWORK)); in handleMessage()
164 obtainMessage(EXPIRE_SENT_CODEPOINT_COUNT, numCodePointsSent, 0), in handleMessage()
170 sendMessageAtFrontOfQueue(obtainMessage(ATTEMPT_SEND_TO_NETWORK)); in handleMessage()
193 obtainMessage(SEND_TO_INCALL, msg).sendToTarget(); in sendToInCall()
197 obtainMessage(INITIALIZE, rttTextStream).sendToTarget(); in initialize()
201 obtainMessage(TEARDOWN).sendToTarget(); in tearDown()
/frameworks/base/telephony/java/com/android/ims/internal/
DImsVideoCallProvider.java119 mProviderHandler.obtainMessage(MSG_SET_CALLBACK, callback).sendToTarget(); in setCallback()
126 mProviderHandler.obtainMessage(MSG_SET_CAMERA, args).sendToTarget(); in setCamera()
130 mProviderHandler.obtainMessage(MSG_SET_PREVIEW_SURFACE, surface).sendToTarget(); in setPreviewSurface()
134 mProviderHandler.obtainMessage(MSG_SET_DISPLAY_SURFACE, surface).sendToTarget(); in setDisplaySurface()
138 mProviderHandler.obtainMessage(MSG_SET_DEVICE_ORIENTATION, rotation, 0).sendToTarget(); in setDeviceOrientation()
142 mProviderHandler.obtainMessage(MSG_SET_ZOOM, value).sendToTarget(); in setZoom()
149 mProviderHandler.obtainMessage(MSG_SEND_SESSION_MODIFY_REQUEST, args).sendToTarget(); in sendSessionModifyRequest()
153 mProviderHandler.obtainMessage( in sendSessionModifyResponse()
158 mProviderHandler.obtainMessage(MSG_REQUEST_CAMERA_CAPABILITIES).sendToTarget(); in requestCameraCapabilities()
162 mProviderHandler.obtainMessage(MSG_REQUEST_CALL_DATA_USAGE).sendToTarget(); in requestCallDataUsage()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DTaskChangeNotificationController.java274 final Message msg = mHandler.obtainMessage(NOTIFY_TASK_STACK_CHANGE_LISTENERS_MSG); in notifyTaskStackChanged()
283 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_PINNED_LISTENERS_MSG, in notifyActivityPinned()
292 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_UNPINNED_LISTENERS_MSG); in notifyActivityUnpinned()
305 mHandler.obtainMessage(NOTIFY_PINNED_ACTIVITY_RESTART_ATTEMPT_LISTENERS_MSG, in notifyPinnedActivityRestartAttempt()
315 mHandler.obtainMessage(NOTIFY_PINNED_STACK_ANIMATION_STARTED_LISTENERS_MSG); in notifyPinnedStackAnimationStarted()
324 mHandler.obtainMessage(NOTIFY_PINNED_STACK_ANIMATION_ENDED_LISTENERS_MSG); in notifyPinnedStackAnimationEnded()
331 final Message msg = mHandler.obtainMessage(NOTIFY_ACTIVITY_DISMISSING_DOCKED_STACK_MSG); in notifyActivityDismissingDockedStack()
338 final Message msg = mHandler.obtainMessage(NOTIFY_FORCED_RESIZABLE_MSG, taskId, reason, in notifyActivityForcedResizable()
346 final Message msg = mHandler.obtainMessage( in notifyActivityLaunchOnSecondaryDisplayFailed()
353 final Message msg = mHandler.obtainMessage(NOTIFY_TASK_ADDED_LISTENERS_MSG, in notifyTaskCreated()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DMessageThreadUtil.java41 sendMessage(SyncQueueItem.obtainMessage(UPDATE_ITEM_COUNT, generation, itemCount)); in getMainThreadProxy()
46 sendMessage(SyncQueueItem.obtainMessage(ADD_TILE, generation, tile)); in getMainThreadProxy()
51 sendMessage(SyncQueueItem.obtainMessage(REMOVE_TILE, generation, position)); in getMainThreadProxy()
99 sendMessageAtFrontOfQueue(SyncQueueItem.obtainMessage(REFRESH, generation, null)); in getBackgroundProxy()
105 sendMessageAtFrontOfQueue(SyncQueueItem.obtainMessage(UPDATE_RANGE, in getBackgroundProxy()
111 sendMessage(SyncQueueItem.obtainMessage(LOAD_TILE, position, scrollHint)); in getBackgroundProxy()
116 sendMessage(SyncQueueItem.obtainMessage(RECYCLE_TILE, 0, tile)); in getBackgroundProxy()
200 static SyncQueueItem obtainMessage(int what, int arg1, int arg2, int arg3, int arg4,
222 static SyncQueueItem obtainMessage(int what, int arg1, int arg2) {
223 return obtainMessage(what, arg1, arg2, 0, 0, 0, null);
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java500 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_RECORDS_LOADED, null)); in testDataSetup()
511 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_CONNECTION_ATTACHED, null)); in testDataSetup()
565 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_RECORDS_LOADED, null)); in testDataRetry()
576 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_CONNECTION_ATTACHED, null)); in testDataRetry()
654 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_RECORDS_LOADED, null)); in testUserDisableData()
658 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_CONNECTION_ATTACHED, null)); in testUserDisableData()
705 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_RECORDS_LOADED, null)); in testUserDisableRoaming()
709 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_CONNECTION_ATTACHED, null)); in testUserDisableRoaming()
726 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_ROAMING_ON)); in testUserDisableRoaming()
766 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_RECORDS_LOADED, null)); in testDataCallOnUserDisableRoaming()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackHandler.java143 obtainMessage(MSG_SUBS_CHANGED, subs).sendToTarget(); in setSubs()
148 obtainMessage(MSG_NO_SIM_VISIBLE_CHANGED, show ? 1 : 0, simDetected ? 1 : 0).sendToTarget(); in setNoSims()
153 obtainMessage(MSG_MOBILE_DATA_ENABLED_CHANGED, enabled ? 1 : 0, 0).sendToTarget(); in setMobileDataEnabled()
158 obtainMessage(MSG_EMERGENCE_CHANGED, emergencyOnly ? 1 : 0, 0).sendToTarget(); in setEmergencyCallsOnly()
163 obtainMessage(MSG_ETHERNET_CHANGED, icon).sendToTarget();; in setEthernetIndicators()
168 obtainMessage(MSG_AIRPLANE_MODE_CHANGED, icon).sendToTarget();; in setIsAirplaneMode()
172 obtainMessage(MSG_ADD_REMOVE_EMERGENCY, listening ? 1 : 0, 0, listener).sendToTarget(); in setListening()
176 obtainMessage(MSG_ADD_REMOVE_SIGNAL, listening ? 1 : 0, 0, listener).sendToTarget(); in setListening()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCardApplicationTest.java122 Message mCardAppUpdate = mHandler.obtainMessage(UICCCARDAPP_UPDATE_EVENT); in testGetSetAppType()
136 Message mCardAppUpdate = mHandler.obtainMessage(UICCCARDAPP_UPDATE_EVENT); in testGetSetAppState()
150 Message mFDNenabled = mHandler.obtainMessage(UICCCARDAPP_ENABLE_FDN_EVENT); in testGetSetIccFdnEnabled()
158 mFDNenabled = mHandler.obtainMessage(UICCCARDAPP_ENABLE_FDN_EVENT); in testGetSetIccFdnEnabled()
169 Message mLockEnabled = mHandler.obtainMessage(UICCCARDAPP_ENABLE_LOCK_EVENT); in testGetSetIccLockedEnabled()
175 mLockEnabled = mHandler.obtainMessage(UICCCARDAPP_ENABLE_LOCK_EVENT); in testGetSetIccLockedEnabled()
186 Message mChangePsw = mHandler.obtainMessage(UICCCARDAPP_CHANGE_PSW_EVENT); in testChangeIccLockPassword()
200 Message mSupplyPin = mHandler.obtainMessage(UICCCARDAPP_SUPPLY_PIN_EVENT); in testSupplyPin()
209 mSupplyPin = mHandler.obtainMessage(UICCCARDAPP_SUPPLY_PIN_EVENT); in testSupplyPin()
219 mSupplyPin = mHandler.obtainMessage(UICCCARDAPP_SUPPLY_PIN_EVENT); in testSupplyPin()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgent.java292 getCameraHandler().obtainMessage(CameraActions.OPEN_CAMERA, cameraId, 0, in openCamera()
319 getCameraHandler().obtainMessage(CameraActions.RELEASE).sendToTarget(); in closeCamera()
327 getCameraHandler().obtainMessage(CameraActions.RELEASE).sendToTarget(); in closeCamera()
425 getCameraHandler().obtainMessage(CameraActions.RECONNECT, getCameraId(), 0, in reconnect()
500 … .obtainMessage(CameraActions.SET_PREVIEW_TEXTURE_ASYNC, surfaceTexture) in setPreviewTexture()
533 … .obtainMessage(CameraActions.SET_PREVIEW_TEXTURE_ASYNC, surfaceTexture) in setPreviewTextureSync()
553 … .obtainMessage(CameraActions.SET_PREVIEW_DISPLAY_ASYNC, surfaceHolder) in setPreviewDisplay()
570 .obtainMessage(CameraActions.START_PREVIEW_ASYNC, null).sendToTarget(); in startPreview()
586 getCameraHandler().obtainMessage(CameraActions.START_PREVIEW_ASYNC, in startPreviewWithCallback()
610 getCameraHandler().obtainMessage(CameraActions.STOP_PREVIEW, bundle) in stopPreview()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSIMRecords.java240 sendMessage(obtainMessage(EVENT_CARRIER_CONFIG_CHANGED));
357 obtainMessage(EVENT_SET_MSISDN_DONE, onComplete)); in setMsisdnNumber()
413 obtainMessage(EVENT_SET_MBDN_DONE, onComplete)); in setVoiceMailNumber()
419 obtainMessage(EVENT_SET_CPHS_MAILBOX_DONE, onComplete)); in setVoiceMailNumber()
468 obtainMessage (EVENT_UPDATE_DONE, EF_MWIS, 0)); in setVoiceMessageWaiting()
477 obtainMessage (EVENT_UPDATE_DONE, EF_VOICE_MAIL_INDICATOR_CPHS)); in setVoiceMessageWaiting()
576 obtainMessage (EVENT_UPDATE_DONE, EF_CFIS)); in setVoiceCallForwardingFlag()
593 obtainMessage (EVENT_UPDATE_DONE, EF_CFF_CPHS)); in setVoiceCallForwardingFlag()
760 mMailboxIndex, obtainMessage(EVENT_GET_MBDN_DONE)); in handleMessage()
766 obtainMessage(EVENT_GET_CPHS_MAILBOX_DONE)); in handleMessage()
[all …]
DIsimUiccRecords.java165 mFh.loadEFTransparent(EF_IMPI, obtainMessage( in fetchIsimRecords()
169 mFh.loadEFLinearFixedAll(EF_IMPU, obtainMessage( in fetchIsimRecords()
173 mFh.loadEFTransparent(EF_DOMAIN, obtainMessage( in fetchIsimRecords()
176 mFh.loadEFTransparent(EF_IST, obtainMessage( in fetchIsimRecords()
179 mFh.loadEFLinearFixedAll(EF_PCSCF, obtainMessage( in fetchIsimRecords()
311 mFh.loadEFTransparent(EF_IMPI, obtainMessage( in handleFileUpdate()
317 mFh.loadEFLinearFixedAll(EF_IMPU, obtainMessage( in handleFileUpdate()
323 mFh.loadEFTransparent(EF_DOMAIN, obtainMessage( in handleFileUpdate()
329 mFh.loadEFTransparent(EF_IST, obtainMessage( in handleFileUpdate()
335 mFh.loadEFLinearFixedAll(EF_PCSCF, obtainMessage( in handleFileUpdate()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsImplProxy.java70 mHandler.sendMessage(mHandler.obtainMessage(MSG_SHOW_RECENTS, args)); in showRecents()
76 mHandler.sendMessage(mHandler.obtainMessage(MSG_HIDE_RECENTS, triggeredFromAltTab ? 1 :0, in hideRecents()
84 mHandler.sendMessage(mHandler.obtainMessage(MSG_TOGGLE_RECENTS, args)); in toggleRecents()
100 mHandler.sendMessage(mHandler.obtainMessage(MSG_DOCK_TOP_TASK, args)); in dockTopTask()
105 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_DRAGGING_IN_RECENTS, distanceFromTop)); in onDraggingInRecents()
110 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_DRAGGING_IN_RECENTS_ENDED, velocity)); in onDraggingInRecentsEnded()
115 mHandler.sendMessage(mHandler.obtainMessage(MSG_SHOW_USER_TOAST, msgResId, msgLength)); in showCurrentUserToast()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java972 sendMessageAtFrontOfQueue(obtainMessage(SM_INIT_CMD, mSmHandlerObj)); in completeConstruction()
1249 Message newMsg = obtainMessage(); in deferMessage()
1258 sendMessage(obtainMessage(SM_QUIT_CMD, mSmHandlerObj)); in quit()
1264 sendMessageAtFrontOfQueue(obtainMessage(SM_QUIT_CMD, mSmHandlerObj)); in quitNow()
1609 public final Message obtainMessage() { in obtainMessage() method in StateMachine
1624 public final Message obtainMessage(int what) { in obtainMessage() method in StateMachine
1641 public final Message obtainMessage(int what, Object obj) { in obtainMessage() method in StateMachine
1658 public final Message obtainMessage(int what, int arg1) { in obtainMessage() method in StateMachine
1677 public final Message obtainMessage(int what, int arg1, int arg2) { in obtainMessage() method in StateMachine
1696 public final Message obtainMessage(int what, int arg1, int arg2, Object obj) { in obtainMessage() method in StateMachine
[all …]
/frameworks/base/core/java/android/printservice/
DPrintService.java401 mHandler.obtainMessage(ServiceHandler.MSG_START_PRINTER_DISCOVERY, in onBind()
412 mHandler.obtainMessage(ServiceHandler.MSG_VALIDATE_PRINTERS, in onBind()
418 mHandler.obtainMessage(ServiceHandler.MSG_START_PRINTER_STATE_TRACKING, in onBind()
424 mHandler.obtainMessage(ServiceHandler.MSG_REQUEST_CUSTOM_PRINTER_ICON, in onBind()
430 mHandler.obtainMessage(ServiceHandler.MSG_STOP_PRINTER_STATE_TRACKING, in onBind()
436 mHandler.obtainMessage(ServiceHandler.MSG_SET_CLIENT, client) in onBind()
442 mHandler.obtainMessage(ServiceHandler.MSG_ON_REQUEST_CANCEL_PRINTJOB, in onBind()
448 mHandler.obtainMessage(ServiceHandler.MSG_ON_PRINTJOB_QUEUED, in onBind()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasObexClientSession.java113 mHandler.obtainMessage(CONNECT).sendToTarget(); in start()
119 boolean status = mHandler.sendMessage(mHandler.obtainMessage(REQUEST, request)); in makeRequest()
145 mSessionHandler.obtainMessage(MSG_OBEX_CONNECTED).sendToTarget(); in connect()
168 mSessionHandler.obtainMessage(MSG_OBEX_DISCONNECTED).sendToTarget(); in disconnect()
174 mSessionHandler.obtainMessage(MSG_REQUEST_COMPLETED, request).sendToTarget(); in executeRequest()
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java171 dispatchMessage(obtainMessage(DO_FINISH_COMPOSING_TEXT)); in finishComposingText()
193 dispatchMessage(obtainMessage(DO_BEGIN_BATCH_EDIT)); in beginBatchEdit()
197 dispatchMessage(obtainMessage(DO_END_BATCH_EDIT)); in endBatchEdit()
211 dispatchMessage(obtainMessage(DO_CLOSE_CONNECTION)); in closeConnection()
584 Message obtainMessage(int what) { in obtainMessage() method in IInputConnectionWrapper
585 return mH.obtainMessage(what); in obtainMessage()
589 return mH.obtainMessage(what, arg1, arg2); in obtainMessageII()
593 return mH.obtainMessage(what, 0, 0, arg1); in obtainMessageO()
600 return mH.obtainMessage(what, arg1, 0, args); in obtainMessageISC()
608 return mH.obtainMessage(what, arg1, arg2, args); in obtainMessageIISC()
[all …]
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
DRemoteDisplayProvider.java331 mHandler.obtainMessage(MSG_SET_CALLBACK, callback).sendToTarget(); in setCallback()
336 mHandler.obtainMessage(MSG_SET_DISCOVERY_MODE, mode, 0).sendToTarget(); in setDiscoveryMode()
341 mHandler.obtainMessage(MSG_CONNECT, id).sendToTarget(); in connect()
346 mHandler.obtainMessage(MSG_DISCONNECT, id).sendToTarget(); in disconnect()
351 mHandler.obtainMessage(MSG_SET_VOLUME, volume, 0, id).sendToTarget(); in setVolume()
356 mHandler.obtainMessage(MSG_ADJUST_VOLUME, delta, 0, id).sendToTarget(); in adjustVolume()

12345678910>>...17