Home
last modified time | relevance | path

Searched refs:sendMessage (Results 1 – 25 of 90) sorted by relevance

1234

/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java110 mStateMachine.sendMessage(mStateMachine.obtainMessage(
453 mStateMachine.sendMessage(HeadsetClientStateMachine.CONNECT, device); in connect()
466 mStateMachine.sendMessage(HeadsetClientStateMachine.DISCONNECT, device); in disconnect()
514 mStateMachine.sendMessage(HeadsetClientStateMachine.VOICE_RECOGNITION_START); in startVoiceRecognition()
528 mStateMachine.sendMessage(HeadsetClientStateMachine.VOICE_RECOGNITION_STOP); in stopVoiceRecognition()
554 mStateMachine.sendMessage(HeadsetClientStateMachine.CONNECT_AUDIO); in connectAudio()
563 mStateMachine.sendMessage(HeadsetClientStateMachine.DISCONNECT_AUDIO); in disconnectAudio()
575 mStateMachine.sendMessage(msg); in holdCall()
588 mStateMachine.sendMessage(msg); in acceptCall()
601 mStateMachine.sendMessage(msg); in rejectCall()
[all …]
DHeadsetClientStateMachine.java397 sendMessage(QUERY_CURRENT_CALLS); in updateCallIndicator()
459 sendMessage(QUERY_CURRENT_CALLS); in updateCallSetupIndicator()
586 sendMessage(QUERY_CURRENT_CALLS); in updateCallHeldIndicator()
735 sendMessage(QUERY_CURRENT_CALLS); in updateRespAndHold()
1509 sendMessage(obtainMessage(HeadsetClientStateMachine.SET_SPEAKER_VOLUME, in processConnectionEvent()
1511 sendMessage(obtainMessage(HeadsetClientStateMachine.SET_MIC_VOLUME, in processConnectionEvent()
1515 sendMessage(HeadsetClientStateMachine.SUBSCRIBER_INFO); in processConnectionEvent()
2433 sendMessage(STACK_EVENT, event); in onConnectionStateChanged()
2441 sendMessage(STACK_EVENT, event); in onAudioStateChanged()
2448 sendMessage(STACK_EVENT, event); in onVrStateChanged()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java98 mStateMachine.sendMessage(HeadsetStateMachine.INTENT_BATTERY_CHANGED, intent);
102 mStateMachine.sendMessage(HeadsetStateMachine.INTENT_SCO_VOLUME_CHANGED,
345 mStateMachine.sendMessage(HeadsetStateMachine.CONNECT, device); in connect()
358 mStateMachine.sendMessage(HeadsetStateMachine.DISCONNECT, device); in disconnect()
403 mStateMachine.sendMessage(HeadsetStateMachine.VOICE_RECOGNITION_START); in startVoiceRecognition()
417 mStateMachine.sendMessage(HeadsetStateMachine.VOICE_RECOGNITION_STOP); in stopVoiceRecognition()
460 mStateMachine.sendMessage(HeadsetStateMachine.CONNECT_AUDIO); in connectAudio()
470 mStateMachine.sendMessage(HeadsetStateMachine.DISCONNECT_AUDIO); in disconnectAudio()
477 mStateMachine.sendMessage(HeadsetStateMachine.VIRTUAL_CALL_START, device); in startScoUsingVirtualVoiceCall()
487 mStateMachine.sendMessage(HeadsetStateMachine.VIRTUAL_CALL_STOP, device); in stopScoUsingVirtualVoiceCall()
[all …]
DHeadsetStateMachine.java3120 sendMessage(STACK_EVENT, event); in onConnectionStateChanged()
3127 sendMessage(STACK_EVENT, event); in onAudioStateChanged()
3134 sendMessage(STACK_EVENT, event); in onVrStateChanged()
3140 sendMessage(STACK_EVENT, event); in onAnswerCall()
3146 sendMessage(STACK_EVENT, event); in onHangupCall()
3154 sendMessage(STACK_EVENT, event); in onVolumeChanged()
3161 sendMessage(STACK_EVENT, event); in onDialCall()
3168 sendMessage(STACK_EVENT, event); in onSendDtmf()
3175 sendMessage(STACK_EVENT, event); in onNoiceReductionEnable()
3182 sendMessage(STACK_EVENT, event); in onWBS()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java410 mHandler.sendMessage(msg); in connect()
417 mHandler.sendMessage(msg); in disconnect()
472 mHandler.sendMessage(msg); in getProtocolMode()
486 mHandler.sendMessage(msg); in virtualUnplug()
500 mHandler.sendMessage(msg); in setProtocolMode()
518 mHandler.sendMessage(msg); in getReport()
535 mHandler.sendMessage(msg); in setReport()
562 mHandler.sendMessage(msg); in onGetProtocolMode()
572 mHandler.sendMessage(msg); in onGetReport()
579 mHandler.sendMessage(msg); in onHandshake()
[all …]
/packages/apps/Browser/src/com/android/browser/
DDataController.java103 mDataHandler.sendMessage(HISTORY_UPDATE_VISITED, url); in updateVisitedHistory()
107 mDataHandler.sendMessage(HISTORY_UPDATE_TITLE, new String[] { url, title }); in updateHistoryTitle()
116 mDataHandler.sendMessage(QUERY_URL_IS_BOOKMARK, url.trim(), replyTo); in queryBookmarkStatus()
120 mDataHandler.sendMessage(TAB_LOAD_THUMBNAIL, tab); in loadThumbnail()
124 mDataHandler.sendMessage(TAB_DELETE_THUMBNAIL, tab.getId()); in deleteThumbnail()
128 mDataHandler.sendMessage(TAB_SAVE_THUMBNAIL, tab); in saveThumbnail()
153 void sendMessage(int what, Object obj) { in sendMessage() method in DataController.DataControllerHandler
158 void sendMessage(int what, Object obj, Object replyTo) { in sendMessage() method in DataController.DataControllerHandler
/packages/apps/Nfc/tests/src/com/android/nfc/snep/
DSnepBasicTests.java57 client.sendMessage(SnepMessage.getGetRequest(ACCEPTABLE_LENGTH, getSmallNdef())); in testGetSmallNdef()
88 client.sendMessage(SnepMessage.getGetRequest(ACCEPTABLE_LENGTH, getNdef(900))); in testGetLargeNdef()
119 client.sendMessage(SnepMessage.getGetRequest(10, getSmallNdef())); in testGetExcessiveNdef()
150 client.sendMessage(SnepMessage.getPutRequest(getSmallNdef())); in testPutSmallNdef()
181 client.sendMessage(SnepMessage.getPutRequest(getNdef(900))); in testPutLargeNdef()
215 client.sendMessage(request); in testUnsupportedVersion()
251 client.sendMessage(request); in testDifferentMinorVersion()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java192 mHandler.sendMessage(newMsg);
221 sendMessage(obtainMessage(EVENT_LOADED_FROM_DEFAULT, phoneId, -1));
244 sendMessage(obtainMessage(EVENT_FETCH_CARRIER, phoneId));
260 sendMessage(newMsg);
292 sendMessage(obtainMessage(EVENT_LOADED_FROM_CARRIER, phoneId, -1));
615 mHandler.sendMessage(mHandler.obtainMessage(EVENT_FETCH_DEFAULT, phoneId, -1)); in updateConfigForPhoneId()
677 mHandler.sendMessage(mHandler.obtainMessage(EVENT_CLEAR_CONFIG, phoneId, -1)); in updateConfigForPhoneId()
716 mHandler.sendMessage(mHandler.obtainMessage(eventId, phoneId, -1, this)); in onServiceConnected()
742 mHandler.sendMessage( in onReceive()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcp.java391 mHandler.sendMessage(msg1); in handleMessage()
754 mHandler.sendMessage(msg); in getRcFeatures()
759 mHandler.sendMessage(msg); in getPlayStatus()
769 mHandler.sendMessage(msg); in getElementAttr()
774 mHandler.sendMessage(msg); in registerNotification()
821 mHandler.sendMessage(msg); in fastForward()
826 mHandler.sendMessage(msg); in rewind()
966 mHandler.sendMessage(msg); in adjustVolume()
977 mHandler.sendMessage(msg); in setAbsoluteVolume()
989 mHandler.sendMessage(msg); in volumeChangeCallback()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java209 mHandler.sendMessage(m); in onProfileConnectionStateChanged()
222 mHandler.sendMessage(m); in initProfilePriorities()
288 mHandler.sendMessage(m); in onProfileServiceStateChanged()
326 … mAdapterStateMachine.sendMessage(mAdapterStateMachine.obtainMessage(AdapterState.BLE_STARTED)); in processProfileServiceStateChanged()
333 … mAdapterStateMachine.sendMessage(mAdapterStateMachine.obtainMessage(AdapterState.BLE_STOPPED)); in processProfileServiceStateChanged()
360 … mAdapterStateMachine.sendMessage(mAdapterStateMachine.obtainMessage(AdapterState.BREDR_STOPPED)); in processProfileServiceStateChanged()
386 … mAdapterStateMachine.sendMessage(mAdapterStateMachine.obtainMessage(AdapterState.BREDR_STARTED)); in processProfileServiceStateChanged()
515 … mAdapterStateMachine.sendMessage(mAdapterStateMachine.obtainMessage(AdapterState.BREDR_STARTED)); in startCoreServices()
520 … mAdapterStateMachine.sendMessage(mAdapterStateMachine.obtainMessage(AdapterState.BEGIN_DISABLE)); in startBluetoothDisable()
1380 mAdapterStateMachine.sendMessage(m); in enable()
[all …]
DBondStateMachine.java363 sendMessage(msg); in bondStateChangeCallback()
413 sendMessage(msg); in sspRequestCallback()
430 sendMessage(msg); in pinRequestCallback()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DUserPresetsManager.java76 mProcessingHandler.sendMessage(msg); in load()
95 mProcessingHandler.sendMessage(msg); in save()
101 mProcessingHandler.sendMessage(msg); in delete()
115 mProcessingHandler.sendMessage(msg); in update()
122 mResultHandler.sendMessage(msg); in processLoad()
/packages/apps/LegacyCamera/src/com/android/camera/
DEffectsRecorder.java445 sendMessage(mCurrentEffect, EFFECT_MSG_SWITCHING_EFFECT); in initializeEffect()
453 sendMessage(EFFECT_BACKDROPPER, EFFECT_MSG_STARTED_LEARNING); in initializeEffect()
616 sendMessage(mCurrentEffect, EFFECT_MSG_PREVIEW_RUNNING);
627 sendMessage(EFFECT_BACKDROPPER, EFFECT_MSG_DONE_LEARNING);
638 sendMessage(EFFECT_NONE, EFFECT_MSG_RECORDING_DONE);
836 sendMessage(EFFECT_NONE, EFFECT_MSG_EFFECTS_STOPPED);
860 private void sendMessage(final int effect, final int msg) { in sendMessage() method in EffectsRecorder
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepServer.java147 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
156 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
159 messenger.sendMessage(callback.doGet(request.getAcceptableLength(), in handleRequest()
163 messenger.sendMessage(callback.doPut(request.getNdefMessage())); in handleRequest()
166 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
DSnepClient.java105 messenger.sendMessage(SnepMessage.getPutRequest(msg)); in put()
124 messenger.sendMessage(SnepMessage.getGetRequest(mAcceptableLength, msg)); in get()
/packages/apps/Camera/src/com/android/camera/
DEffectsRecorder.java618 sendMessage(mCurrentEffect, EFFECT_MSG_SWITCHING_EFFECT); in initializeEffect()
628 sendMessage(EFFECT_BACKDROPPER, EFFECT_MSG_STARTED_LEARNING); in initializeEffect()
745 sendMessage(EFFECT_BACKDROPPER, EFFECT_MSG_DONE_LEARNING); in invokeOnLearningDone()
806 sendMessage(EFFECT_BACKDROPPER, EFFECT_MSG_STARTED_LEARNING); in invokeOnRunnerDone()
813 sendMessage(EFFECT_NONE, EFFECT_MSG_EFFECTS_STOPPED); in invokeOnRunnerDone()
876 sendMessage(mCurrentEffect, EFFECT_MSG_PREVIEW_RUNNING); in invokeOnSurfaceTextureSourceReady()
883 sendMessage(EFFECT_NONE, EFFECT_MSG_RECORDING_DONE); in invokeOnRecordingDone()
1137 private void sendMessage(final int effect, final int msg) { in sendMessage() method in EffectsRecorder
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java237 sendMessage(NfcService.MSG_NDEF_TAG, tag); in onRemoteEndpointDiscovered()
269 sendMessage(NfcService.MSG_LLCP_LINK_ACTIVATION, device); in onLlcpLinkActivated()
277 sendMessage(NfcService.MSG_LLCP_LINK_DEACTIVATED, device); in onLlcpLinkDeactivated()
285 sendMessage(NfcService.MSG_LLCP_LINK_FIRST_PACKET, device); in onLlcpFirstPacketReceived()
290 sendMessage(NfcService.MSG_RF_FIELD_ACTIVATED, null); in onRemoteFieldActivated()
295 sendMessage(NfcService.MSG_RF_FIELD_DEACTIVATED, null); in onRemoteFieldDeactivated()
1634 sendMessage(MSG_MOCK_NDEF, msg); in sendMockNdefTag()
1642 mHandler.sendMessage(msg); in routeAids()
1646 sendMessage(MSG_UNROUTE_AID, aid); in unrouteAids()
1657 void sendMessage(int what, Object obj) { in sendMessage() method in NfcService
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
DHealthService.java413 mHandler.sendMessage(msg); in registerAppConfiguration()
424 mHandler.sendMessage(msg); in unregisterAppConfiguration()
449 mHandler.sendMessage(msg); in disconnectChannel()
491 mHandler.sendMessage(msg); in onAppRegistrationState()
500 mHandler.sendMessage(msg); in onChannelStateChanged()
586 mHandler.sendMessage(msg); in connectChannel()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DProcessingTask.java48 mProcessingHandler.sendMessage(msg); in postRequest()
57 mResultHandler.sendMessage(msg); in postUpdate()
65 mResultHandler.sendMessage(msg); in processRequest()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmService.java588 mFmServiceHandler.sendMessage(msg); in powerUpAsync()
726 mFmServiceHandler.sendMessage(msg); in tuneStationAsync()
774 mFmServiceHandler.sendMessage(msg); in seekStationAsync()
883 mFmServiceHandler.sendMessage(msg); in setRdsAsync()
949 mFmServiceHandler.sendMessage(msg); in setMuteAsync()
1064 mFmServiceHandler.sendMessage(msg); in switchAntennaAsync()
1150 mFmServiceHandler.sendMessage(msg); in saveRecordingAsync()
1187 mFmServiceHandler.sendMessage(msg); in setRecordingModeAsync()
2029 mFmServiceHandler.sendMessage(msg); in updateAudioFocusAync()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java140 sendMessage(MSG_START_BLE_SCAN, client); in startScan()
144 sendMessage(MSG_STOP_BLE_SCAN, client); in stopScan()
148 sendMessage(MSG_FLUSH_BATCH_RESULTS, client); in flushBatchScanResults()
159 private void sendMessage(int what, ScanClient client) { in sendMessage() method in ScanManager
163 mHandler.sendMessage(message); in sendMessage()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java130 mSender.sendMessage(message.mId); in testSendMessageWithBody()
160 mSender.sendMessage(message.mId); in testSendMessageWithEmptyAttachment()
241 mSender.sendMessage(-1); in testEmptyLineResponse()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DMenuExecutor.java156 mHandler.sendMessage( in onProgressUpdate()
161 mHandler.sendMessage(mHandler.obtainMessage(MSG_TASK_START, listener)); in onProgressStart()
165 mHandler.sendMessage(mHandler.obtainMessage(MSG_TASK_COMPLETE, result, 0, listener)); in onProgressComplete()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java354 mServiceHandler.sendMessage(msg); in onStart()
697 mServiceHandler.sendMessage(msg); in sendResponse()
742 mServiceHandler.sendMessage(msg); in callDelayedMsg()
750 mServiceHandler.sendMessage(msg); in callSetActivityInstMsg()
1618 mServiceHandler.sendMessage(message); in launchOpenChannelDialog()
1630 mServiceHandler.sendMessage(message); in launchOpenChannelDialog()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java265 mHandler.sendMessage(msg); in connect()
272 mHandler.sendMessage(msg); in disconnect()
359 mHandler.sendMessage(msg); in onConnectStateChanged()

1234