Home
last modified time | relevance | path

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

/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
DHomeListenerService.java115 String deleteAction = "action_delete" + dataItem.getUri().toString() + sNotificationId; in UpdateNotificationForDataItem()
117 deleteOperation.setData(dataItem.getUri()); in UpdateNotificationForDataItem()
156 sNotificationIdByDataItemUri.put(dataItem.getUri(), sNotificationId++); in UpdateNotificationForDataItem()
164 Log.v(TAG, "onDataItemDeleted:DataItem=" + dataItem.getUri()); in deleteDataItem()
166 Integer notificationId = sNotificationIdByDataItemUri.remove(dataItem.getUri()); in deleteDataItem()
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java98 if (Constants.WATCH_ONLY_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
100 } else if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
105 Log.d(TAG, "DataItem deleted: " + dataEvent.getDataItem().getUri().getPath()); in onDataChanged()
107 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/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/Support7Demos/src/com/example/android/supportv7/media/
DLocalPlayer.java121 mMediaPlayer.setDataSource(mContext, item.getUri()); in play()
124 Log.e(TAG, "MediaPlayer throws IllegalStateException, uri=" + item.getUri()); in play()
126 Log.e(TAG, "MediaPlayer throws IOException, uri=" + item.getUri()); in play()
128 Log.e(TAG, "MediaPlayer throws IllegalArgumentException, uri=" + item.getUri()); in play()
130 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()
377 mClient.enqueue(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() { in enqueueInternal()
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DHomeListenerService.java79 postNotificationForGeofenceId(geofenceId, event.getDataItem().getUri()); in onDataChanged()
92 Log.v(TAG, "onDataItemDeleted:DataItem=" + dataItem.getUri()); in cancelNotificationForDataItem()
/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.java112 deleteOperation.setData(dataItem.getUri()); in onDataChanged()
139 updateOperation.setData(dataItem.getUri()); in onDataChanged()
155 Uri uri = event.getDataItem().getUri(); in onDataChanged()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DDataLayerListenerService.java77 Uri uri = event.getDataItem().getUri(); in onDataChanged()
DMainActivity.java145 String path = event.getDataItem().getUri().getPath(); in onDataChanged()
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DDismissListener.java63 if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
/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.java470 final Uri dataItemUri = dataItem.getUri(); in resetDataItems()
503 Log.e(TAG, "Failed to reset data item " + dataItemResult.getDataItem().getUri()); in onResult()
523 dataItemUriList.add(dataItem.getUri()); in newQuiz()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DMainActivity.java122 final Uri dataItemUri = dataItem.getUri(); in deleteDataItems()
DCalendarQueryService.java254 data.putString(DATA_ITEM_URI, putDataMapRequest.getUri().toString()); in toPutDataMapRequest()
/development/samples/NotePad/src/com/example/android/notepad/
DNoteEditor.java476 Uri uri = item.getUri(); in performPaste()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceService.java523 if (!dataItem.getUri().getPath().equals(