/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_ThumbnailsTest.java | 58 assertEquals(Thumbnails.EXTERNAL_CONTENT_URI, externalUri); 66 assertEquals(ContentUris.withAppendedId(Media.EXTERNAL_CONTENT_URI, videoId), 70 int count = getThumbnailCount(Thumbnails.EXTERNAL_CONTENT_URI); 84 int count2 = getThumbnailCount(Thumbnails.EXTERNAL_CONTENT_URI); 87 Cursor c = mResolver.query(Thumbnails.EXTERNAL_CONTENT_URI, 97 mResolver.delete(ContentUris.withAppendedId(Thumbnails.EXTERNAL_CONTENT_URI, id), 109 mResolver.delete(Media.EXTERNAL_CONTENT_URI, 116 return mResolver.insert(Media.EXTERNAL_CONTENT_URI, values);
|
MediaStore_Audio_GenresTest.java | 66 Uri uri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values); 102 Uri audioUri = mContentResolver.insert(Media.EXTERNAL_CONTENT_URI, values); 110 Uri genreUri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values);
|
MediaStore_Audio_Genres_MembersTest.java | 61 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mAudioIdOfJam, null); 62 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mAudioIdOfJamLive, 93 Uri uri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values); 199 uri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values); 280 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, 297 mContentResolver.delete(Genres.EXTERNAL_CONTENT_URI, Genres._ID + "=" + genreId, null); 299 mContentResolver.delete(Genres.EXTERNAL_CONTENT_URI, Genres._ID + "=" + genre2Id, null);
|
MediaStore_Audio_Playlists_MembersTest.java | 127 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio1, null); 128 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio2, null); 129 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio3, null); 130 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio4, null); 131 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio5, null); 194 Uri uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values); 322 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio2, null); 356 uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values); 427 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, 445 mContentResolver.delete(Playlists.EXTERNAL_CONTENT_URI, [all...] |
MediaStore_Audio_AlbumsTest.java | 73 Uri audioAlbumsUri = isInternal? Albums.INTERNAL_CONTENT_URI : Albums.EXTERNAL_CONTENT_URI; 176 uri = mContentResolver.insert(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, v);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
MediaStoreTest.java | 16 assertThat(Images.Media.EXTERNAL_CONTENT_URI.toString(), equalTo("content://media/external/images/media")); 18 assertThat(Video.Media.EXTERNAL_CONTENT_URI.toString(), equalTo("content://media/external/video/media"));
|
ContentResolverTest.java | 3 import static android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI; 48 uri21 = Uri.parse(EXTERNAL_CONTENT_URI.toString() + "/21"); 49 uri22 = Uri.parse(EXTERNAL_CONTENT_URI.toString() + "/22"); 59 assertThat(contentResolver.insert(EXTERNAL_CONTENT_URI, new ContentValues()), equalTo(uri21)); 60 assertThat(contentResolver.insert(EXTERNAL_CONTENT_URI, new ContentValues()), equalTo(uri22)); 67 contentResolver.insert(EXTERNAL_CONTENT_URI, contentValues); 69 assertThat(shadowContentResolver.getInsertStatements().get(0).getUri(), equalTo(EXTERNAL_CONTENT_URI)); 74 contentResolver.insert(EXTERNAL_CONTENT_URI, contentValues); 83 contentResolver.update(EXTERNAL_CONTENT_URI, contentValues, "robolectric", new String[] { "awesome" }); 85 assertThat(shadowContentResolver.getUpdateStatements().get(0).getUri(), equalTo(EXTERNAL_CONTENT_URI)); [all...] |
/frameworks/base/core/java/android/provider/ |
MediaStore.java | 602 MiniThumbFile thumbFile = new MiniThumbFile(isVideo ? Video.Media.EXTERNAL_CONTENT_URI 603 : Images.Media.EXTERNAL_CONTENT_URI); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SecureAlbum.java | 49 {Images.Media.EXTERNAL_CONTENT_URI, Video.Media.EXTERNAL_CONTENT_URI}; 62 mShowUnlockItem = (!isCameraBucketEmpty(Images.Media.EXTERNAL_CONTENT_URI) 63 || !isCameraBucketEmpty(Video.Media.EXTERNAL_CONTENT_URI)); 170 Images.Media.EXTERNAL_CONTENT_URI, mMinImageId, mMaxImageId); 172 Video.Media.EXTERNAL_CONTENT_URI, mMinVideoId, mMaxVideoId);
|
LocalAlbum.java | 74 mBaseUri = Images.Media.EXTERNAL_CONTENT_URI; 81 mBaseUri = Video.Media.EXTERNAL_CONTENT_URI; 104 return MediaStore.Images.Media.EXTERNAL_CONTENT_URI.buildUpon() 108 return MediaStore.Video.Media.EXTERNAL_CONTENT_URI.buildUpon() 175 baseUri = Images.Media.EXTERNAL_CONTENT_URI; 179 baseUri = Video.Media.EXTERNAL_CONTENT_URI;
|
BucketHelper.java | 128 jc, resolver, Images.Media.EXTERNAL_CONTENT_URI, buckets); 132 jc, resolver, Video.Media.EXTERNAL_CONTENT_URI, buckets); 211 resolver, Images.Media.EXTERNAL_CONTENT_URI, bucketId); 214 resolver, Video.Media.EXTERNAL_CONTENT_URI, bucketId);
|
LocalVideo.java | 85 Uri uri = Video.Media.EXTERNAL_CONTENT_URI; 189 Uri baseUri = Video.Media.EXTERNAL_CONTENT_URI; 201 Uri baseUri = Video.Media.EXTERNAL_CONTENT_URI;
|
LocalImage.java | 120 Uri uri = Images.Media.EXTERNAL_CONTENT_URI; 273 Uri baseUri = Images.Media.EXTERNAL_CONTENT_URI; 281 Uri baseUri = Images.Media.EXTERNAL_CONTENT_URI; 313 Uri baseUri = Images.Media.EXTERNAL_CONTENT_URI;
|
LocalAlbumSet.java | 48 {Images.Media.EXTERNAL_CONTENT_URI, Video.Media.EXTERNAL_CONTENT_URI};
|
/packages/apps/Music/src/com/android/music/ |
MediaPickerActivity.java | 108 uri = MediaStore.Video.Media.EXTERNAL_CONTENT_URI; 112 uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI; 131 intent.setDataAndType(ContentUris.withAppendedId(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, id), type); 183 c = MusicUtils.query(this, MediaStore.Video.Media.EXTERNAL_CONTENT_URI, 189 c = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, 198 c = MusicUtils.query(this, MediaStore.Video.Media.EXTERNAL_CONTENT_URI,
|
VideoBrowserActivity.java | 84 intent.setDataAndType(ContentUris.withAppendedId(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, id), type); 103 mCursor = resolver.query(MediaStore.Video.Media.EXTERNAL_CONTENT_URI,
|
CreatePlaylist.java | 102 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 138 Cursor c = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 179 uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, id); 184 uri = resolver.insert(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, values);
|
ScanningProgress.java | 46 MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
|
RenamePlaylist.java | 122 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 139 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 174 resolver.update(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
|
PlaylistBrowserActivity.java | 334 MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, mi.id); 416 Cursor cursor = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, 440 Cursor cursor = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, 493 async.startQuery(0, null, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 498 c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 526 Cursor counter = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicRetriever.java | 55 Uri uri = android.provider.MediaStore.Audio.Media.EXTERNAL_CONTENT_URI; 149 android.provider.MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, id);
|
/packages/apps/Music/tests/src/com/android/music/functional/ |
TestSongs.java | 132 mCursor = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 162 mCursor = resolver.query(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, 211 mCursor = resolver.query(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerTest.java | 115 Uri audiouri = ContentUris.withAppendedId(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, id); 147 res.delete(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 150 res.delete(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 170 c = res.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, null, 191 c = res.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, null,
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
LocalSource.java | 65 Cursor cursor = mResolver.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, 123 data.cursor = mResolver.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, 191 Cursor cursor = mResolver.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaThumbRequest.java | 95 ? Video.Thumbnails.EXTERNAL_CONTENT_URI 96 : Images.Thumbnails.EXTERNAL_CONTENT_URI;
|