Home
last modified time | relevance | path

Searched refs:putDataMapRequest (Results 1 – 9 of 9) sorted by relevance

/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
DGeofenceTransitionsIntentService.java89 final PutDataMapRequest putDataMapRequest = in onHandleIntent() local
91 putDataMapRequest.getDataMap().putString(KEY_GEOFENCE_ID, triggeredGeoFenceId); in onHandleIntent()
92 putDataMapRequest.setUrgent(); in onHandleIntent()
95 mGoogleApiClient, putDataMapRequest.asPutDataRequest()).await(); in onHandleIntent()
97 Log.e(TAG, "Failed to send data item: " + putDataMapRequest in onHandleIntent()
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DFindPhoneService.java101 PutDataMapRequest putDataMapRequest = PutDataMapRequest.create(PATH_SOUND_ALARM); in onHandleIntent() local
102 putDataMapRequest.getDataMap().putBoolean(FIELD_ALARM_ON, alarmOn); in onHandleIntent()
103 putDataMapRequest.setUrgent(); in onHandleIntent()
104 Wearable.DataApi.putDataItem(mGoogleApiClient, putDataMapRequest.asPutDataRequest()) in onHandleIntent()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DDeleteQuestionService.java74 PutDataMapRequest putDataMapRequest = PutDataMapRequest in onHandleIntent() local
76 DataMap dataMap = putDataMapRequest.getDataMap(); in onHandleIntent()
78 PutDataRequest request = putDataMapRequest.asPutDataRequest(); in onHandleIntent()
DUpdateQuestionService.java80 PutDataMapRequest putDataMapRequest = PutDataMapRequest in onHandleIntent() local
82 DataMap dataMap = putDataMapRequest.getDataMap(); in onHandleIntent()
90 PutDataRequest request = putDataMapRequest.asPutDataRequest(); in onHandleIntent()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceUtil.java167 PutDataMapRequest putDataMapRequest = PutDataMapRequest.create(PATH_WITH_FEATURE); in putConfigDataItem() local
168 putDataMapRequest.setUrgent(); in putConfigDataItem()
169 DataMap configToPut = putDataMapRequest.getDataMap(); in putConfigDataItem()
171 Wearable.DataApi.putDataItem(googleApiClient, putDataMapRequest.asPutDataRequest()) in putConfigDataItem()
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DSynchronizedNotificationsFragment.java125 PutDataMapRequest putDataMapRequest = PutDataMapRequest.create(path); in buildWearableOnlyNotification() local
126 putDataMapRequest.getDataMap().putString(Constants.KEY_CONTENT, content); in buildWearableOnlyNotification()
127 putDataMapRequest.getDataMap().putString(Constants.KEY_TITLE, title); in buildWearableOnlyNotification()
128 PutDataRequest request = putDataMapRequest.asPutDataRequest(); in buildWearableOnlyNotification()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DCalendarQueryService.java118 final PutDataMapRequest putDataMapRequest = event.toPutDataMapRequest(); in onHandleIntent() local
121 mGoogleApiClient, putDataMapRequest.asPutDataRequest()).await(); in onHandleIntent()
123 Log.e(TAG, "Failed to send data item: " + putDataMapRequest in onHandleIntent()
251 final PutDataMapRequest putDataMapRequest = PutDataMapRequest.create( in toPutDataMapRequest() local
258 DataMap data = putDataMapRequest.getDataMap(); in toPutDataMapRequest()
259 data.putString(DATA_ITEM_URI, putDataMapRequest.getUri().toString()); in toPutDataMapRequest()
269 return putDataMapRequest; in toPutDataMapRequest()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java414 PutDataMapRequest putDataMapRequest = PutDataMapRequest.create(path); in addLocationEntry() local
415 putDataMapRequest.getDataMap().putDouble(Constants.KEY_LATITUDE, entry.latitude); in addLocationEntry()
416 putDataMapRequest.getDataMap().putDouble(Constants.KEY_LONGITUDE, entry.longitude); in addLocationEntry()
417 putDataMapRequest.getDataMap() in addLocationEntry()
419 PutDataRequest request = putDataMapRequest.asPutDataRequest(); in addLocationEntry()
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
DMainActivity.java437 PutDataMapRequest putDataMapRequest = PutDataMapRequest.create(COUNT_PATH); in run() local
438 putDataMapRequest.getDataMap().putInt(COUNT_KEY, count++); in run()
440 PutDataRequest request = putDataMapRequest.asPutDataRequest(); in run()