Home
last modified time | relevance | path

Searched refs:dataItemUri (Results 1 – 10 of 10) sorted by relevance

/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DUpdateService.java75 Uri dataItemUri = dataEvent.getDataItem().getUri(); in onDataChanged() local
77 Log.d(TAG, "Received a data item with uri: " + dataItemUri.getPath()); in onDataChanged()
79 if (dataItemUri.getPath().startsWith(Constants.PATH)) { in onDataChanged()
91 mGoogleApiClient, dataItemUri).setResultCallback(this); in onDataChanged()
94 mToBeDeletedUris.add(dataItemUri); in onDataChanged()
109 for (Uri dataItemUri : mToBeDeletedUris) { in onConnected()
111 mGoogleApiClient, dataItemUri).setResultCallback(this); in onConnected()
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DCheckInAndDeleteDataItemsService.java82 Uri dataItemUri = intent.getData(); in onHandleIntent() local
85 .deleteDataItems(mGoogleApiClient, dataItemUri).await(); in onHandleIntent()
88 + "Failed to delete dataItem: " + dataItemUri); in onHandleIntent()
90 Log.d(TAG, "Successfully deleted data item: " + dataItemUri); in onHandleIntent()
93 Log.e(TAG, "Failed to delete data item: " + dataItemUri in onHandleIntent()
DHomeListenerService.java102 private void postNotificationForGeofenceId(String geofenceId, Uri dataItemUri) { in postNotificationForGeofenceId() argument
124 new Intent(this, CheckInAndDeleteDataItemsService.class).setData(dataItemUri); in postNotificationForGeofenceId()
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
DDeleteService.java64 Uri dataItemUri = intent.getData(); in onHandleIntent() local
66 Log.v(TAG, "DeleteService.onHandleIntent=" + dataItemUri); in onHandleIntent()
70 .deleteDataItems(mGoogleApiClient, dataItemUri).await(); in onHandleIntent()
78 + dataItemUri); in onHandleIntent()
87 Log.e(TAG, "Failed to delete data item: " + dataItemUri in onHandleIntent()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DDeleteQuestionService.java66 Uri dataItemUri = intent.getData(); in onHandleIntent() local
68 Log.e(TAG, "Failed to update data item " + dataItemUri in onHandleIntent()
73 mGoogleApiClient, dataItemUri).await(); in onHandleIntent()
DUpdateQuestionService.java72 Uri dataItemUri = intent.getData(); in onHandleIntent() local
74 Log.e(TAG, "Failed to update data item " + dataItemUri in onHandleIntent()
79 mGoogleApiClient, dataItemUri).await(); in onHandleIntent()
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DDismissListener.java102 final Uri dataItemUri = in onConnected() local
105 Log.d(TAG, "Deleting Uri: " + dataItemUri.toString()); in onConnected()
108 mGoogleApiClient, dataItemUri).setResultCallback(this); in onConnected()
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java139 final Uri dataItemUri = in onConnected() local
142 Log.d(TAG, "Deleting Uri: " + dataItemUri.toString()); in onConnected()
145 mGoogleApiClient, dataItemUri).setResultCallback(this); in onConnected()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DMainActivity.java219 final Uri dataItemUri = dataItem.getUri(); in deleteDataItems() local
225 Wearable.DataApi.deleteDataItems(mGoogleApiClient, dataItemUri) in deleteDataItems()
230 appendLog("Successfully deleted data item: " + dataItemUri); in deleteDataItems()
232 appendLog("Failed to delete data item:" + dataItemUri); in deleteDataItems()
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DMainActivity.java476 final Uri dataItemUri = dataItem.getUri(); in resetDataItems() local
477 Wearable.DataApi.getDataItem(mGoogleApiClient, dataItemUri) in resetDataItems()
572 for (final Uri dataItemUri : dataItemUriList) { in deleteDataItems()
573 Wearable.DataApi.deleteDataItems(mGoogleApiClient, dataItemUri) in deleteDataItems()
579 Log.d(TAG, "Successfully deleted data item " + dataItemUri); in deleteDataItems()
581 Log.d(TAG, "Failed to delete data item " + dataItemUri); in deleteDataItems()