/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
D | OmdbApi.java | 70 JSONObject root = (JSONObject) getContent(getContentUri(movie)); in populateMovie() 84 JSONObject root = (JSONObject) getContent(getContentUri(series)); in populateSeries() 97 JSONObject root = (JSONObject) getContent(getContentUri(episode)); in populateEpisode() 106 private static @NonNull Uri getContentUri(@NonNull Movie movie) { in getContentUri() method in OmdbApi 107 Uri.Builder ub = getContentUri(movie.getTitle()); in getContentUri() 115 private static @NonNull Uri getContentUri(@NonNull Series series) { in getContentUri() method in OmdbApi 116 Uri.Builder ub = getContentUri(series.getTitle()); in getContentUri() 124 private static @NonNull Uri getContentUri(@NonNull Episode episode) { in getContentUri() method in OmdbApi 126 Uri.Builder ub = getContentUri(series.getTitle()); in getContentUri() 136 private static @NonNull Uri.Builder getContentUri(@NonNull String title) { in getContentUri() method in OmdbApi
|
D | KnowledgeGraph.java | 145 JSONObject root = (JSONObject) getContent(getContentUri(title, types)); in getResultFromKG() 198 private static @NonNull Uri getContentUri(@NonNull String title, @NonNull String... types) { in getContentUri() method in KnowledgeGraph
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | DraftMessageData.java | 322 if (existingAttachment.getContentUri().equals(contentUri)) { in containsAttachment() 328 if (pendingAttachment.getContentUri().equals(contentUri)) { in containsAttachment() 344 if (existingAttachment.getContentUri().equals(attachment.getContentUri())) { in addOneAttachmentNoNotify() 422 if (reachedLimit || containsAttachment(pendingAttachment.getContentUri())) { in addOnePendingAttachmentNoNotify() 480 if (existingAttachment.getContentUri().equals(attachment.getContentUri())) { in removeAttachment() 508 if (existingAttachment.getContentUri().equals(pendingAttachment.getContentUri())) { in removePendingAttachment() 520 if (existingAttachment.getContentUri().equals(pendingAttachment.getContentUri())) { in updatePendingAttachment()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | AlarmInstance.java | 116 return new Intent(action).setData(getContentUri(instanceId)); in createIntent() 120 return new Intent(context, cls).setData(getContentUri(instanceId)); in createIntent() 130 public static Uri getContentUri(long instanceId) { in getContentUri() method in AlarmInstance 142 try (Cursor cursor = cr.query(getContentUri(instanceId), QUERY_COLUMNS, null, null, null)) { in getInstance() 265 long rowsUpdated = contentResolver.update(getContentUri(instance.mId), values, null, null); in updateInstance() 271 int deletedRows = contentResolver.delete(getContentUri(instanceId), "", null); in deleteInstance() 364 public Uri getContentUri() { in getContentUri() method in AlarmInstance 365 return getContentUri(mId); in getContentUri()
|
D | AlarmInstance.kt | 130 get() = getContentUri(mId) 321 return Intent(action).setData(getContentUri(instanceId)) in createIntent() 326 return Intent(context, cls).setData(getContentUri(instanceId)) in createIntent() 337 fun getContentUri(instanceId: Long): Uri { in getContentUri() method 351 cr.query(getContentUri(instanceId), QUERY_COLUMNS, null, null, null) in getInstance() 500 contentResolver.update(getContentUri(instance.mId), values, null, null).toLong() in updateInstance() 507 val deletedRows: Int = contentResolver.delete(getContentUri(instanceId), "", null) in deleteInstance()
|
D | Alarm.java | 137 return new Intent(context, cls).setData(getContentUri(alarmId)); in createIntent() 140 public static Uri getContentUri(long alarmId) { in getContentUri() method in Alarm 191 try (Cursor cursor = cr.query(getContentUri(alarmId), QUERY_COLUMNS, null, null, null)) { 256 long rowsUpdated = contentResolver.update(getContentUri(alarm.id), values, null, null); 262 int deletedRows = contentResolver.delete(getContentUri(alarmId), "", null); 345 public Uri getContentUri() { 346 return getContentUri(id);
|
D | Alarm.kt | 131 get() = getContentUri(id) 345 return Intent(context, cls).setData(getContentUri(alarmId)) in createIntent() 348 fun getContentUri(alarmId: Long): Uri { in getContentUri() method 399 val cursor: Cursor? = cr.query(getContentUri(alarmId), QUERY_COLUMNS, null, null, null) in getAlarm() 466 contentResolver.update(getContentUri(alarm.id), values, null, null).toLong() in updateAlarm() 473 val deletedRows: Int = contentResolver.delete(getContentUri(alarmId), "", null) in deleteAlarm()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | MediaSetSource.java | 70 public Uri getContentUri(int index) { in getContentUri() method in MediaSetSource 71 return mSource.getContentUri(index); in getContentUri() 162 public synchronized Uri getContentUri(int index) { in getContentUri() method in MediaSetSource.CheckedMediaSetSource 165 return mCache[index - mCacheStart].getContentUri(); in getContentUri() 220 public Uri getContentUri(int index) { in getContentUri() method in MediaSetSource.EmptySource
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaProviderTest.java | 187 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Simple() 198 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Primary() 205 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Secondary() 212 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_InvalidNames() 226 … buildFile(MediaStore.Audio.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in testBuildData_InvalidTypes() 232 … buildFile(MediaStore.Video.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in testBuildData_InvalidTypes() 238 … buildFile(MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in testBuildData_InvalidTypes() 247 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Charset()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | ImageResolver.java | 90 img.getContentUri(), width, height)); in getBitmap() 97 Log.e(TAG, "The provided image has no aspect ratio: " + img.getContentUri()); in getBitmap() 101 Uri uri = Uri.parse(img.getContentUri()); in getBitmap() 117 img.getContentUri(), width, height)); in getBitmap()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 647 consumer.accept(Files.getContentUri(volumeName, id)); in acceptWithExpansionInternal() 648 consumer.accept(Downloads.getContentUri(volumeName, id)); in acceptWithExpansionInternal() 655 consumer.accept(Files.getContentUri(volumeName)); in acceptWithExpansionInternal() 656 consumer.accept(Downloads.getContentUri(volumeName)); in acceptWithExpansionInternal() 663 consumer.accept(Audio.Media.getContentUri(volumeName, id)); in acceptWithExpansionInternal() 664 consumer.accept(Video.Media.getContentUri(volumeName, id)); in acceptWithExpansionInternal() 665 consumer.accept(Images.Media.getContentUri(volumeName, id)); in acceptWithExpansionInternal() 671 consumer.accept(Audio.Media.getContentUri(volumeName)); in acceptWithExpansionInternal() 672 consumer.accept(Video.Media.getContentUri(volumeName)); in acceptWithExpansionInternal() 673 consumer.accept(Images.Media.getContentUri(volumeName)); in acceptWithExpansionInternal() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | FilteredNumberAsyncQueryHandler.java | 104 FilteredNumberCompat.getContentUri(context, null), in hasBlockedNumbers() 186 FilteredNumberCompat.getContentUri(context, null), in isBlockedNumber() 229 FilteredNumberCompat.getContentUri(context, null), in getBlockedIdSynchronous() 314 FilteredNumberCompat.getContentUri(context, null), in blockNumber() 329 unblock(listener, FilteredNumberCompat.getContentUri(context, id)); in unblock()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/ |
D | NearbyPlacesCursorLoader.java | 43 super(context, getContentUri(context, query), Projections.DATA_PROJECTION, null, null, null); in NearbyPlacesCursorLoader() 56 private static Uri getContentUri(Context context, String query) { in getContentUri() method in NearbyPlacesCursorLoader 58 .getContentUri() in getContentUri()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | BindWidgetTest.java | 134 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testUnboundWidget_removed() 168 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testPendingWidget_withConfigScreen() 191 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testPendingWidget_notRestored_removed() 209 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testPendingWidget_notRestored_brokenInstall() 237 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testPendingWidget_notRestored_activeInstall()
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 231 mFilesUri = MediaStore.setIncludePending(MediaStore.Files.getContentUri(mVolumeName)); in Scan() 310 final Uri uri = MediaStore.Files.getContentUri(mVolumeName, id).buildUpon() in reconcileAndClean() 325 final Uri uri = MediaStore.Files.getContentUri(mVolumeName, mPlaylistIds.get(i)); in resolvePlaylists() 387 mFirstResult = MediaStore.Files.getContentUri(mVolumeName, existingId); in visitFile() 560 MediaStore.Files.getContentUri(volumeName), existingId); in scanItemDirectory() 586 MediaStore.Audio.Media.getContentUri(volumeName), existingId); in scanItemAudio() 653 MediaStore.Audio.Playlists.getContentUri(volumeName), existingId); in scanItemPlaylist() 666 MediaStore.Video.Media.getContentUri(volumeName), existingId); in scanItemVideo() 721 MediaStore.Images.Media.getContentUri(volumeName), existingId); in scanItemImage() 755 MediaStore.Files.getContentUri(volumeName), existingId); in scanItemFile()
|
D | PlaylistResolver.java | 176 final Uri audioUri = MediaStore.Audio.Media.getContentUri(MediaStore.getVolumeName(uri)); in resolvePlaylistItem() 193 return MediaStore.Audio.Playlists.Members.getContentUri(MediaStore.getVolumeName(uri), in getPlaylistMembersUri()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPage.java | 359 Uri contentUri = mCurrentPhoto.getContentUri(); in onCreate() 610 .showPanorama(mCurrentPhoto.getContentUri()); in onBottomControlClicked() 644 .putExtra(Intent.EXTRA_STREAM, mediaObject.getContentUri()) in createShareIntent() 665 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchTinyPlanet() 687 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchPhotoEditor() 709 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchSimpleEditor() 1049 intent.setDataAndType(manager.getContentUri(path), current.getMimeType()) in onItemSelected() 1058 intent.setData(manager.getContentUri(path)); in onItemSelected() 1066 manager.getContentUri(path), mActivity); in onItemSelected() 1087 mActivity.printSelectedImage(manager.getContentUri(path)); in onItemSelected()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | AudioStore.java | 421 Uri contentUri = MediaStore.Audio.Artists.Albums.getContentUri("external", artist.getId()); in loadAlbums() 455 Uri contentUri = MediaStore.Audio.Genres.Members.getContentUri("external", genre.getId()); in loadAudios() 481 Uri contentUri = MediaStore.Audio.Playlists.Members.getContentUri( in loadAudios() 538 Uri contentUri = MediaStore.Audio.Playlists.Members.getContentUri( in addToPlaylist() 552 Uri contentUri = MediaStore.Audio.Playlists.Members.getContentUri( in getLastPlayOrder()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | ModelWriter.java | 276 final Uri uri = Favorites.getContentUri(item.id); in deleteItemsFromDatabase() 298 cr.delete(LauncherSettings.Favorites.getContentUri(info.id), null, null); in deleteFolderAndContentsFromDatabase() 374 Uri uri = Favorites.getContentUri(mItemId); in run() 397 final Uri uri = Favorites.getContentUri(itemId); in run()
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | DeleteFdnContactScreen.java | 123 Uri uri = FdnList.getContentUri(mSubscriptionInfoHelper); in deleteContact() 133 intent.setData(FdnList.getContentUri(mSubscriptionInfoHelper)); in authenticatePin2()
|
D | EditFdnContactScreen.java | 325 Uri uri = FdnList.getContentUri(mSubscriptionInfoHelper); in addContact() 348 Uri uri = FdnList.getContentUri(mSubscriptionInfoHelper); in updateContact() 380 intent.setData(FdnList.getContentUri(mSubscriptionInfoHelper)); in authenticatePin2()
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
D | MediaSetLoader.java | 154 return ms == null ? null : ms.getContentUri(); in uriForItem() 167 result.add(item.getContentUri()); in urisForSubItems()
|
D | MediaItemsLoader.java | 118 row[PhotoSetLoader.INDEX_DATA] = item.getContentUri().toString(); in loadInBackground() 164 return mi == null ? null : mi.getContentUri(); in uriForItem()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalMergeAlbum.java | 94 public Uri getContentUri() { in getContentUri() method in LocalMergeAlbum 97 return MediaStore.Files.getContentUri("external").buildUpon() in getContentUri()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleDatabaseOperations.java | 629 uriString = part.getContentUri().toString(); in addSnippetTextAndPreviewToContentValues() 758 uriString = part.getContentUri().toString(); in updateConversationDraftSnippetAndPreviewInTransaction() 1104 !UriUtil.isBugleAppResource(messagePartData.getContentUri())) { in readMessagePartsData() 1109 messagePartData.getContentUri(), "r"); in readMessagePartsData() 1119 LogUtil.d(LogUtil.BUGLE_TAG, "uri: " + messagePartData.getContentUri()); in readMessagePartsData() 1529 currentDraftParts.put(part.getContentUri(), part); in updateDraftMessageData() 1537 currentDraftParts.remove(part.getContentUri()); in updateDraftMessageData()
|