Home
last modified time | relevance | path

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

123456789

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestBroadcastActivity.java110 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
124 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
139 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
153 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
167 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
181 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
195 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
209 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
223 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
237 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandlerTest.java91 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_STR_START)); in testSrcStart()
101 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_STR_STOP)); in testSrcStop()
110 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SNK_PLAY)); in testSnkPlay()
119 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SNK_PAUSE)); in testSnkPause()
130 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.DISCONNECT)); in testDisconnect()
138 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_PLAY)); in testSrcPlay()
148 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_PLAY)); in testSrcPlayIot()
157 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_PLAY)); in testSrcPause()
168 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.AUDIO_FOCUS_CHANGE, in testFocusGain()
180 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.AUDIO_FOCUS_CHANGE, in testFocusTransientMayDuck()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/statemachine/
DStateMachine.java971 sendMessageAtFrontOfQueue(obtainMessage(SM_INIT_CMD, mSmHandlerObj)); in completeConstruction()
1248 Message newMsg = obtainMessage(); in deferMessage()
1257 sendMessage(obtainMessage(SM_QUIT_CMD, mSmHandlerObj)); in quit()
1263 sendMessageAtFrontOfQueue(obtainMessage(SM_QUIT_CMD, mSmHandlerObj)); in quitNow()
1608 public final Message obtainMessage() { in obtainMessage() method in StateMachine
1623 public final Message obtainMessage(int what) { in obtainMessage() method in StateMachine
1640 public final Message obtainMessage(int what, Object obj) { in obtainMessage() method in StateMachine
1657 public final Message obtainMessage(int what, int arg1) { in obtainMessage() method in StateMachine
1676 public final Message obtainMessage(int what, int arg1, int arg2) { in obtainMessage() method in StateMachine
1695 public final Message obtainMessage(int what, int arg1, int arg2, Object obj) { in obtainMessage() method in StateMachine
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DTimerHandler.java93 obtainMessage(MSG_REPEAT_KEY, key.getCode(), repeatCount, tracker), delay); in startKeyRepeatTimerOf()
119 sendMessageDelayed(obtainMessage(messageId, tracker), delay); in startLongPressTimerOf()
161 obtainMessage(MSG_TYPING_STATE_EXPIRED), mIgnoreAltCodeKeyTimeout); in startTypingStateTimer()
175 sendMessageDelayed(obtainMessage(MSG_DOUBLE_TAP_SHIFT_KEY), in startDoubleTapShiftKeyTimer()
206 sendMessageDelayed(obtainMessage(MSG_UPDATE_BATCH_INPUT, tracker), in startUpdateBatchInputTimer()
221 sendMessageDelayed(obtainMessage(MSG_DISMISS_KEY_PREVIEW, key), delay); in postDismissKeyPreview()
225 sendMessageDelayed(obtainMessage(MSG_DISMISS_GESTURE_FLOATING_PREVIEW_TEXT), delay); in postDismissGestureFloatingPreviewText()
/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceFocusManager.java182 .obtainMessage(MSG_ADD_CALL,
197 .obtainMessage(MSG_REMOVE_CALL,
212 .obtainMessage(MSG_CALL_STATE_CHANGED, oldState, newState,
224 .obtainMessage(MSG_REMOVE_CALL,
232 .obtainMessage(MSG_ADD_CALL,
252 .obtainMessage(MSG_RELEASE_CONNECTION_FOCUS,
264 .obtainMessage(MSG_CONNECTION_SERVICE_DEATH,
296 mEventHandler.obtainMessage(MSG_REQUEST_FOCUS, in requestFocus()
403 Message msg = mEventHandler.obtainMessage( in handleRequestFocus()
DDtmfLocalTonePlayer.java166 getHandler().obtainMessage(EVENT_PLAY_TONE, (int) c, 0, Log.createSubsession())); in playTone()
181 getHandler().obtainMessage(EVENT_STOP_TONE, Log.createSubsession())); in stopTone()
207 getHandler().obtainMessage(EVENT_START_SESSION, Log.createSubsession())); in startDtmfSession()
224 getHandler().obtainMessage(EVENT_END_SESSION, Log.createSubsession())); in endDtmfSession()
/packages/services/Car/car-lib/src/android/car/trust/
DCarTrustAgentEnrollmentManager.java458 enrollmentManager.getEventCallbackHandler().obtainMessage( in onEnrollmentHandshakeFailure()
472 enrollmentManager.getEventCallbackHandler().obtainMessage( in onAuthStringAvailable()
486 Message message = enrollmentManager.getEventCallbackHandler().obtainMessage( in onEscrowTokenAdded()
503 Message message = enrollmentManager.getEventCallbackHandler().obtainMessage( in onEscrowTokenRemoved()
520 Message message = enrollmentManager.getEventCallbackHandler().obtainMessage( in onEscrowTokenActiveStateChanged()
547 enrollmentManager.getEventCallbackHandler().obtainMessage( in onEnrollmentAdvertisingStarted()
561 enrollmentManager.getEventCallbackHandler().obtainMessage( in onEnrollmentAdvertisingFailed()
574 enrollmentManager.getEventCallbackHandler().obtainMessage( in onBleEnrollmentDeviceConnected()
587 enrollmentManager.getEventCallbackHandler().obtainMessage( in onBleEnrollmentDeviceDisconnected()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunkIoHelper.java198 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_OPEN_WRITE, i)); in init()
241 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_READ, index)); in readSample()
260 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_WRITE, params)); in writeSample()
273 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_OPEN_READ, params)); in openRead()
285 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_UPDATE_INDEX, params)); in updateIndex()
294 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_CLOSE_READ, index)); in closeRead()
313 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_RELEASE, conditionVariable)); in release()
414 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_READ, index)); in doOpenRead()
446 mIoHandler.obtainMessage(MSG_READ, index), READ_RESCHEDULING_DELAY_MS); in doRead()
470 mIoHandler.obtainMessage(MSG_READ, index), READ_RESCHEDULING_DELAY_MS); in doRead()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidHostService.java519 Message msg = mHandler.obtainMessage(MESSAGE_CONNECT, device); in connect()
532 Message msg = mHandler.obtainMessage(MESSAGE_DISCONNECT, device); in disconnect()
634 Message msg = mHandler.obtainMessage(MESSAGE_GET_PROTOCOL_MODE, device); in getProtocolMode()
649 Message msg = mHandler.obtainMessage(MESSAGE_VIRTUAL_UNPLUG, device); in virtualUnplug()
662 Message msg = mHandler.obtainMessage(MESSAGE_SET_PROTOCOL_MODE); in setProtocolMode()
677 Message msg = mHandler.obtainMessage(MESSAGE_GET_REPORT); in getReport()
696 Message msg = mHandler.obtainMessage(MESSAGE_SET_REPORT); in setReport()
725 Message msg = mHandler.obtainMessage(MESSAGE_GET_IDLE_TIME, device); in getIdleTime()
736 Message msg = mHandler.obtainMessage(MESSAGE_SET_IDLE_TIME); in setIdleTime()
747 Message msg = mHandler.obtainMessage(MESSAGE_ON_GET_PROTOCOL_MODE); in onGetProtocolMode()
[all …]
DHidDeviceService.java266 Message message = mHandler.obtainMessage(MESSAGE_IMPORTANCE_CHANGE);
829 Message msg = mHandler.obtainMessage(MESSAGE_APPLICATION_STATE_CHANGED); in onApplicationStateChangedFromNative()
841 Message msg = mHandler.obtainMessage(MESSAGE_CONNECT_STATE_CHANGED); in onConnectStateChangedFromNative()
852 Message msg = mHandler.obtainMessage(MESSAGE_GET_REPORT); in onGetReportFromNative()
866 Message msg = mHandler.obtainMessage(MESSAGE_SET_REPORT); in onSetReportFromNative()
878 Message msg = mHandler.obtainMessage(MESSAGE_SET_PROTOCOL); in onSetProtocolFromNative()
890 Message msg = mHandler.obtainMessage(MESSAGE_INTR_DATA); in onInterruptDataFromNative()
901 Message msg = mHandler.obtainMessage(MESSAGE_VC_UNPLUG); in onVirtualCableUnplugFromNative()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DSampleChunkIoHelper.java200 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_OPEN_WRITE, i)); in init()
283 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_READ, index)); in readSample()
304 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_WRITE, params)); in writeSample()
317 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_OPEN_READ, params)); in openRead()
329 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_UPDATE_INDEX, params)); in updateIndex()
338 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_CLOSE_READ, index)); in closeRead()
357 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_RELEASE, conditionVariable)); in release()
459 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_READ, index)); in doOpenRead()
491 mIoHandler.obtainMessage(MSG_READ, index), READ_RESCHEDULING_DELAY_MS); in doRead()
515 mIoHandler.obtainMessage(MSG_READ, index), READ_RESCHEDULING_DELAY_MS); in doRead()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DPhonePolicy.java110 mHandler.obtainMessage(MESSAGE_PROFILE_CONNECTION_STATE_CHANGED,
115 mHandler.obtainMessage(MESSAGE_PROFILE_CONNECTION_STATE_CHANGED,
120 mHandler.obtainMessage(MESSAGE_PROFILE_ACTIVE_DEVICE_CHANGED,
125 mHandler.obtainMessage(MESSAGE_PROFILE_ACTIVE_DEVICE_CHANGED,
130 mHandler.obtainMessage(MESSAGE_PROFILE_ACTIVE_DEVICE_CHANGED,
139 mHandler.obtainMessage(MESSAGE_ADAPTER_STATE_TURNED_ON).sendToTarget();
143 mHandler.obtainMessage(MESSAGE_PROFILE_INIT_PRIORITIES, intent).sendToTarget();
146 mHandler.obtainMessage(MESSAGE_DEVICE_CONNECTED, intent).sendToTarget();
461 Message m = mHandler.obtainMessage(MESSAGE_CONNECT_OTHER_PROFILES); in connectOtherProfile()
DActiveDeviceManager.java138 mHandler.obtainMessage(MESSAGE_ADAPTER_ACTION_STATE_CHANGED,
142 mHandler.obtainMessage(MESSAGE_A2DP_ACTION_CONNECTION_STATE_CHANGED,
146 mHandler.obtainMessage(MESSAGE_A2DP_ACTION_ACTIVE_DEVICE_CHANGED,
150 mHandler.obtainMessage(MESSAGE_HFP_ACTION_CONNECTION_STATE_CHANGED,
154 mHandler.obtainMessage(MESSAGE_HFP_ACTION_ACTIVE_DEVICE_CHANGED,
158 mHandler.obtainMessage(MESSAGE_HEARING_AID_ACTION_ACTIVE_DEVICE_CHANGED,
DSilenceDeviceManager.java91 mHandler.obtainMessage(MSG_A2DP_CONNECTION_STATE_CHANGED,
95 mHandler.obtainMessage(MSG_HFP_CONNECTION_STATE_CHANGED,
99 mHandler.obtainMessage(MSG_A2DP_ACTIVE_DEIVCE_CHANGED,
103 mHandler.obtainMessage(MSG_HFP_ACTIVE_DEVICE_CHANGED,
243 Message message = mHandler.obtainMessage(MSG_SILENCE_DEVICE_STATE_CHANGED, in setSilenceMode()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java252 Message newMsg = obtainMessage(EVENT_FETCH_DEFAULT_DONE, phoneId, -1); in handleMessage()
262 obtainMessage(EVENT_BIND_DEFAULT_TIMEOUT, phoneId, -1), in handleMessage()
309 obtainMessage( in handleMessage()
328 obtainMessage(EVENT_FETCH_DEFAULT_TIMEOUT, phoneId, -1), in handleMessage()
360 sendMessage(obtainMessage(EVENT_DO_FETCH_CARRIER, phoneId, -1)); in handleMessage()
378 Message newMsg = obtainMessage(EVENT_FETCH_CARRIER_DONE, phoneId, -1); in handleMessage()
386 obtainMessage(EVENT_BIND_CARRIER_TIMEOUT, phoneId, -1), in handleMessage()
433 obtainMessage( in handleMessage()
451 obtainMessage(EVENT_FETCH_CARRIER_TIMEOUT, phoneId, -1), in handleMessage()
614 mHandler.obtainMessage(EVENT_SUBSCRIPTION_INFO_UPDATED, phoneId, -1)); in notifySubscriptionInfoUpdater()
[all …]
DCallForwardEditPreference.java142 mHandler.obtainMessage(MyHandler.MESSAGE_SET_CF, in onDialogClosed()
184 mHandler.obtainMessage(MyHandler.MESSAGE_SET_CF, in onDialogClosed()
194 mHandler.sendMessage(mHandler.obtainMessage(mHandler.MESSAGE_SET_CF_USSD, in onDialogClosed()
242 mHandler.obtainMessage(MyHandler.MESSAGE_GET_CF, in startCallForwardOptionsQuery()
247 mHandler.sendMessage(mHandler.obtainMessage(mHandler.MESSAGE_GET_CF_USSD, in startCallForwardOptionsQuery()
487 obtainMessage(MESSAGE_GET_CF, msg.arg1, MESSAGE_SET_CF, ar.exception)); in handleSetCFResponse()
489 mHandler.sendMessage(mHandler.obtainMessage(mHandler.MESSAGE_GET_CF_USSD, in handleSetCFResponse()
529 return mHandler.obtainMessage(inputMsgWhat, in makeGetCfMessage()
536 return mHandler.obtainMessage(inputMsgWhat, in makeSetCfMessage()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DUserPresetsManager.java75 Message msg = mProcessingHandler.obtainMessage(LOAD); in load()
90 Message msg = mProcessingHandler.obtainMessage(SAVE); in save()
99 Message msg = mProcessingHandler.obtainMessage(DELETE); in delete()
110 Message msg = mProcessingHandler.obtainMessage(UPDATE); in update()
120 Message msg = mResultHandler.obtainMessage(LOAD_RESULT); in processLoad()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java217 sendMessageDelayed(mHandler.obtainMessage(ALERT_PAUSE_FINISHED), in onCreate()
255 sendMessageDelayed(mHandler.obtainMessage( in onCreate()
446 mHandler.sendMessage(mHandler.obtainMessage(ALERT_LED_FLASH_TOGGLE, 1, 0)); in playAlertTone()
455 mHandler.sendMessage(mHandler.obtainMessage(ALERT_SOUND_FINISHED)); in playAlertTone()
463 mHandler.sendMessageDelayed(mHandler.obtainMessage(ALERT_SOUND_FINISHED), in playAlertTone()
469 mHandler.sendMessage(mHandler.obtainMessage(ALERT_SOUND_FINISHED)); in playAlertTone()
517 mHandler.sendMessage(mHandler.obtainMessage(ALERT_SOUND_FINISHED)); in playAlertTone()
525 mHandler.sendMessageDelayed(mHandler.obtainMessage(ALERT_SOUND_FINISHED), in playAlertTone()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java191 mSessionStatusHandler.obtainMessage(CHECK_SECONDARY_VERSION_COUNTER)); in sendUpdateRequest()
249 Message msg = sm.obtainMessage(PbapStateMachine.AUTH_KEY_INPUT, sessionKey); in parseIntent()
383 mSessionStatusHandler.obtainMessage(MSG_RELEASE_WAKE_LOCK), in handleMessage()
587 mSessionStatusHandler.obtainMessage(GET_LOCAL_TELEPHONY_DETAILS)); in start()
588 mSessionStatusHandler.sendMessage(mSessionStatusHandler.obtainMessage(LOAD_CONTACTS)); in start()
589 mSessionStatusHandler.sendMessage(mSessionStatusHandler.obtainMessage(START_LISTENER)); in start()
600 mSessionStatusHandler.obtainMessage(SHUTDOWN).sendToTarget(); in stop()
797 Message msg = mSessionStatusHandler.obtainMessage(BluetoothPbapService.USER_TIMEOUT, in checkOrGetPhonebookPermission()
828 mSessionStatusHandler.sendMessage(mSessionStatusHandler.obtainMessage(START_LISTENER)); in onAcceptFailed()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java87 mUiHandler.obtainMessage(message.what, message.obj).sendToTarget();
90 mUiHandler.obtainMessage(message.what, message.obj).sendToTarget();
106 mUiHandler.obtainMessage(message.what, activeNotifications).sendToTarget();
212 mWorkerHandler.obtainMessage(MSG_NOTIFICATION_FULL_REFRESH).sendToTarget(); in onNotificationFullRefresh()
229 mWorkerHandler.obtainMessage(MSG_NOTIFICATION_POSTED, new NotificationPostedMsg(sbn)) in onNotificationPosted()
261 mWorkerHandler.obtainMessage(MSG_NOTIFICATION_REMOVED, packageUserKeyAndNotificationKey) in onNotificationRemoved()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DDishService.java70 Message msg = mHandler.obtainMessage(MSG_CANCEL_JOB, 0, 0, jobParameters); in onStopJob()
78 Message msg = mHandler.obtainMessage(MSG_RUN_JOB, 0, 0, jobParameters); in onStartJob()
116 Message msg = handler.obtainMessage(MSG_RUN_JOB, mMyDishNum + 1, 0, mJobParameter); in onPostExecute()
119 Message msg = handler.obtainMessage(MSG_FINISHED, 0, 0, mJobParameter); in onPostExecute()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java707 Message msg = sm.obtainMessage(HeadsetClientStateMachine.HOLD_CALL); in holdCall()
729 .obtainMessage(HeadsetClientStateMachine.TERMINATE_CALL) in acceptCall()
744 Message msg = sm.obtainMessage(HeadsetClientStateMachine.ACCEPT_CALL); in acceptCall()
764 Message msg = sm.obtainMessage(HeadsetClientStateMachine.REJECT_CALL); in rejectCall()
783 Message msg = sm.obtainMessage(HeadsetClientStateMachine.TERMINATE_CALL); in terminateCall()
803 Message msg = sm.obtainMessage(HeadsetClientStateMachine.ENTER_PRIVATE_MODE); in enterPrivateMode()
827 Message msg = sm.obtainMessage(HeadsetClientStateMachine.DIAL_NUMBER); in dial()
846 Message msg = sm.obtainMessage(HeadsetClientStateMachine.SEND_DTMF); in sendDTMF()
884 Message msg = sm.obtainMessage(HeadsetClientStateMachine.EXPLICIT_CALL_TRANSFER); in explicitCallTransfer()
903 Message msg = sm.obtainMessage(HeadsetClientStateMachine.SEND_VENDOR_AT_COMMAND, in sendVendorAtCommand()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java141 mHandler.obtainMessage(CONNECT).sendToTarget(); in AvrcpBipClient()
154 mHandler.obtainMessage(REFRESH_OBEX_SESSION).sendToTarget(); in refreshSession()
168 mHandler.obtainMessage(DISCONNECT).sendToTarget(); in shutdown()
209 boolean status = mHandler.sendMessage(mHandler.obtainMessage(REQUEST, request)); in getImageProperties()
222 boolean status = mHandler.sendMessage(mHandler.obtainMessage(REQUEST, request)); in getImage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DPaymentBackend.java192 mHandler.obtainMessage().sendToTarget(); in onPackageAdded()
197 mHandler.obtainMessage().sendToTarget(); in onPackageAppeared()
202 mHandler.obtainMessage().sendToTarget(); in onPackageDisappeared()
207 mHandler.obtainMessage().sendToTarget(); in onPackageRemoved()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentBackend.java192 mHandler.obtainMessage().sendToTarget(); in onPackageAdded()
197 mHandler.obtainMessage().sendToTarget(); in onPackageAppeared()
202 mHandler.obtainMessage().sendToTarget(); in onPackageDisappeared()
207 mHandler.obtainMessage().sendToTarget(); in onPackageRemoved()

123456789