Searched refs:putDataMapRequest (Results 1 – 9 of 9) sorted by relevance
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/ |
D | GeofenceTransitionsIntentService.java | 89 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/ |
D | FindPhoneService.java | 101 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/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | DigitalWatchFaceUtil.java | 167 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/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
D | CalendarQueryService.java | 118 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/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
D | DeleteQuestionService.java | 74 PutDataMapRequest putDataMapRequest = PutDataMapRequest in onHandleIntent() local 76 DataMap dataMap = putDataMapRequest.getDataMap(); in onHandleIntent() 78 PutDataRequest request = putDataMapRequest.asPutDataRequest(); in onHandleIntent()
|
D | UpdateQuestionService.java | 80 PutDataMapRequest putDataMapRequest = PutDataMapRequest in onHandleIntent() local 82 DataMap dataMap = putDataMapRequest.getDataMap(); in onHandleIntent() 90 PutDataRequest request = putDataMapRequest.asPutDataRequest(); in onHandleIntent()
|
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/ |
D | SynchronizedNotificationsFragment.java | 125 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/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ |
D | WearableMainActivity.java | 414 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/ |
D | MainActivity.java | 437 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()
|