Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceUtil.java173 public void onResult(DataApi.DataItemResult dataItemResult) { in putConfigDataItem()
175 Log.d(TAG, "putDataItem result status: " + dataItemResult.getStatus()); in putConfigDataItem()
190 public void onResult(DataApi.DataItemResult dataItemResult) { in onResult() argument
191 if (dataItemResult.getStatus().isSuccess()) { in onResult()
192 if (dataItemResult.getDataItem() != null) { in onResult()
193 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.java77 DataApi.DataItemResult dataItemResult = Wearable.DataApi.getDataItem( in onHandleIntent() local
80 .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/DataLayer/Application/src/com.example.android.wearable.datalayer/
DMainActivity.java388 public void onResult(DataItemResult dataItemResult) { in run()
389 if (!dataItemResult.getStatus().isSuccess()) { in run()
391 + dataItemResult.getStatus().getStatusCode()); in run()
443 public void onResult(DataItemResult dataItemResult) { in sendPhoto()
444 LOGD(TAG, "Sending image was successful: " + dataItemResult.getStatus() in sendPhoto()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java308 public void onResult(DataApi.DataItemResult dataItemResult) { in addLocationEntry()
309 if (!dataItemResult.getStatus().isSuccess()) { in addLocationEntry()
311 + "status: " + dataItemResult.getStatus() in addLocationEntry()
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DMainActivity.java485 public void onResult(DataApi.DataItemResult dataItemResult) { in onResult() argument
486 if (dataItemResult.getStatus().isSuccess()) { in onResult()
488 DataMapItem.fromDataItem(dataItemResult.getDataItem())); in onResult()
503 Log.e(TAG, "Failed to reset data item " + dataItemResult.getDataItem().getUri()); in onResult()