Home
last modified time | relevance | path

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

1234

/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,
323 mStateMachine.sendMessage(HeadsetStateMachine.CONNECT, device); in connect()
336 mStateMachine.sendMessage(HeadsetStateMachine.DISCONNECT, device); in disconnect()
381 mStateMachine.sendMessage(HeadsetStateMachine.VOICE_RECOGNITION_START); in startVoiceRecognition()
395 mStateMachine.sendMessage(HeadsetStateMachine.VOICE_RECOGNITION_STOP); in stopVoiceRecognition()
438 mStateMachine.sendMessage(HeadsetStateMachine.CONNECT_AUDIO); in connectAudio()
448 mStateMachine.sendMessage(HeadsetStateMachine.DISCONNECT_AUDIO); in disconnectAudio()
458 mStateMachine.sendMessage(HeadsetStateMachine.VIRTUAL_CALL_START, device); in startScoUsingVirtualVoiceCall()
468 mStateMachine.sendMessage(HeadsetStateMachine.VIRTUAL_CALL_STOP, device); in stopScoUsingVirtualVoiceCall()
[all …]
DHeadsetStateMachine.java1795 sendMessage(STACK_EVENT, event); in onConnectionStateChanged()
1802 sendMessage(STACK_EVENT, event); in onAudioStateChanged()
1808 sendMessage(STACK_EVENT, event); in onVrStateChanged()
1813 sendMessage(STACK_EVENT, event); in onAnswerCall()
1818 sendMessage(STACK_EVENT, event); in onHangupCall()
1825 sendMessage(STACK_EVENT, event); in onVolumeChanged()
1831 sendMessage(STACK_EVENT, event); in onDialCall()
1837 sendMessage(STACK_EVENT, event); in onSendDtmf()
1843 sendMessage(STACK_EVENT, event); in onNoiceReductionEnable()
1849 sendMessage(STACK_EVENT, event); in onAtChld()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java393 mHandler.sendMessage(msg); in connect()
400 mHandler.sendMessage(msg); in disconnect()
455 mHandler.sendMessage(msg); in getProtocolMode()
469 mHandler.sendMessage(msg); in virtualUnplug()
483 mHandler.sendMessage(msg); in setProtocolMode()
501 mHandler.sendMessage(msg); in getReport()
518 mHandler.sendMessage(msg); in setReport()
545 mHandler.sendMessage(msg); in onGetProtocolMode()
552 mHandler.sendMessage(msg); in onVirtualUnplug()
559 mHandler.sendMessage(msg); in onConnectStateChanged()
/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/src/com/android/nfc/
DNfcService.java282 sendMessage(NfcService.MSG_NDEF_TAG, tag); in onRemoteEndpointDiscovered()
290 sendMessage(NfcService.MSG_TARGET_DESELECTED, null); in onCardEmulationDeselected()
298 sendMessage(NfcService.MSG_CARD_EMULATION, aid); in onCardEmulationAidSelected()
306 sendMessage(NfcService.MSG_LLCP_LINK_ACTIVATION, device); in onLlcpLinkActivated()
314 sendMessage(NfcService.MSG_LLCP_LINK_DEACTIVATED, device); in onLlcpLinkDeactivated()
322 sendMessage(NfcService.MSG_LLCP_LINK_FIRST_PACKET, device); in onLlcpFirstPacketReceived()
327 sendMessage(NfcService.MSG_SE_FIELD_ACTIVATED, null); in onRemoteFieldActivated()
332 sendMessage(NfcService.MSG_SE_FIELD_DEACTIVATED, null); in onRemoteFieldDeactivated()
337 sendMessage(NfcService.MSG_SE_LISTEN_ACTIVATED, null); in onSeListenActivated()
342 sendMessage(NfcService.MSG_SE_LISTEN_DEACTIVATED, null); in onSeListenDeactivated()
[all …]
/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/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/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java159 mHandler.sendMessage(m); in onProfileConnectionStateChanged()
183 mHandler.sendMessage(m); in onProfileServiceStateChanged()
226 … mAdapterStateMachine.sendMessage(mAdapterStateMachine.obtainMessage(AdapterState.STOPPED)); in processProfileServiceStateChanged()
244 … mAdapterStateMachine.sendMessage(mAdapterStateMachine.obtainMessage(AdapterState.STARTED)); in processProfileServiceStateChanged()
304 … mAdapterStateMachine.sendMessage(mAdapterStateMachine.obtainMessage(AdapterState.STARTED)); in processStart()
309 … mAdapterStateMachine.sendMessage(mAdapterStateMachine.obtainMessage(AdapterState.BEGIN_DISABLE)); in startBluetoothDisable()
923 mAdapterStateMachine.sendMessage(m); in enable()
934 mAdapterStateMachine.sendMessage(m); in disable()
1046 mBondStateMachine.sendMessage(msg); in createBond()
1193 mBondStateMachine.sendMessage(msg); in removeBond()
/packages/apps/Gallery2/src/com/android/camera/
DEffectsRecorder.java619 sendMessage(mCurrentEffect, EFFECT_MSG_SWITCHING_EFFECT); in initializeEffect()
629 sendMessage(EFFECT_BACKDROPPER, EFFECT_MSG_STARTED_LEARNING); in initializeEffect()
746 sendMessage(EFFECT_BACKDROPPER, EFFECT_MSG_DONE_LEARNING); in invokeOnLearningDone()
807 sendMessage(EFFECT_BACKDROPPER, EFFECT_MSG_STARTED_LEARNING); in invokeOnRunnerDone()
814 sendMessage(EFFECT_NONE, EFFECT_MSG_EFFECTS_STOPPED); in invokeOnRunnerDone()
877 sendMessage(mCurrentEffect, EFFECT_MSG_PREVIEW_RUNNING); in invokeOnSurfaceTextureSourceReady()
884 sendMessage(EFFECT_NONE, EFFECT_MSG_RECORDING_DONE); in invokeOnRecordingDone()
1138 private void sendMessage(final int effect, final int msg) { in sendMessage() method in EffectsRecorder
/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/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/Settings/src/com/android/settings/applications/
DApplicationsState.java521 mBackgroundHandler.sendMessage(msg); in rebuild()
599 mMainHandler.sendMessage(msg); in handleRebuildList()
921 mMainHandler.sendMessage(msg);
966 mMainHandler.sendMessage(m); in handleMessage()
996 mMainHandler.sendMessage(m); in handleMessage()
1034 mMainHandler.sendMessage(m); in handleMessage()
1049 mMainHandler.sendMessage(m); in handleMessage()
/packages/apps/Mms/apptests/src/com/android/mms/tests/
DSmsSendIntentTestActivity.java68 sendMessage(1, 1); in onCreate()
82 sendMessage(5, 1); in onCreate()
89 sendMessage(1, 10); in onCreate()
140 private void sendMessage(int count, int dupeCount) { in sendMessage() method in SmsSendIntentTestActivity
/packages/apps/Phone/src/com/android/phone/
DBluetoothPhoneService.java604 mHandler.sendMessage(msg); in listCurrentCallsCdma()
608 mHandler.sendMessage(msg); in listCurrentCallsCdma()
846 mHandler.sendMessage(msg);
853 mHandler.sendMessage(msg);
866 mHandler.sendMessage(msg);
872 mHandler.sendMessage(msg);
DPhoneGlobals.java357 sendMessage(obtainMessage(EVENT_TTY_PREFERRED_MODE_CHANGED, 0));
629 mHandler.sendMessage(mHandler.obtainMessage(EVENT_TTY_PREFERRED_MODE_CHANGED, 0)); in onCreate()
1478 mHandler.sendMessage(mHandler.obtainMessage(EVENT_WIRED_HEADSET_PLUG, 0)); in onReceive()
1485 mHandler.sendMessage(mHandler.obtainMessage(EVENT_SIM_STATE_CHANGED, in onReceive()
1511 mHandler.sendMessage(mHandler.obtainMessage(EVENT_DOCK_STATE_CHANGED, 0)); in onReceive()
1517 mHandler.sendMessage(mHandler.obtainMessage(EVENT_TTY_PREFERRED_MODE_CHANGED, 0)); in onReceive()
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
DHealthService.java410 mHandler.sendMessage(msg); in registerAppConfiguration()
421 mHandler.sendMessage(msg); in unregisterAppConfiguration()
446 mHandler.sendMessage(msg); in disconnectChannel()
488 mHandler.sendMessage(msg); in onAppRegistrationState()
497 mHandler.sendMessage(msg); in onChannelStateChanged()
583 mHandler.sendMessage(msg); in connectChannel()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java294 mHandler.sendMessage(msg); in connect()
301 mHandler.sendMessage(msg); in disconnect()
383 mHandler.sendMessage(msg); in onConnectStateChanged()
451 mTetherAc.sendMessage(NetworkStateTracker.EVENT_NETWORK_CONNECTED, lp); in handlePanDeviceStateChange()
457 mTetherAc.sendMessage(NetworkStateTracker.EVENT_NETWORK_DISCONNECTED, lp); in handlePanDeviceStateChange()
/packages/apps/Mms/src/com/android/mms/ui/
DMessageListItem.java601 sendMessage(mMessageItem, MSG_LIST_PLAY); in onClick()
604 private void sendMessage(MessageItem messageItem, int message) { in sendMessage() method in MessageListItem
621 sendMessage(mMessageItem, MSG_LIST_EDIT); in onMessageListItemClick()
629 sendMessage(mMessageItem, MSG_LIST_DETAILS); // show the message details dialog in onMessageListItemClick()
703 sendMessage(msgItem, MSG_LIST_PLAY); in setOnClickListener()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DFilteringPipeline.java103 mUIHandler.sendMessage(uimsg); in handleMessage()
123 mUIHandler.sendMessage(uimsg); in handleMessage()
181 mProcessingHandler.sendMessage(msg); in postRenderingRequest()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java128 mSender.sendMessage(message.mId); in testSendMessageWithBody()
158 mSender.sendMessage(message.mId); in testSendMessageWithEmptyAttachment()
238 mSender.sendMessage(-1); in testEmptyLineResponse()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java199 mServiceHandler.sendMessage(msg); in onStart()
358 mServiceHandler.sendMessage(msg); in callDelayedMsg()
830 mServiceHandler.sendMessage(message); in launchOpenChannelDialog()
842 mServiceHandler.sendMessage(message); in launchOpenChannelDialog()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasOutboxService.java325 int sendMessage(File cacheDir, long msgId) throws IOException, MessagingException { in sendMessage() method in EasOutboxService
498 int result = sendMessage(cacheDir, msgId); in run()
535 public static void sendMessage(Context context, long accountId, Message msg) { in sendMessage() method in EasOutboxService
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DAvrcp.java376 mHandler.sendMessage(msg); in getPlayStatus()
386 mHandler.sendMessage(msg); in getElementAttr()
391 mHandler.sendMessage(msg); in registerNotification()
/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()

1234