Home
last modified time | relevance | path

Searched refs:getUri (Results 1 – 25 of 37) sorted by relevance

12

/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
DHomeListenerService.java93 Log.v(TAG, "onDataItemDeleted:DataItem=" + dataItem.getUri()); in deleteDataItem()
95 Integer notificationId = sNotificationIdByDataItemUri.remove(dataItem.getUri()); in deleteDataItem()
126 String deleteAction = "action_delete" + dataItem.getUri().toString() + sNotificationId; in updateNotificationForDataItem()
128 deleteOperation.setData(dataItem.getUri()); in updateNotificationForDataItem()
167 sNotificationIdByDataItemUri.put(dataItem.getUri(), sNotificationId++); in updateNotificationForDataItem()
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java97 if (Constants.WATCH_ONLY_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
99 } else if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
104 Log.d(TAG, "DataItem deleted: " + dataEvent.getDataItem().getUri().getPath()); in onDataChanged()
106 if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemail.java78 public Uri getUri(); in getUri() method
DVoicemailImpl.java222 public Uri getUri() { in getUri() method in VoicemailImpl
DVoicemailProviderHelpers.java190 if (voicemail.getUri().equals(uri)) { in findVoicemailByUri()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
DListenerService.java59 && Constants.ATTRACTION_PATH.equals(event.getDataItem().getUri().getPath())) { in onDataChanged()
64 showNotification(dataMapItem.getUri(), attractionsData); in onDataChanged()
/development/samples/browseable/DragAndDropAcrossApps/DropTarget/src/com.example.android/droptarget/
DImageDragListener.java79 Uri uri = item.getUri(); in processDrop()
/development/samples/browseable/DragAndDropAcrossApps/DragSource/src/com.example.android/dragsource/
DImageDragListener.java87 Uri uri = item.getUri(); in processDrop()
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DHomeListenerService.java79 postNotificationForGeofenceId(geofenceId, event.getDataItem().getUri()); in onDataChanged()
91 Log.v(TAG, "onDataItemDeleted:DataItem=" + dataItem.getUri()); in cancelNotificationForDataItem()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DLocalPlayer.java118 mMediaPlayer.setDataSource(mContext, item.getUri()); in play()
121 Log.e(TAG, "MediaPlayer throws IllegalStateException, uri=" + item.getUri()); in play()
123 Log.e(TAG, "MediaPlayer throws IOException, uri=" + item.getUri()); in play()
125 Log.e(TAG, "MediaPlayer throws IllegalArgumentException, uri=" + item.getUri()); in play()
127 Log.e(TAG, "MediaPlayer throws SecurityException, uri=" + item.getUri()); in play()
DPlaylistItem.java82 public Uri getUri() { in getUri() method in PlaylistItem
DRemotePlayer.java132 mClient.play(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() { in play()
365 mClient.enqueue(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() { in enqueueInternal()
/development/samples/ApiDemos/src/com/example/android/apis/media/
DVideoViewDemo.java63 Uri uri = item.getUri();
/development/samples/ApiDemos/src/com/example/android/apis/content/
DClipboardSample.java153 } else if (item.getUri() != null) { in updateClipData()
179 mDataText.setText(item.getUri().toString()); in updateClipData()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizListenerService.java109 deleteOperation.setData(dataItem.getUri()); in onDataChanged()
136 updateOperation.setData(dataItem.getUri()); in onDataChanged()
152 Uri uri = event.getDataItem().getUri(); in onDataChanged()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DDataLayerListenerService.java71 Uri uri = event.getDataItem().getUri(); in onDataChanged()
/development/samples/ReceiveContentDemo/src/com/example/android/receivecontent/
DUtils.java79 Uri uri = clip.getItemAt(i).getUri(); in collectUris()
DMyReceiver.java65 item -> item.getUri() != null); in onReceiveContent()
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DDismissListener.java62 if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
DReceiveShare.java40 uri = clip.getItemAt(0).getUri(); in getShareUri()
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DUpdateService.java75 Uri dataItemUri = dataEvent.getDataItem().getUri(); in onDataChanged()
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DMainActivity.java476 final Uri dataItemUri = dataItem.getUri(); in resetDataItems()
513 Log.e(TAG, "Failed to reset data item " + dataItemResult.getDataItem().getUri()); in onResult()
534 dataItemUriList.add(dataItem.getUri()); in newQuiz()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DMainActivity.java219 final Uri dataItemUri = dataItem.getUri(); in deleteDataItems()
DCalendarQueryService.java259 data.putString(DATA_ITEM_URI, putDataMapRequest.getUri().toString()); in toPutDataMapRequest()
/development/samples/NotePad/src/com/example/android/notepad/
DNoteEditor.java416 Uri uri = item.getUri(); in performPaste()

12