Home
last modified time | relevance | path

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

12345678910>>...12

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMonitor.java243 private void sendMessage(String iface, int what) { in sendMessage() method in WifiMonitor
244 sendMessage(iface, Message.obtain(null, what)); in sendMessage()
247 private void sendMessage(String iface, int what, Object obj) { in sendMessage() method in WifiMonitor
248 sendMessage(iface, Message.obtain(null, what, obj)); in sendMessage()
251 private void sendMessage(String iface, int what, int arg1) { in sendMessage() method in WifiMonitor
252 sendMessage(iface, Message.obtain(null, what, arg1, 0)); in sendMessage()
255 private void sendMessage(String iface, int what, int arg1, int arg2) { in sendMessage() method in WifiMonitor
256 sendMessage(iface, Message.obtain(null, what, arg1, arg2)); in sendMessage()
259 private void sendMessage(String iface, int what, int arg1, int arg2, Object obj) { in sendMessage() method in WifiMonitor
260 sendMessage(iface, Message.obtain(null, what, arg1, arg2, obj)); in sendMessage()
[all …]
DWifiP2pConnection.java77 .sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in handleMessage()
135 public boolean sendMessage(int what) { in sendMessage() method in WifiP2pConnection
140 mWifiP2pChannel.sendMessage(what); in sendMessage()
145 public boolean sendMessage(int what, int arg1) { in sendMessage() method in WifiP2pConnection
150 mWifiP2pChannel.sendMessage(what, arg1); in sendMessage()
155 public boolean sendMessage(int what, int arg1, int arg2) { in sendMessage() method in WifiP2pConnection
160 mWifiP2pChannel.sendMessage(what, arg1, arg2); in sendMessage()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pMonitor.java178 private void sendMessage(String iface, int what) { in sendMessage() method in WifiP2pMonitor
179 sendMessage(iface, Message.obtain(null, what)); in sendMessage()
182 private void sendMessage(String iface, int what, Object obj) { in sendMessage() method in WifiP2pMonitor
183 sendMessage(iface, Message.obtain(null, what, obj)); in sendMessage()
186 private void sendMessage(String iface, int what, int arg1) { in sendMessage() method in WifiP2pMonitor
187 sendMessage(iface, Message.obtain(null, what, arg1, 0)); in sendMessage()
190 private void sendMessage(String iface, int what, int arg1, int arg2) { in sendMessage() method in WifiP2pMonitor
191 sendMessage(iface, Message.obtain(null, what, arg1, arg2)); in sendMessage()
194 private void sendMessage(String iface, int what, int arg1, int arg2, Object obj) { in sendMessage() method in WifiP2pMonitor
195 sendMessage(iface, Message.obtain(null, what, arg1, arg2, obj)); in sendMessage()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/
DCsipSetCoordinatorStateMachineTest.java136 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.STACK_EVENT, connStCh); in testIncomingPolicyReject()
157 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.STACK_EVENT, connStCh); in testIncomingPolicyAccept()
175 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.STACK_EVENT, connCompletedEvent); in testIncomingPolicyAccept()
198 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.CONNECT, mTestDevice); in testOutgoingTimeout()
238 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.STACK_EVENT, connStCh); in testIncomingTimeout()
284 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.DISCONNECT); in testProcessDisconnectMessage_onDisconnectedState()
292 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.CONNECT); in testProcessConnectMessage_onDisconnectedState()
297 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.CONNECT); in testProcessConnectMessage_onDisconnectedState()
313 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.STACK_EVENT, event); in testStackEvent_withoutStateChange_onDisconnectedState()
320 mStateMachine.sendMessage(CsipSetCoordinatorStateMachine.STACK_EVENT, event); in testStackEvent_withoutStateChange_onDisconnectedState()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsSubscriberManagerTest.java87 getMockHalClient().sendMessage( in testSubscribe()
107 getMockHalClient().sendMessage( in testSubscribeToPublisher()
125 getMockHalClient().sendMessage( in testSubscribeFromPublisher()
146 getMockHalClient().sendMessage( in testUnsubscribe()
164 getMockHalClient().sendMessage( in testSubscribeFromWrongPublisher()
183 getMockHalClient().sendMessage( in testUnsubscribeFromPublisher()
201 getMockHalClient().sendMessage( in testSubscribeAll()
228 getMockHalClient().sendMessage( in testSimpleAvailableLayers()
259 getMockHalClient().sendMessage( in testSimpleAvailableLayersAfterSubscription()
289 getMockHalClient().sendMessage( in testSimpleAvailableLayersAfterClear()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioModeStateMachineTest.java77 sm.sendMessage(CallAudioModeStateMachine.ABANDON_FOCUS_FOR_TESTING); in testNoFocusWhenRingerSilenced()
83 sm.sendMessage(CallAudioModeStateMachine.NEW_RINGING_CALL, new Builder() in testNoFocusWhenRingerSilenced()
109 sm.sendMessage(CallAudioModeStateMachine.ABANDON_FOCUS_FOR_TESTING); in testNoRingWhenDeviceIsAtEar()
110 sm.sendMessage(CallAudioModeStateMachine.NEW_HOLDING_CALL, new Builder() in testNoRingWhenDeviceIsAtEar()
123 sm.sendMessage(CallAudioModeStateMachine.NEW_RINGING_CALL, new Builder() in testNoRingWhenDeviceIsAtEar()
145 sm.sendMessage(CallAudioModeStateMachine.ABANDON_FOCUS_FOR_TESTING); in testRegainFocusWhenHfpIsConnectedSilenced()
151 sm.sendMessage(CallAudioModeStateMachine.NEW_RINGING_CALL, new Builder() in testRegainFocusWhenHfpIsConnectedSilenced()
172 sm.sendMessage(CallAudioModeStateMachine.RINGER_MODE_CHANGE); in testRegainFocusWhenHfpIsConnectedSilenced()
189 sm.sendMessage(CallAudioModeStateMachine.ABANDON_FOCUS_FOR_TESTING); in testDoNotRingTwiceWhenHfpConnected()
195 sm.sendMessage(CallAudioModeStateMachine.NEW_RINGING_CALL, new Builder() in testDoNotRingTwiceWhenHfpConnected()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pManager.java1609 c.mAsyncChannel.sendMessage(msg); in initializeChannel()
1652 channel.mAsyncChannel.sendMessage(prepareMessage(DISCOVER_PEERS, WIFI_P2P_SCAN_FULL, in discoverPeers()
1697 channel.mAsyncChannel.sendMessage(prepareMessage(DISCOVER_PEERS, WIFI_P2P_SCAN_SOCIAL, in discoverPeersOnSocialChannels()
1747 channel.mAsyncChannel.sendMessage(prepareMessage(DISCOVER_PEERS, WIFI_P2P_SCAN_SINGLE_FREQ, in discoverPeersOnSpecificFrequency()
1764 channel.mAsyncChannel.sendMessage(STOP_DISCOVERY, 0, channel.putListener(listener)); in stopPeerDiscovery()
1812 channel.mAsyncChannel.sendMessage(prepareMessage(CONNECT, 0, channel.putListener(listener), in connect()
1829 channel.mAsyncChannel.sendMessage(CANCEL_CONNECT, 0, channel.putListener(listener)); in cancelConnect()
1867 channel.mAsyncChannel.sendMessage(prepareMessage(CREATE_GROUP, in createGroup()
1915 channel.mAsyncChannel.sendMessage(prepareMessage(CREATE_GROUP, 0, in createGroup()
1932 channel.mAsyncChannel.sendMessage(REMOVE_GROUP, 0, channel.putListener(listener)); in removeGroup()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java187 mHeadsetClientStateMachine.sendMessage(StackEvent.STACK_EVENT, connStCh); in testIncomingPriorityReject()
219 mHeadsetClientStateMachine.sendMessage(StackEvent.STACK_EVENT, connStCh); in testIncomingPriorityAccept()
238 mHeadsetClientStateMachine.sendMessage(StackEvent.STACK_EVENT, slcEvent); in testIncomingPriorityAccept()
270 mHeadsetClientStateMachine.sendMessage(StackEvent.STACK_EVENT, connStCh); in testIncomingTimeout()
316 mHeadsetClientStateMachine.sendMessage(StackEvent.STACK_EVENT, connStCh); in testInBandRingtone()
335 mHeadsetClientStateMachine.sendMessage(StackEvent.STACK_EVENT, slcEvent); in testInBandRingtone()
358 mHeadsetClientStateMachine.sendMessage(StackEvent.STACK_EVENT, eventInBandRing); in testInBandRingtone()
371 mHeadsetClientStateMachine.sendMessage(StackEvent.STACK_EVENT, eventCallStatusUpdated); in testInBandRingtone()
388 mHeadsetClientStateMachine.sendMessage(StackEvent.STACK_EVENT, eventIncomingCall); in testInBandRingtone()
399 mHeadsetClientStateMachine.sendMessage(StackEvent.STACK_EVENT, eventCommandStatus); in testInBandRingtone()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java1102 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connect()
1109 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, in connect()
1119 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connect()
1131 mCmi.sendMessage(WifiMonitor.HS20_TERMS_AND_CONDITIONS_ACCEPTANCE_REQUIRED_EVENT, in connect()
1227 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, in setupEapSimConnection()
1253 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, in roamRaceWithConnect()
1264 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, in roamRaceWithConnect()
1284 mCmi.sendMessage(WifiMonitor.SUP_REQUEST_SIM_AUTH, requestData); in testSimAuthRequestIsHandledWhileAlreadyConnectedSuccess()
1302 mCmi.sendMessage(WifiMonitor.SUP_REQUEST_SIM_AUTH, requestData); in testSimAuthRequestIsHandledWhileAlreadyConnectedFail()
1317 mCmi.sendMessage(ClientModeImpl.CMD_RESET_SIM_NETWORKS, in testResetSimWhenNonConnectedSimRemoved()
[all …]
DMockWifiMonitor.java54 public void sendMessage(String iface, int what) { in sendMessage() method in MockWifiMonitor
55 sendMessage(iface, Message.obtain(null, what)); in sendMessage()
58 public void sendMessage(String iface, Message message) { in sendMessage() method in MockWifiMonitor
62 sendMessage(ifaceHandlers, message)); in sendMessage()
66 if (sendMessage(entry.getValue(), Message.obtain(message))) { in sendMessage()
75 private boolean sendMessage(SparseArray<Handler> ifaceHandlers, Message message) { in sendMessage() method in MockWifiMonitor
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java190 mHeadsetStateMachine.sendMessage(HeadsetStateMachine.CONNECT, mTestDevice); in testStateTransition_DisconnectedToConnecting_Connect()
206 mHeadsetStateMachine.sendMessage(HeadsetStateMachine.STACK_EVENT, in testStateTransition_DisconnectedToConnecting_StackConnected()
224 mHeadsetStateMachine.sendMessage(HeadsetStateMachine.STACK_EVENT, in testStateTransition_DisconnectedToConnecting_StackConnecting()
245 mHeadsetStateMachine.sendMessage(HeadsetStateMachine.STACK_EVENT, in testStateTransition_ConnectingToDisconnected_StackDisconnected()
256 mHeadsetStateMachine.sendMessage(HeadsetStateMachine.STACK_EVENT, in testStateTransition_ConnectingToDisconnected_StackDisconnected()
298 mHeadsetStateMachine.sendMessage(HeadsetStateMachine.STACK_EVENT, in testStateTransition_ConnectingToConnected_StackSlcConnected()
309 mHeadsetStateMachine.sendMessage(HeadsetStateMachine.STACK_EVENT, in testStateTransition_ConnectingToConnected_StackSlcConnected()
321 mHeadsetStateMachine.sendMessage(HeadsetStateMachine.STACK_EVENT, in testStateTransition_ConnectingToConnected_StackSlcConnected()
344 mHeadsetStateMachine.sendMessage(HeadsetStateMachine.STACK_EVENT, in testStateTransition_DisconnectingToDisconnected_StackDisconnected()
387 mHeadsetStateMachine.sendMessage(HeadsetStateMachine.STACK_EVENT, in testStateTransition_DisconnectingToConnected_StackSlcCconnected()
[all …]
DHeadsetServiceTest.java244 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.CONNECT, in testConnectDevice_connectDeviceBelowLimit()
262 verify(mStateMachines.get(mCurrentDevice)).sendMessage(eq(HeadsetStateMachine.CONNECT), in testConnectDevice_connectDeviceBelowLimit()
281 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.STACK_EVENT, in testMessageFromNative_deviceConnected()
295 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.STACK_EVENT, in testMessageFromNative_deviceConnected()
318 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.STACK_EVENT, in testMessageFromNative_deviceConnectingUnknown()
360 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.CONNECT, in testConnectDevice_connectDeviceAboveLimit()
362 verify(mStateMachines.get(mCurrentDevice)).sendMessage(eq(HeadsetStateMachine.CONNECT), in testConnectDevice_connectDeviceAboveLimit()
408 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.CONNECT, in testConnectAudio_withOneDevice()
425 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.CONNECT_AUDIO, in testConnectAudio_withOneDevice()
433 verify(mStateMachines.get(mCurrentDevice)).sendMessage( in testConnectAudio_withOneDevice()
[all …]
/packages/apps/Nfc/src/com/android/nfc/sneptest/
DDtaSnepClient.java94 dtaServiceConnector.sendMessage(SnepMessage.getSmallNdef().toString()); in DtaClientOperations()
109 dtaServiceConnector.sendMessage(SnepMessage.getSmallNdef().toString()); in DtaClientOperations()
124 dtaServiceConnector.sendMessage(SnepMessage.getSmallNdef().toString()); in DtaClientOperations()
139 dtaServiceConnector.sendMessage(SnepMessage.getSmallNdef().toString()); in DtaClientOperations()
154 dtaServiceConnector.sendMessage(SnepMessage.getLargeNdef().toString()); in DtaClientOperations()
169 dtaServiceConnector.sendMessage(SnepMessage.getLargeNdef().toString()); in DtaClientOperations()
184 dtaServiceConnector.sendMessage(SnepMessage.getSmallNdef().toString()); in DtaClientOperations()
199 dtaServiceConnector.sendMessage(SnepMessage.getSmallNdef().toString()); in DtaClientOperations()
214 dtaServiceConnector.sendMessage(SnepMessage.getSmallNdef().toString()); in DtaClientOperations()
239 messenger.sendMessage(SnepMessage.getPutRequest(msg)); in put()
[all …]
DExtDtaSnepServer.java120 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
127 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
131 messenger.sendMessage(SnepMessage.getMessage(SnepMessage.RESPONSE_REJECT)); in handleRequest()
134 … messenger.sendMessage(callback.doGet(request.getAcceptableLength(), request.getNdefMessage())); in handleRequest()
136 dtaServiceConnector.sendMessage(request.getNdefMessage().toString()); in handleRequest()
139 messenger.sendMessage(callback.doPut(request.getNdefMessage())); in handleRequest()
141 dtaServiceConnector.sendMessage(request.getNdefMessage().toString()); in handleRequest()
144 messenger.sendMessage(SnepMessage.getMessage(SnepMessage.RESPONSE_BAD_REQUEST)); in handleRequest()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java1702 mIkeSessionStateMachine.sendMessage(IkeSessionStateMachine.CMD_LOCAL_REQUEST_CREATE_IKE); in testCreateIkeLocalIkeInitNegotiatesDhGroup()
1714 mIkeSessionStateMachine.sendMessage(IkeSessionStateMachine.CMD_RECEIVE_IKE_PACKET, resp); in testCreateIkeLocalIkeInitNegotiatesDhGroup()
1732 mIkeSessionStateMachine.sendMessage(IkeSessionStateMachine.CMD_LOCAL_REQUEST_CREATE_IKE); in testCreateIkeLocalIkeInitReceivesCookie()
1745 mIkeSessionStateMachine.sendMessage(IkeSessionStateMachine.CMD_RECEIVE_IKE_PACKET, resp); in testCreateIkeLocalIkeInitReceivesCookie()
1779 mIkeSessionStateMachine.sendMessage(IkeSessionStateMachine.CMD_LOCAL_REQUEST_CREATE_IKE); in testCreateIkeLocalIkeInitRcvRespAfterRcvCookie()
1783 mIkeSessionStateMachine.sendMessage( in testCreateIkeLocalIkeInitRcvRespAfterRcvCookie()
1787 mIkeSessionStateMachine.sendMessage( in testCreateIkeLocalIkeInitRcvRespAfterRcvCookie()
1845 mIkeSessionStateMachine.sendMessage(IkeSessionStateMachine.CMD_LOCAL_REQUEST_CREATE_IKE); in testCreateIkeLocalIkeInitNatTraversalNotSupported()
1852 mIkeSessionStateMachine.sendMessage( in testCreateIkeLocalIkeInitNatTraversalNotSupported()
1898 mIkeSessionStateMachine.sendMessage(IkeSessionStateMachine.CMD_LOCAL_REQUEST_CREATE_IKE); in triggerAndVerifyIkeInitReq()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientStateMachineTest.java182 mBassClientStateMachine.sendMessage(CONNECT); in testOkToConnectFails()
199 mBassClientStateMachine.sendMessage(CONNECT); in testFailToConnectGatt()
217 mBassClientStateMachine.sendMessage(CONNECT); in testSuccessfullyConnected()
249 mBassClientStateMachine.sendMessage(CONNECT); in testConnectGattTimeout()
801 mBassClientStateMachine.sendMessage(DISCONNECT); in sendDisconnectMessage_inDisconnectedState()
819 mBassClientStateMachine.sendMessage(msgToConnectingState); in sendStateChangedMessage_inDisconnectedState()
833 mBassClientStateMachine.sendMessage(PSYNC_ACTIVE_TIMEOUT); in sendOtherMessages_inDisconnectedState_doesNotChangeState()
837 mBassClientStateMachine.sendMessage(-1); in sendOtherMessages_inDisconnectedState_doesNotChangeState()
846 mBassClientStateMachine.sendMessage(CONNECT); in sendConnectMessages_inConnectingState_doesNotChangeState()
855 mBassClientStateMachine.sendMessage(DISCONNECT); in sendDisconnectMessages_inConnectingState_defersMessage()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerServiceTest.java242 verify(mStateMachine).sendMessage( in handleChangeFolderRsp()
253 verify(mStateMachine).sendMessage( in handleSetBrowsedPlayerRsp()
263 verify(mStateMachine).sendMessage( in handleSetAddressedPlayerRsp()
273 verify(mStateMachine).sendMessage( in handleAddressedPlayerChanged()
325 verify(mStateMachine).sendMessage( in getRcPsm()
335 verify(mStateMachine).sendMessage( in handleRegisterNotificationAbsVol()
346 verify(mStateMachine).sendMessage( in handleSetAbsVolume()
359 verify(mStateMachine).sendMessage( in onTrackChanged()
374 verify(mStateMachine).sendMessage( in onPlayPositionChanged()
384 verify(mStateMachine).sendMessage( in onPlayStatusChanged()
[all …]
DAvrcpControllerStateMachineTest.java254 mAvrcpStateMachine.sendMessage(AvrcpControllerStateMachine.MESSAGE_PROCESS_TRACK_CHANGED, in setCurrentTrack()
264 mAvrcpStateMachine.sendMessage( in setPlaybackState()
273 mAvrcpStateMachine.sendMessage( in setPlaybackPosition()
311 mAvrcpStateMachine.sendMessage( in setNowPlayingList()
313 mAvrcpStateMachine.sendMessage( in setNowPlayingList()
688 mAvrcpStateMachine.sendMessage(AvrcpControllerStateMachine.MESSAGE_PROCESS_GET_PLAYER_ITEMS, in testBrowsingCommands()
696 mAvrcpStateMachine.sendMessage( in testBrowsingCommands()
710 mAvrcpStateMachine.sendMessage(AvrcpControllerStateMachine.MESSAGE_PROCESS_FOLDER_PATH, 5); in testBrowsingCommands()
727 mAvrcpStateMachine.sendMessage( in testAvailablePlayersChanged()
747 mAvrcpStateMachine.sendMessage( in testAvailablePlayersReceived_AddressedPlayerExists()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/
DBatteryStateMachineTest.java139 mBatteryStateMachine.sendMessage(BatteryStateMachine.CONNECT); in testOkToConnectFails()
155 mBatteryStateMachine.sendMessage(BatteryStateMachine.CONNECT); in testFailToConnectGatt()
172 mBatteryStateMachine.sendMessage(BatteryStateMachine.CONNECT); in testSuccessfullyConnected()
203 mBatteryStateMachine.sendMessage(BatteryStateMachine.CONNECT); in testConnectedStateChanges()
211 mBatteryStateMachine.sendMessage(BatteryStateMachine.DISCONNECT); in testConnectedStateChanges()
224 mBatteryStateMachine.sendMessage( in testConnectedStateChanges()
235 mBatteryStateMachine.sendMessage( in testConnectedStateChanges()
245 mBatteryStateMachine.sendMessage( in testConnectedStateChanges()
255 mBatteryStateMachine.sendMessage(notHandled); in testConnectedStateChanges()
267 mBatteryStateMachine.sendMessage(BatteryStateMachine.CONNECT); in testConnectGattTimeout()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java218 sendMessage(CONNECT); in connect()
226 sendMessage(DISCONNECT); in disconnect()
284 sendMessage(ACTIVE_DEVICE_CHANGE, state); in setDeviceState()
397 sendMessage(MESSAGE_GET_FOLDER_ITEMS, node); in requestContents()
402 sendMessage(MESSAGE_PLAY_ITEM, node); in playItem()
408 sendMessage(MESSAGE_GET_FOLDER_ITEMS, mBrowseTree.mNowPlayingNode); in nowPlayingContentChanged()
416 sendMessage(CLEANUP); in enter()
484 sendMessage(MSG_AVRCP_PASSTHRU, in processMessage()
542 sendMessage(MSG_AVRCP_PASSTHRU, in processMessage()
557 sendMessage(MSG_AVRCP_PASSTHRU, in processMessage()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DMockWifiP2pMonitor.java54 public void sendMessage(String iface, int what) { in sendMessage() method in MockWifiP2pMonitor
55 sendMessage(iface, Message.obtain(null, what)); in sendMessage()
58 public void sendMessage(String iface, Message message) { in sendMessage() method in MockWifiP2pMonitor
62 sendMessage(ifaceHandlers, message)); in sendMessage()
66 if (sendMessage(entry.getValue(), Message.obtain(message))) { in sendMessage()
75 private boolean sendMessage(SparseArray<Handler> ifaceHandlers, Message message) { in sendMessage() method in MockWifiP2pMonitor
/packages/modules/Connectivity/framework/src/android/net/
DNetworkAgent.java742 mHandler.sendMessage(mHandler.obtainMessage(EVENT_AGENT_CONNECTED, registry)); in onRegistered()
747 mHandler.sendMessage(mHandler.obtainMessage(EVENT_AGENT_DISCONNECTED)); in onDisconnected()
752 mHandler.sendMessage(mHandler.obtainMessage(CMD_REQUEST_BANDWIDTH_UPDATE)); in onBandwidthUpdateRequested()
761 mHandler.sendMessage(mHandler.obtainMessage(CMD_REPORT_NETWORK_STATUS, in onValidationStatusChanged()
767 mHandler.sendMessage(mHandler.obtainMessage(CMD_SAVE_ACCEPT_UNVALIDATED, in onSaveAcceptUnvalidated()
774 mHandler.sendMessage(mHandler.obtainMessage(CMD_START_SOCKET_KEEPALIVE, in onStartNattSocketKeepalive()
781 mHandler.sendMessage(mHandler.obtainMessage(CMD_START_SOCKET_KEEPALIVE, in onStartTcpSocketKeepalive()
787 mHandler.sendMessage(mHandler.obtainMessage(CMD_STOP_SOCKET_KEEPALIVE, slot, 0)); in onStopSocketKeepalive()
792 mHandler.sendMessage(mHandler.obtainMessage( in onSignalStrengthThresholdsUpdated()
798 mHandler.sendMessage(mHandler.obtainMessage(CMD_PREVENT_AUTOMATIC_RECONNECT)); in onPreventAutomaticReconnect()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java189 mPlayer.sendMessage( in setCaptionServiceNumber()
268 mPlayer.sendMessage( in onRenderers()
311 mPlayer.sendMessage( in startSmoothTrickplay()
316 mPlayer.sendMessage( in startSmoothTrickplay()
327 mPlayer.sendMessage( in stopSmoothTrickplay()
332 mPlayer.sendMessage( in stopSmoothTrickplay()
421 mPlayer.sendMessage( in setVolume()
424 mPlayer.sendMessage( in setVolume()
436 mPlayer.sendMessage( in setAudioTrackAndClosedCaption()
441 mPlayer.sendMessage( in setAudioTrackAndClosedCaption()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientStateMachineTest.java174 mMceStateMachine.sendMessage(msg); in testStateTransitionFromConnectingToDisconnected()
195 mMceStateMachine.sendMessage(msg); in testStateTransitionFromConnectingToConnected()
217 mMceStateMachine.sendMessage(msg); in testStateTransitionFromConnectedWithMasDisconnected()
229 mMceStateMachine.sendMessage(msg); in testStateTransitionFromConnectedWithMasDisconnected()
246 mMceStateMachine.sendMessage(msg); in testReceiveEmptyEvent()
270 mMceStateMachine.sendMessage(msg); in testSetMessageStatus()
292 mMceStateMachine.sendMessage(MceStateMachine.MSG_MAS_DISCONNECTED); in testDisconnect()
296 mMceStateMachine.sendMessage(msg); in testDisconnect()
322 mMceStateMachine.sendMessage(msg); in testDisconnectTimeout()
354 mMceStateMachine.sendMessage(msg); in testSendSMSMessage()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java204 mSessionStatusHandler.sendMessage( in sendUpdateRequest()
244 sm.sendMessage(PbapStateMachine.AUTHORIZED); in parseIntent()
252 sm.sendMessage(PbapStateMachine.REJECTED); in parseIntent()
264 sm.sendMessage(msg); in parseIntent()
273 sm.sendMessage(PbapStateMachine.AUTH_CANCELLED); in parseIntent()
311 stateMachine.sendMessage(PbapStateMachine.DISCONNECT); in cleanUpServerSocket()
386 stateMachine.sendMessage(PbapStateMachine.REJECTED); in handleMessage()
543 sm.sendMessage(PbapStateMachine.DISCONNECT); in disconnect()
601 mSessionStatusHandler.sendMessage( in start()
603 mSessionStatusHandler.sendMessage(mSessionStatusHandler.obtainMessage(LOAD_CONTACTS)); in start()
[all …]

12345678910>>...12