Home
last modified time | relevance | path

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

12

/development/samples/BluetoothHDP/src/com/example/bluetooth/health/
DBluetoothHDPService.java221 sendMessage(STATUS_HEALTH_APP_REG, RESULT_FAIL);
224 sendMessage(STATUS_HEALTH_APP_REG, RESULT_OK);
227 sendMessage(STATUS_HEALTH_APP_UNREG,
247 sendMessage(STATUS_CREATE_CHANNEL, RESULT_OK);
250 sendMessage(STATUS_CREATE_CHANNEL, RESULT_FAIL);
254 sendMessage(STATUS_CREATE_CHANNEL, RESULT_FAIL);
257 sendMessage(STATUS_DESTROY_CHANNEL, RESULT_OK);
259 sendMessage(STATUS_DESTROY_CHANNEL, RESULT_FAIL);
266 private void sendMessage(int what, int value) { in sendMessage() method in BluetoothHDPService
300 sendMessage(STATUS_READ_DATA, 0); in run()
[all …]
DBluetoothHDPActivity.java148 sendMessage(BluetoothHDPService.MSG_REG_HEALTH_APP, in onCreate()
157 sendMessage(BluetoothHDPService.MSG_UNREG_HEALTH_APP, 0); in onCreate()
304 private void sendMessage(int what, int value) { in sendMessage() method in BluetoothHDPActivity
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
DIncomingRequestPhoneService.java82 sendMessage(nodeId, dataMap); in promptUserForStoragePermission()
107 sendMessage(nodeId, dataMap); in respondWithStorageInformation()
135 sendMessage(nodeId, dataMap); in respondWithStorageInformation()
140 private void sendMessage(String nodeId, DataMap dataMap) { in sendMessage() method in IncomingRequestPhoneService
150 Wearable.MessageApi.sendMessage( in sendMessage()
DMainPhoneActivity.java131 sendMessage(dataMap); in onClickWearBodySensors()
193 sendMessage(dataMap); in onActivityResult()
293 sendMessage(outgoingDataRequestDataMap); in onMessageReceived()
324 private void sendMessage(DataMap dataMap) { in sendMessage() method in MainPhoneActivity
333 pendingResult = Wearable.MessageApi.sendMessage( in sendMessage()
438 sendMessage(dataMap); in sendWearPermissionResults()
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
DChatConnection.java64 public void sendMessage(String msg) { in sendMessage() method in ChatConnection
66 mChatClient.sendMessage(msg); in sendMessage()
93 mUpdateHandler.sendMessage(message); in updateMessages()
218 sendMessage(msg); in run()
263 public void sendMessage(String msg) { in sendMessage() method in ChatConnection.ChatClient
DNsdChatActivity.java89 mConnection.sendMessage(messageString); in clickSend()
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
DIncomingRequestWearService.java93 sendMessage(dataMap); in promptUserForSensorPermission()
114 sendMessage(dataMap); in respondWithSensorInformation()
128 sendMessage(dataMap); in respondWithSensorInformation()
132 private void sendMessage(DataMap dataMap) { in sendMessage() method in IncomingRequestWearService
170 Wearable.MessageApi.sendMessage( in sendMessage()
DMainWearActivity.java170 sendMessage(dataMap); in onClickPhoneStorage()
351 sendMessage(dataMap); in onRequestPermissionsResult()
367 sendMessage(dataMap); in onRequestPermissionsResult()
402 sendMessage(outgoingDataRequestDataMap); in onMessageReceived()
418 private void sendMessage(DataMap dataMap) { in sendMessage() method in MainWearActivity
424 Wearable.MessageApi.sendMessage( in sendMessage()
462 sendMessage(dataMap); in onActivityResult()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
DUtilityService.java132 Wearable.MessageApi.sendMessage( in clearRemoteNotificationsInternal()
164 Wearable.MessageApi.sendMessage( in startDeviceActivityInternal()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatService.java204 mHandler.sendMessage(msg); in connected()
264 mHandler.sendMessage(msg); in connectionFailed()
279 mHandler.sendMessage(msg); in connectionLost()
DBluetoothChatFragment.java178 sendMessage(message); in setupChat()
207 private void sendMessage(String message) { in sendMessage() method in BluetoothChatFragment
235 sendMessage(message);
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChatService.java180 mHandler.sendMessage(msg); in connected()
239 mHandler.sendMessage(msg); in connectionFailed()
254 mHandler.sendMessage(msg); in connectionLost()
DBluetoothChat.java155 sendMessage(message); in setupChat()
200 private void sendMessage(String message) { in sendMessage() method in BluetoothChat
226 sendMessage(message);
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbTestActivity.java84 mHandler.sendMessage(m); in log()
111 mHandler.sendMessage(m); in deviceOnline()
/development/samples/LceDemo/src/com/example/android/lce/
DLceDemoActivity.java71 handler.sendMessage(message); in onCreate()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizReportActionService.java84 Wearable.MessageApi.sendMessage(googleApiClient, node.getId(), RESET_QUIZ_PATH, in sendResetMessage()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DDataLayerListenerService.java81 Wearable.MessageApi.sendMessage(mGoogleApiClient, nodeId, DATA_ITEM_RECEIVED_PATH, in onDataChanged()
/development/samples/browseable/DelayedConfirmation/Application/src/com.example.android.wearable.delayedconfirmation/
DMainActivity.java115 Wearable.MessageApi.sendMessage(mGoogleApiClient, node.getId(), in onStartWearableActivityClick()
/development/samples/browseable/DelayedConfirmation/Wearable/src/com.example.android.wearable.delayedconfirmation/
DMainActivity.java133 Wearable.MessageApi.sendMessage(mGoogleApiClient, mConfirmationHandlerNode.getId(), in sendMessageToCompanion()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DServiceStartArguments.java133 mServiceHandler.sendMessage(msg); in onStartCommand()
DRemoteService.java452 mHandler.sendMessage(mHandler.obtainMessage(BUMP_MSG, value, 0));
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsMessagingDemo.java142 sendMessage( in onCreate()
157 private void sendMessage(final String recipients, final String subject, final String text) { in sendMessage() method in MmsMessagingDemo
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java483 mHandler.sendMessage(msg); in setState()
511 mHandler.sendMessage(msg); in setState()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DDigitalWatchFaceCompanionConfigActivity.java209 Wearable.MessageApi.sendMessage(mGoogleApiClient, mPeerId, PATH_WITH_FEATURE, rawData); in sendConfigUpdateMessage()
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
DMainActivity.java278 Wearable.MessageApi.sendMessage( in sendStartActivityMessage()

12