Home
last modified time | relevance | path

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

12345678910>>...13

/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/opt/bluetooth/src/android/bluetooth/client/pbap/
DBluetoothPbapSession.java97 mParentHandler.obtainMessage(SESSION_DISCONNECTED).sendToTarget(); in handleMessage()
100 mParentHandler.obtainMessage(REQUEST_FAILED, mPendingRequest).sendToTarget(); in handleMessage()
114 mParentHandler.obtainMessage(SESSION_DISCONNECTED).sendToTarget(); in handleMessage()
117 mParentHandler.obtainMessage(REQUEST_FAILED, mPendingRequest).sendToTarget(); in handleMessage()
123 mParentHandler.obtainMessage(SESSION_CONNECTED).sendToTarget(); in handleMessage()
132 mParentHandler.obtainMessage(SESSION_DISCONNECTED).sendToTarget(); in handleMessage()
138 mParentHandler.obtainMessage(REQUEST_COMPLETED, msg.obj).sendToTarget(); in handleMessage()
143 mParentHandler.obtainMessage(REQUEST_FAILED, msg.obj).sendToTarget(); in handleMessage()
148 mParentHandler.obtainMessage(AUTH_REQUESTED).sendToTarget(); in handleMessage()
153 … .obtainMessage(BluetoothPbapObexSession.OBEX_SESSION_AUTHENTICATION_TIMEOUT), in handleMessage()
[all …]
DBluetoothPbapObexSession.java137 mSessionHandler.obtainMessage(OBEX_SESSION_FAILED).sendToTarget(); in run()
141 mSessionHandler.obtainMessage(OBEX_SESSION_CONNECTED).sendToTarget(); in run()
164 mSessionHandler.obtainMessage(OBEX_SESSION_REQUEST_COMPLETED, mRequest) in run()
167 mSessionHandler.obtainMessage(OBEX_SESSION_REQUEST_FAILED, mRequest) in run()
177 mSessionHandler.obtainMessage(OBEX_SESSION_DISCONNECTED).sendToTarget(); in run()
/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.java72 mHandler.sendMessageAtTime(mHandler.obtainMessage(2), now + 1); in testMessageOrder()
73 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now + 2); in testMessageOrder()
74 mHandler.sendMessageAtTime(mHandler.obtainMessage(4), now + 2); in testMessageOrder()
75 mHandler.sendMessageAtTime(mHandler.obtainMessage(0), now + 0); in testMessageOrder()
76 mHandler.sendMessageAtTime(mHandler.obtainMessage(1), now + 0); in testMessageOrder()
91 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now); in testAtFrontOfQueue()
92 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(2)); in testAtFrontOfQueue()
93 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(0)); in testAtFrontOfQueue()
99 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(1)); in testAtFrontOfQueue()
154 mHandler.sendMessage(mHandler.obtainMessage(0)); in testFieldIntegrity()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DConnectionServiceAdapterServant.java237 mHandler.obtainMessage(MSG_HANDLE_CREATE_CONNECTION_COMPLETE, args).sendToTarget();
242 mHandler.obtainMessage(MSG_SET_ACTIVE, connectionId).sendToTarget();
247 mHandler.obtainMessage(MSG_SET_RINGING, connectionId).sendToTarget();
252 mHandler.obtainMessage(MSG_SET_DIALING, connectionId).sendToTarget();
261 mHandler.obtainMessage(MSG_SET_DISCONNECTED, args).sendToTarget();
266 mHandler.obtainMessage(MSG_SET_ON_HOLD, connectionId).sendToTarget();
271 mHandler.obtainMessage(MSG_SET_RINGBACK_REQUESTED, ringback ? 1 : 0, 0, connectionId)
277 mHandler.obtainMessage(
287 mHandler.obtainMessage(MSG_SET_IS_CONFERENCED, args).sendToTarget();
295 mHandler.obtainMessage(MSG_ADD_CONFERENCE_CALL, args).sendToTarget();
[all …]
DInCallService.java108 mHandler.obtainMessage(MSG_SET_IN_CALL_ADAPTER, inCallAdapter).sendToTarget(); in setInCallAdapter()
113 mHandler.obtainMessage(MSG_ADD_CALL, call).sendToTarget(); in addCall()
118 mHandler.obtainMessage(MSG_UPDATE_CALL, call).sendToTarget(); in updateCall()
131 mHandler.obtainMessage(MSG_SET_POST_DIAL_WAIT, args).sendToTarget(); in setPostDialWait()
136 mHandler.obtainMessage(MSG_ON_AUDIO_STATE_CHANGED, audioState).sendToTarget(); in onAudioStateChanged()
141 mHandler.obtainMessage(MSG_BRING_TO_FOREGROUND, showDialpad ? 1 : 0, 0).sendToTarget(); in bringToForeground()
146 mHandler.obtainMessage(MSG_ON_CAN_ADD_CALL_CHANGED, canAddCall ? 1 : 0, 0) in onCanAddCallChanged()
DVideoCallbackServant.java110 mHandler.obtainMessage(MSG_RECEIVE_SESSION_MODIFY_REQUEST, videoProfile).sendToTarget();
120 mHandler.obtainMessage(MSG_RECEIVE_SESSION_MODIFY_RESPONSE, args).sendToTarget();
127 mHandler.obtainMessage(MSG_HANDLE_CALL_SESSION_EVENT, args).sendToTarget();
135 mHandler.obtainMessage(MSG_CHANGE_PEER_DIMENSIONS, args).sendToTarget();
142 mHandler.obtainMessage(MSG_CHANGE_CALL_DATA_USAGE, args).sendToTarget();
148 mHandler.obtainMessage(MSG_CHANGE_CAMERA_CAPABILITIES, cameraCapabilities)
DVideoCallImpl.java63 mHandler.obtainMessage(MSG_RECEIVE_SESSION_MODIFY_REQUEST, in receiveSessionModifyRequest()
74 mHandler.obtainMessage(MSG_RECEIVE_SESSION_MODIFY_RESPONSE, args).sendToTarget(); in receiveSessionModifyResponse()
79 mHandler.obtainMessage(MSG_HANDLE_CALL_SESSION_EVENT, event).sendToTarget(); in handleCallSessionEvent()
87 mHandler.obtainMessage(MSG_CHANGE_PEER_DIMENSIONS, args).sendToTarget(); in changePeerDimensions()
92 mHandler.obtainMessage(MSG_CHANGE_CALL_DATA_USAGE, dataUsage).sendToTarget(); in changeCallDataUsage()
97 mHandler.obtainMessage(MSG_CHANGE_CAMERA_CAPABILITIES, in changeCameraCapabilities()
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DImsVideoCallProvider.java96 mProviderHandler.obtainMessage(MSG_SET_CALLBACK, callback).sendToTarget(); in setCallback()
100 mProviderHandler.obtainMessage(MSG_SET_CAMERA, cameraId).sendToTarget(); in setCamera()
104 mProviderHandler.obtainMessage(MSG_SET_PREVIEW_SURFACE, surface).sendToTarget(); in setPreviewSurface()
108 mProviderHandler.obtainMessage(MSG_SET_DISPLAY_SURFACE, surface).sendToTarget(); in setDisplaySurface()
112 mProviderHandler.obtainMessage(MSG_SET_DEVICE_ORIENTATION, rotation).sendToTarget(); in setDeviceOrientation()
116 mProviderHandler.obtainMessage(MSG_SET_ZOOM, value).sendToTarget(); in setZoom()
120 mProviderHandler.obtainMessage( in sendSessionModifyRequest()
125 mProviderHandler.obtainMessage( in sendSessionModifyResponse()
130 mProviderHandler.obtainMessage(MSG_REQUEST_CAMERA_CAPABILITIES).sendToTarget(); in requestCameraCapabilities()
134 mProviderHandler.obtainMessage(MSG_REQUEST_CALL_DATA_USAGE).sendToTarget(); in requestCallDataUsage()
[all …]
DImsVideoCallProviderWrapper.java66 mHandler.obtainMessage(MSG_RECEIVE_SESSION_MODIFY_REQUEST, in receiveSessionModifyRequest()
77 mHandler.obtainMessage(MSG_RECEIVE_SESSION_MODIFY_RESPONSE, args).sendToTarget(); in receiveSessionModifyResponse()
82 mHandler.obtainMessage(MSG_HANDLE_CALL_SESSION_EVENT, event).sendToTarget(); in handleCallSessionEvent()
90 mHandler.obtainMessage(MSG_CHANGE_PEER_DIMENSIONS, args).sendToTarget(); in changePeerDimensions()
95 mHandler.obtainMessage(MSG_CHANGE_CALL_DATA_USAGE, dataUsage).sendToTarget(); in changeCallDataUsage()
100 mHandler.obtainMessage(MSG_CHANGE_CAMERA_CAPABILITIES, in changeCameraCapabilities()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java113 mHandler.obtainMessage(what, OP_SET_ICON, 0, icon.clone()).sendToTarget(); in setIcon()
121 mHandler.obtainMessage(what, OP_REMOVE_ICON, 0, null).sendToTarget(); in removeIcon()
128 mHandler.obtainMessage(MSG_DISABLE, state, 0, null).sendToTarget(); in disable()
156 mHandler.obtainMessage(MSG_SET_SYSTEMUI_VISIBILITY, vis, mask, null).sendToTarget(); in setSystemUiVisibility()
163 mHandler.obtainMessage(MSG_TOP_APP_WINDOW_CHANGED, menuVisible ? 1 : 0, 0, in topAppWindowChanged()
172 Message m = mHandler.obtainMessage(MSG_SHOW_IME_BUTTON, vis, backDisposition, token); in setImeWindowStatus()
181 mHandler.obtainMessage(MSG_SHOW_RECENT_APPS, in showRecentApps()
189 mHandler.obtainMessage(MSG_HIDE_RECENT_APPS, in hideRecentApps()
198 mHandler.obtainMessage(MSG_TOGGLE_RECENT_APPS, 0, 0, null).sendToTarget(); in toggleRecentApps()
205 mHandler.obtainMessage(MSG_PRELOAD_RECENT_APPS, 0, 0, null).sendToTarget(); in preloadRecentApps()
[all …]
/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.java316 obtainMessage(EVENT_SET_MSISDN_DONE, onComplete)); in setMsisdnNumber()
372 obtainMessage(EVENT_SET_MBDN_DONE, onComplete)); in setVoiceMailNumber()
378 obtainMessage(EVENT_SET_CPHS_MAILBOX_DONE, onComplete)); in setVoiceMailNumber()
427 obtainMessage (EVENT_UPDATE_DONE, EF_MWIS, 0)); in setVoiceMessageWaiting()
436 obtainMessage (EVENT_UPDATE_DONE, EF_VOICE_MAIL_INDICATOR_CPHS)); in setVoiceMessageWaiting()
527 obtainMessage (EVENT_UPDATE_DONE, EF_CFIS)); in setVoiceCallForwardingFlag()
544 obtainMessage (EVENT_UPDATE_DONE, EF_CFF_CPHS)); in setVoiceCallForwardingFlag()
697 mMailboxIndex, obtainMessage(EVENT_GET_MBDN_DONE)); in handleMessage()
703 obtainMessage(EVENT_GET_CPHS_MAILBOX_DONE)); in handleMessage()
735 obtainMessage(EVENT_GET_CPHS_MAILBOX_DONE)); in handleMessage()
[all …]
DIsimUiccRecords.java164 mFh.loadEFTransparent(EF_IMPI, obtainMessage( in fetchIsimRecords()
168 mFh.loadEFLinearFixedAll(EF_IMPU, obtainMessage( in fetchIsimRecords()
172 mFh.loadEFTransparent(EF_DOMAIN, obtainMessage( in fetchIsimRecords()
175 mFh.loadEFTransparent(EF_IST, obtainMessage( in fetchIsimRecords()
178 mFh.loadEFLinearFixedAll(EF_PCSCF, obtainMessage( in fetchIsimRecords()
308 mFh.loadEFTransparent(EF_IMPI, obtainMessage( in handleFileUpdate()
314 mFh.loadEFLinearFixedAll(EF_IMPU, obtainMessage( in handleFileUpdate()
320 mFh.loadEFTransparent(EF_DOMAIN, obtainMessage( in handleFileUpdate()
326 mFh.loadEFTransparent(EF_IST, obtainMessage( in handleFileUpdate()
332 mFh.loadEFLinearFixedAll(EF_PCSCF, obtainMessage( in handleFileUpdate()
[all …]
DAdnRecordLoader.java81 obtainMessage(EVENT_ADN_LOAD_DONE)); in loadFromEF()
99 obtainMessage(EVENT_ADN_LOAD_ALL_DONE)); in loadAllFromEF()
125 obtainMessage(EVENT_EF_LINEAR_RECORD_SIZE_DONE, adn)); in updateEF()
167 data, mPin2, obtainMessage(EVENT_UPDATE_RECORD_DONE)); in handleMessage()
208 obtainMessage(EVENT_EXT_RECORD_LOAD_DONE, adn)); in handleMessage()
258 obtainMessage(EVENT_EXT_RECORD_LOAD_DONE, adn)); in handleMessage()
DIccFileHandler.java151 = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, in loadEFLinearFixed()
168 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_IMG_DONE, in loadEFImgLinearFixed()
189 = obtainMessage(EVENT_GET_EF_LINEAR_RECORD_SIZE_DONE, in getEFLinearRecordSize()
205 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, in loadEFLinearFixedAll()
223 Message response = obtainMessage(EVENT_GET_BINARY_SIZE_DONE, in loadEFTransparent()
241 Message response = obtainMessage(EVENT_READ_BINARY_DONE, in loadEFTransparent()
260 Message response = obtainMessage(EVENT_READ_ICON_DONE, fileid, 0, in loadEFImgTransparent()
416 obtainMessage(EVENT_READ_RECORD_DONE, lc)); in handleMessage()
444 obtainMessage(EVENT_READ_BINARY_DONE, in handleMessage()
474 obtainMessage(EVENT_READ_RECORD_DONE, lc)); in handleMessage()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java947 sendMessageAtFrontOfQueue(obtainMessage(SM_INIT_CMD, mSmHandlerObj)); in completeConstruction()
1195 Message newMsg = obtainMessage(); in deferMessage()
1204 sendMessage(obtainMessage(SM_QUIT_CMD, mSmHandlerObj)); in quit()
1210 sendMessageAtFrontOfQueue(obtainMessage(SM_QUIT_CMD, mSmHandlerObj)); in quitNow()
1521 public final Message obtainMessage() { in obtainMessage() method in StateMachine
1536 public final Message obtainMessage(int what) { in obtainMessage() method in StateMachine
1553 public final Message obtainMessage(int what, Object obj) { in obtainMessage() method in StateMachine
1570 public final Message obtainMessage(int what, int arg1) { in obtainMessage() method in StateMachine
1589 public final Message obtainMessage(int what, int arg1, int arg2) { in obtainMessage() method in StateMachine
1608 public final Message obtainMessage(int what, int arg1, int arg2, Object obj) { in obtainMessage() method in StateMachine
[all …]
/frameworks/base/core/java/android/service/fingerprint/
DFingerprintManager.java114 mHandler.obtainMessage(MSG_ENROLL_RESULT, fingerprintId, remaining).sendToTarget();
118 mHandler.obtainMessage(MSG_ACQUIRED, acquireInfo, 0).sendToTarget();
122 mHandler.obtainMessage(MSG_PROCESSED, fingerprintId, 0).sendToTarget();
126 mHandler.obtainMessage(MSG_ERROR, error, 0).sendToTarget();
130 mHandler.obtainMessage(MSG_REMOVED, fingerprintId, 0).sendToTarget();
249 mHandler.obtainMessage(msg, arg1, arg2); in sendError()
/frameworks/base/core/java/android/os/
DCountDownTimer.java93 mHandler.sendMessage(mHandler.obtainMessage(MSG)); in start()
130 sendMessageDelayed(obtainMessage(MSG), millisLeft);
142 sendMessageDelayed(obtainMessage(MSG), delay);
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java147 dispatchMessage(obtainMessage(DO_FINISH_COMPOSING_TEXT)); in finishComposingText()
164 dispatchMessage(obtainMessage(DO_BEGIN_BATCH_EDIT)); in beginBatchEdit()
168 dispatchMessage(obtainMessage(DO_END_BATCH_EDIT)); in endBatchEdit()
450 Message obtainMessage(int what) { in obtainMessage() method in IInputConnectionWrapper
451 return mH.obtainMessage(what); in obtainMessage()
455 return mH.obtainMessage(what, arg1, arg2); in obtainMessageII()
459 return mH.obtainMessage(what, 0, 0, arg1); in obtainMessageO()
466 return mH.obtainMessage(what, arg1, 0, args); in obtainMessageISC()
473 return mH.obtainMessage(what, arg1, arg2, args); in obtainMessageIISC()
481 return mH.obtainMessage(what, 0, 0, args); in obtainMessageOSC()
[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()
/frameworks/base/core/java/android/printservice/
DPrintService.java360 mHandler.obtainMessage(ServiceHandler.MSG_START_PRINTER_DISCOVERY, in onBind()
371 mHandler.obtainMessage(ServiceHandler.MSG_VALIDATE_PRINTERS, in onBind()
377 mHandler.obtainMessage(ServiceHandler.MSG_START_PRINTER_STATE_TRACKING, in onBind()
383 mHandler.obtainMessage(ServiceHandler.MSG_STOP_PRINTER_STATE_TRACKING, in onBind()
389 mHandler.obtainMessage(ServiceHandler.MSG_SET_CLEINT, client) in onBind()
395 mHandler.obtainMessage(ServiceHandler.MSG_ON_REQUEST_CANCEL_PRINTJOB, in onBind()
401 mHandler.obtainMessage(ServiceHandler.MSG_ON_PRINTJOB_QUEUED, in onBind()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasObexClientSession.java73 mSessionHandler.obtainMessage(MSG_OBEX_CONNECTED).sendToTarget(); in run()
75 mSessionHandler.obtainMessage(MSG_OBEX_DISCONNECTED).sendToTarget(); in run()
101 mSessionHandler.obtainMessage(MSG_REQUEST_COMPLETED, oldReq).sendToTarget(); in run()
107 mSessionHandler.obtainMessage(MSG_OBEX_DISCONNECTED).sendToTarget(); in run()
/frameworks/base/core/java/android/service/notification/
DConditionProviderService.java111 mHandler.obtainMessage(H.ON_CONNECTED).sendToTarget(); in onConnected()
116 mHandler.obtainMessage(H.ON_REQUEST_CONDITIONS, relevance, 0).sendToTarget(); in onRequestConditions()
121 mHandler.obtainMessage(H.ON_SUBSCRIBE, conditionId).sendToTarget(); in onSubscribe()
126 mHandler.obtainMessage(H.ON_UNSUBSCRIBE, conditionId).sendToTarget(); in onUnsubscribe()

12345678910>>...13