/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_ThumbnailsTest.java | 70 assertEquals(Thumbnails.EXTERNAL_CONTENT_URI, externalUri); 78 assertEquals(ContentUris.withAppendedId(Media.EXTERNAL_CONTENT_URI, videoId), 82 int count = getThumbnailCount(Thumbnails.EXTERNAL_CONTENT_URI); 104 int count2 = getThumbnailCount(Thumbnails.EXTERNAL_CONTENT_URI); 107 Cursor c = mResolver.query(Thumbnails.EXTERNAL_CONTENT_URI, 117 mResolver.delete(ContentUris.withAppendedId(Thumbnails.EXTERNAL_CONTENT_URI, id), 129 mResolver.delete(Media.EXTERNAL_CONTENT_URI, 136 return mResolver.insert(Media.EXTERNAL_CONTENT_URI, values);
|
MediaStoreIntentsTest.java | 42 intent.setData(MediaStore.Images.Media.EXTERNAL_CONTENT_URI); 48 intent.setData(MediaStore.Video.Media.EXTERNAL_CONTENT_URI); 54 intent.setData(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI); 60 intent.setData(MediaStore.Images.Media.EXTERNAL_CONTENT_URI); 66 intent.setData(MediaStore.Video.Media.EXTERNAL_CONTENT_URI);
|
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);
|
/external/robolectric/v1/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...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
VideoDataQuery.java | 23 public static final Uri CONTENT_URI = MediaStore.Video.Media.EXTERNAL_CONTENT_URI;
|
PhotoDataQuery.java | 27 public static final Uri CONTENT_URI = MediaStore.Images.Media.EXTERNAL_CONTENT_URI;
|
/frameworks/base/core/java/android/provider/ |
MediaStore.java | 697 MiniThumbFile thumbFile = new MiniThumbFile(isVideo ? Video.Media.EXTERNAL_CONTENT_URI 698 : 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; 191 Uri baseUri = Video.Media.EXTERNAL_CONTENT_URI; 203 Uri baseUri = Video.Media.EXTERNAL_CONTENT_URI;
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaDocumentsProvider.java | 194 Images.Media.EXTERNAL_CONTENT_URI, ident.id); 197 Video.Media.EXTERNAL_CONTENT_URI, ident.id); 200 Audio.Media.EXTERNAL_CONTENT_URI, ident.id); 243 cursor = resolver.query(Images.Media.EXTERNAL_CONTENT_URI, 252 cursor = resolver.query(Images.Media.EXTERNAL_CONTENT_URI, 264 cursor = resolver.query(Video.Media.EXTERNAL_CONTENT_URI, 273 cursor = resolver.query(Video.Media.EXTERNAL_CONTENT_URI, 285 cursor = resolver.query(Artists.EXTERNAL_CONTENT_URI, 294 cursor = resolver.query(Albums.EXTERNAL_CONTENT_URI, 303 cursor = resolver.query(Audio.Media.EXTERNAL_CONTENT_URI, [all...] |
/packages/apps/Music/src/com/android/music/ |
MediaPickerActivity.java | 98 uri = MediaStore.Video.Media.EXTERNAL_CONTENT_URI; 102 uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI; 122 ContentUris.withAppendedId(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, id), type); 164 c = MusicUtils.query(this, MediaStore.Video.Media.EXTERNAL_CONTENT_URI, videocols, null, 170 c = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, audiocols, 179 c = MusicUtils.query(this, MediaStore.Video.Media.EXTERNAL_CONTENT_URI, videocols,
|
VideoBrowserActivity.java | 77 ContentUris.withAppendedId(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, id), type); 92 mCursor = resolver.query(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, cols,
|
CreatePlaylist.java | 101 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 133 Cursor c = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, cols, 174 MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, id); 179 uri = resolver.insert(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, values);
|
ScanningProgress.java | 44 MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, null, null, null, null);
|
RenamePlaylist.java | 119 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 135 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 168 resolver.update(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, values,
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
ChangeDefaultUris.java | 54 .insert(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, values); 66 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);
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
MediaStoreSaver.java | 72 url = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); 140 Uri url = cr.insert(Images.Thumbnails.EXTERNAL_CONTENT_URI, values);
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
MediaStoreSaver.java | 72 url = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); 140 Uri url = cr.insert(Images.Thumbnails.EXTERNAL_CONTENT_URI, values);
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
PhotosContentJob.java | 48 = MediaStore.Images.Media.EXTERNAL_CONTENT_URI.getPathSegments(); 69 MediaStore.Images.Media.EXTERNAL_CONTENT_URI, 163 MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
|
/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,
|