Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceUtil.java174 public void onResult(DataApi.DataItemResult dataItemResult) { in putConfigDataItem()
176 Log.d(TAG, "putDataItem result status: " + dataItemResult.getStatus()); in putConfigDataItem()
191 public void onResult(DataApi.DataItemResult dataItemResult) { in onResult() argument
192 if (dataItemResult.getStatus().isSuccess()) { in onResult()
193 if (dataItemResult.getDataItem() != null) { in onResult()
194 DataItem configDataItem = dataItemResult.getDataItem(); in onResult()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DDeleteQuestionService.java72 DataApi.DataItemResult dataItemResult = Wearable.DataApi.getDataItem( in onHandleIntent() local
75 .createFromDataMapItem(DataMapItem.fromDataItem(dataItemResult.getDataItem())); in onHandleIntent()
DUpdateQuestionService.java78 DataApi.DataItemResult dataItemResult = Wearable.DataApi.getDataItem( in onHandleIntent() local
81 .createFromDataMapItem(DataMapItem.fromDataItem(dataItemResult.getDataItem())); in onHandleIntent()
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DSynchronizedNotificationsFragment.java133 public void onResult(DataApi.DataItemResult dataItemResult) { in buildWearableOnlyNotification()
134 if (!dataItemResult.getStatus().isSuccess()) { in buildWearableOnlyNotification()
136 + "status: " + dataItemResult.getStatus().getStatusCode()); in buildWearableOnlyNotification()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DDigitalWatchFaceCompanionConfigActivity.java110 public void onResult(DataApi.DataItemResult dataItemResult) { in onResult() argument
111 if (dataItemResult.getStatus().isSuccess() && dataItemResult.getDataItem() != null) { in onResult()
112 DataItem configDataItem = dataItemResult.getDataItem(); in onResult()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
DAttractionsActivity.java205 DataApi.DataItemResult dataItemResult = in doInBackground() local
208 if (dataItemResult.getStatus().isSuccess() && dataItemResult.getDataItem() != null) { in doInBackground()
209 DataMapItem dataMapItem = DataMapItem.fromDataItem(dataItemResult.getDataItem()); in doInBackground()
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
DMainActivity.java339 public void onResult(DataItemResult dataItemResult) { in sendPhoto()
340 LOGD(TAG, "Sending image was successful: " + dataItemResult.getStatus() in sendPhoto()
450 public void onResult(DataItemResult dataItemResult) { in run()
451 if (!dataItemResult.getStatus().isSuccess()) { in run()
453 + dataItemResult.getStatus().getStatusCode()); in run()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java424 public void onResult(DataApi.DataItemResult dataItemResult) { in addLocationEntry()
425 if (!dataItemResult.getStatus().isSuccess()) { in addLocationEntry()
427 + "status: " + dataItemResult.getStatus() in addLocationEntry()
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DMainActivity.java492 public void onResult(DataApi.DataItemResult dataItemResult) { in onResult() argument
493 if (dataItemResult.getStatus().isSuccess()) { in onResult()
495 DataMapItem.fromDataItem(dataItemResult.getDataItem())); in onResult()
513 Log.e(TAG, "Failed to reset data item " + dataItemResult.getDataItem().getUri()); in onResult()