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/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/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.java103 private void postNotificationForGeofenceId(String geofenceId, Uri dataItemUri) { in postNotificationForGeofenceId() argument
125 new Intent(this, CheckInAndDeleteDataItemsService.class).setData(dataItemUri); in postNotificationForGeofenceId()
/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.java71 Uri dataItemUri = intent.getData(); in onHandleIntent() local
73 Log.e(TAG, "Failed to update data item " + dataItemUri in onHandleIntent()
78 mGoogleApiClient, dataItemUri).await(); in onHandleIntent()
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DDismissListener.java103 final Uri dataItemUri = in onConnected() local
106 Log.d(TAG, "Deleting Uri: " + dataItemUri.toString()); in onConnected()
109 mGoogleApiClient, dataItemUri).setResultCallback(this); in onConnected()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DMainActivity.java122 final Uri dataItemUri = dataItem.getUri(); in deleteDataItems() local
126 Wearable.DataApi.deleteDataItems(mGoogleApiClient, dataItemUri) in deleteDataItems()
131 appendLog("Successfully deleted data item: " + dataItemUri); in deleteDataItems()
133 appendLog("Failed to delete data item:" + dataItemUri); in deleteDataItems()
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java140 final Uri dataItemUri = in onConnected() local
143 Log.d(TAG, "Deleting Uri: " + dataItemUri.toString()); in onConnected()
146 mGoogleApiClient, dataItemUri).setResultCallback(this); in onConnected()
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DMainActivity.java470 final Uri dataItemUri = dataItem.getUri(); in resetDataItems() local
471 Wearable.DataApi.getDataItem(mGoogleApiClient, dataItemUri) in resetDataItems()
558 for (final Uri dataItemUri : dataItemUriList) { in deleteDataItems()
559 Wearable.DataApi.deleteDataItems(mGoogleApiClient, dataItemUri) in deleteDataItems()
565 Log.d(TAG, "Successfully deleted data item " + dataItemUri); in deleteDataItems()
567 Log.d(TAG, "Failed to delete data item " + dataItemUri); in deleteDataItems()