/packages/providers/MediaProvider/tests/src/com/android/providers/media/stableuris/job/ |
D | StableUriIdleMaintenanceServiceTest.java | 40 import android.provider.MediaStore; 94 MediaStore.setStableUrisFlag(resolver, MediaStore.VOLUME_INTERNAL, true); in testDataMigrationForInternalVolume() 97 MediaStore.waitForIdle(resolver); in testDataMigrationForInternalVolume() 98 MediaStore.scanVolume(resolver, MediaStore.VOLUME_INTERNAL); in testDataMigrationForInternalVolume() 100 MediaStore.Files.getContentUri(MediaStore.VOLUME_INTERNAL), in testDataMigrationForInternalVolume() 101 new String[]{MediaStore.Files.FileColumns.DATA, in testDataMigrationForInternalVolume() 102 MediaStore.Files.FileColumns._ID}, in testDataMigrationForInternalVolume() 113 MediaStore.waitForIdle(resolver); in testDataMigrationForInternalVolume() 115 MediaStore.runIdleMaintenanceForStableUris(resolver); in testDataMigrationForInternalVolume() 120 BackupIdRow backupIdRow = BackupIdRow.deserialize(MediaStore.readBackup(resolver, in testDataMigrationForInternalVolume() [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | AudioStore.java | 24 import android.provider.MediaStore; 65 mContentResolver.registerContentObserver(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in AudioStore() 82 Uri contentUri = MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI; in load() 84 MediaStore.Audio.Artists._ID in load() 86 String sortOrder = MediaStore.Audio.Artists._ID; in load() 90 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Artists._ID); in load() 106 Uri contentUri = MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI; in load() 108 MediaStore.Audio.Albums._ID, in load() 109 MediaStore.Audio.Media.ARTIST_ID // TODO MediaStore.Audio.Albums.ARTIST_ID in load() 111 String sortOrder = MediaStore.Audio.Albums._ID; in load() [all …]
|
D | VideoStore.java | 25 import android.provider.MediaStore; 76 mContentResolver.registerContentObserver(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, in VideoStore() 103 Uri contentUri = MediaStore.Video.Media.EXTERNAL_CONTENT_URI; in load() 107 MediaStore.Video.Media._ID, in load() 108 MediaStore.Video.Media.MIME_TYPE, in load() 110 MediaStore.Video.Media.DISPLAY_NAME in load() 114 MediaStore.Video.Media._ID, in load() 115 MediaStore.Video.Media.MIME_TYPE, in load() 116 MediaStore.Video.Media.DATA in load() 119 String sortOrder = MediaStore.Video.Media._ID; in load() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaProviderTest.java | 58 import android.provider.MediaStore; 59 import android.provider.MediaStore.Audio.AudioColumns; 60 import android.provider.MediaStore.Files.FileColumns; 61 import android.provider.MediaStore.Images.ImageColumns; 62 import android.provider.MediaStore.MediaColumns; 152 MediaStore.getExternalVolumeNames(InstrumentationRegistry.getTargetContext()) in testCuttlefish() 194 final Uri probe = MediaStore.AUTHORITY_URI.buildUpon() in testSchema() 195 .appendPath(MediaStore.VOLUME_EXTERNAL).appendEncodedPath(path).build(); in testSchema() 209 .acquireContentProviderClient(MediaStore.AUTHORITY)) { in testLocale() 218 .acquireContentProviderClient(MediaStore.AUTHORITY)) { in testDump() [all …]
|
D | ResolvePlaylistTest.java | 31 import android.provider.MediaStore; 113 MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL), in doPlaylist() 114 new String[] { MediaStore.Files.FileColumns._ID }, in doPlaylist() 115 MediaStore.Files.FileColumns.MEDIA_TYPE + "=" in doPlaylist() 116 + MediaStore.Files.FileColumns.MEDIA_TYPE_PLAYLIST, null, null)) { in doPlaylist() 121 final Uri membersUri = MediaStore.Audio.Playlists.Members in doPlaylist() 122 .getContentUri(MediaStore.VOLUME_EXTERNAL, playlistId); in doPlaylist() 124 MediaStore.MediaColumns.DISPLAY_NAME in doPlaylist() 125 }, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER + " ASC")) { in doPlaylist() 145 MediaStore.MediaColumns.DISPLAY_NAME in doPlaylist() [all …]
|
D | IdleServiceTest.java | 22 import static android.provider.MediaStore.Files.FileColumns._SPECIAL_FORMAT; 23 import static android.provider.MediaStore.Files.FileColumns._SPECIAL_FORMAT_NONE; 24 import static android.provider.MediaStore.MediaColumns.DATE_EXPIRES; 25 import static android.provider.MediaStore.MediaColumns.DISPLAY_NAME; 26 import static android.provider.MediaStore.MediaColumns.GENERATION_MODIFIED; 27 import static android.provider.MediaStore.MediaColumns.RELATIVE_PATH; 56 import android.provider.MediaStore; 123 MediaStore.runIdleMaintenance(resolver); in testPruneThumbnails() 124 MediaStore.waitForIdle(resolver); in testPruneThumbnails() 132 final Uri uri = MediaStore.scanFile(resolver, file); in testPruneThumbnails() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | SpecialFormatDetectorTest.java | 30 import android.provider.MediaStore; 69 final Uri uri = MediaStore.scanFile(mIsolatedResolver, file); in testDetect_gif() 72 final Uri filesUri = MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL, in testDetect_gif() 76 new String[]{MediaStore.Files.FileColumns.MIME_TYPE, in testDetect_gif() 77 MediaStore.Files.FileColumns._SPECIAL_FORMAT}, null, null, null)) { in testDetect_gif() 82 MediaStore.Files.FileColumns._SPECIAL_FORMAT_GIF); in testDetect_gif() 95 final Uri uri = MediaStore.scanFile(mIsolatedResolver, file); in testDetect_motionPhoto() 98 final Uri filesUri = MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL, in testDetect_motionPhoto() 102 new String[]{MediaStore.Files.FileColumns.MIME_TYPE, in testDetect_motionPhoto() 103 MediaStore.Files.FileColumns._SPECIAL_FORMAT}, null, null, null)) { in testDetect_motionPhoto() [all …]
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | PhotoDataQuery.java | 20 import android.provider.MediaStore; 26 public static final String QUERY_ORDER = MediaStore.Images.ImageColumns._ID + " DESC"; 27 public static final Uri CONTENT_URI = MediaStore.Images.Media.EXTERNAL_CONTENT_URI; 46 MediaStore.Images.ImageColumns._ID, // 0, int 47 MediaStore.Images.ImageColumns.TITLE, // 1, string 48 MediaStore.Images.ImageColumns.MIME_TYPE, // 2, string 49 MediaStore.Images.ImageColumns.DATE_TAKEN, // 3, int 50 MediaStore.Images.ImageColumns.DATE_MODIFIED, // 4, int 51 MediaStore.Images.ImageColumns.DATA, // 5, string 52 MediaStore.Images.ImageColumns.ORIENTATION, // 6, int, 0, 90, 180, 270 [all …]
|
D | VideoDataQuery.java | 20 import android.provider.MediaStore; 23 public static final Uri CONTENT_URI = MediaStore.Video.Media.EXTERNAL_CONTENT_URI; 42 MediaStore.Video.VideoColumns._ID, // 0, int 43 MediaStore.Video.VideoColumns.TITLE, // 1, string 44 MediaStore.Video.VideoColumns.MIME_TYPE, // 2, string 45 MediaStore.Video.VideoColumns.DATE_TAKEN, // 3, int 46 MediaStore.Video.VideoColumns.DATE_MODIFIED, // 4, int 47 MediaStore.Video.VideoColumns.DATA, // 5, string 48 MediaStore.Video.VideoColumns.WIDTH, // 6, int 49 MediaStore.Video.VideoColumns.HEIGHT, // 7, int [all …]
|
/packages/providers/MediaProvider/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 23 Landroid/provider/MediaStore$Audio$AudioColumns;->ALBUM_ARTIST:Ljava/lang/String; 24 Landroid/provider/MediaStore$Audio$AudioColumns;->COMPILATION:Ljava/lang/String; 25 Landroid/provider/MediaStore$Audio$AudioColumns;->GENRE:Ljava/lang/String; 26 Landroid/provider/MediaStore$Audio$AudioColumns;->TITLE_RESOURCE_URI:Ljava/lang/String; 27 Landroid/provider/MediaStore$Audio$Media;->EXTERNAL_PATHS:[Ljava/lang/String; 28 Landroid/provider/MediaStore$Audio$Radio;-><init>()V 29 Landroid/provider/MediaStore$Files;->getDirectoryUri(Ljava/lang/String;)Landroid/net/Uri; 30 Landroid/provider/MediaStore$Images$Media;->StoreThumbnail(Landroid/content/ContentResolver;Landroi… 31 Landroid/provider/MediaStore$InternalThumbnails;-><init>()V 32 Landroid/provider/MediaStore$InternalThumbnails;->cancelThumbnailRequest(Landroid/content/ContentRe… [all …]
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | LocalSource.java | 22 import android.provider.MediaStore; 71 Uri uri = internal ? MediaStore.Images.Media.INTERNAL_CONTENT_URI in findAlbums() 72 : MediaStore.Images.Media.EXTERNAL_CONTENT_URI; in findAlbums() 73 String[] projection = {MediaStore.Images.Media.DATA, MediaStore.Images.Media.BUCKET_ID, in findAlbums() 74 MediaStore.Images.Media.BUCKET_DISPLAY_NAME, MediaStore.Images.Media.DATE_TAKEN}; in findAlbums() 80 int dataIndex = cursor.getColumnIndex(MediaStore.Images.Media.DATA); in findAlbums() 81 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); in findAlbums() 82 int nameIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_DISPLAY_NAME); in findAlbums() 83 int updatedIndex = cursor.getColumnIndex(MediaStore.Images.Media.DATE_TAKEN); in findAlbums() 129 String[] projection = {MediaStore.Images.Media.DATA, MediaStore.Images.Media.ORIENTATION, in openCursor() [all …]
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | LegacyProviderMigrationTest.java | 19 import static android.provider.MediaStore.rewriteToLegacy; 46 import android.provider.MediaStore; 47 import android.provider.MediaStore.Audio.AudioColumns; 48 import android.provider.MediaStore.DownloadColumns; 49 import android.provider.MediaStore.Files.FileColumns; 50 import android.provider.MediaStore.Images.ImageColumns; 51 import android.provider.MediaStore.MediaColumns; 52 import android.provider.MediaStore.Video.VideoColumns; 96 private String mVolumeName = MediaStore.VOLUME_EXTERNAL_PRIMARY; 115 mExternalAudio = MediaStore.Audio.Media.getContentUri(mVolumeName); in setUp() [all …]
|
D | PublicVolumePlaylistTest.java | 19 import static android.provider.MediaStore.VOLUME_EXTERNAL; 20 import static android.provider.MediaStore.VOLUME_EXTERNAL_PRIMARY; 38 import android.provider.MediaStore; 75 values.put(MediaStore.MediaColumns.DISPLAY_NAME, "Playlist " + System.nanoTime()); in testEjectedVolume() 76 values.put(MediaStore.MediaColumns.MIME_TYPE, "audio/x-mpegurl"); in testEjectedVolume() 80 MediaStore.waitForIdle(contentResolver); in testEjectedVolume() 82 final Uri externalPlaylists = MediaStore.Audio.Playlists in testEjectedVolume() 88 final Uri members = MediaStore.Audio.Playlists.Members in testEjectedVolume() 94 for (String volumeName : MediaStore.getExternalVolumeNames(context)) { in testEjectedVolume() 96 values.put(MediaStore.MediaColumns.DISPLAY_NAME, "Song " + System.nanoTime()); in testEjectedVolume() [all …]
|
D | PublicVolumeTest.java | 34 import android.provider.MediaStore; 70 MediaStore.waitForIdle(contentResolver); in testIncludeRecentlyUnmountedVolumes() 74 for (String volumeName : MediaStore.getExternalVolumeNames(context)) { in testIncludeRecentlyUnmountedVolumes() 77 values.put(MediaStore.MediaColumns.DISPLAY_NAME, displayName + ".jpeg"); in testIncludeRecentlyUnmountedVolumes() 80 MediaStore.Images.Media.getContentUri(volumeName), values); in testIncludeRecentlyUnmountedVolumes() 87 final int volumeCount = MediaStore.getExternalVolumeNames(context).size(); in testIncludeRecentlyUnmountedVolumes() 91 MediaStore.MediaColumns.DISPLAY_NAME + " LIKE ?"); in testIncludeRecentlyUnmountedVolumes() 95 try (Cursor c = contentResolver.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in testIncludeRecentlyUnmountedVolumes() 96 new String[]{MediaStore.MediaColumns._ID}, extras, null)) { in testIncludeRecentlyUnmountedVolumes() 103 try (Cursor c = contentResolver.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in testIncludeRecentlyUnmountedVolumes() [all …]
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/theme/ |
D | AccentColorHelperTest.kt | 20 import android.provider.MediaStore 41 pickerIntent.setAction(MediaStore.ACTION_USER_SELECT_IMAGES_FOR_APP) in testAccentColorHelper_differentIntentActions_accentColorsNotSet() 42 pickerIntent.putExtra(MediaStore.EXTRA_PICK_IMAGES_ACCENT_COLOR, validAccentColor) in testAccentColorHelper_differentIntentActions_accentColorsNotSet() 47 pickerIntent.putExtra(MediaStore.EXTRA_PICK_IMAGES_ACCENT_COLOR, validAccentColor) in testAccentColorHelper_differentIntentActions_accentColorsNotSet() 51 pickerIntent.setAction(MediaStore.ACTION_PICK_IMAGES) in testAccentColorHelper_differentIntentActions_accentColorsNotSet() 52 pickerIntent.putExtra(MediaStore.EXTRA_PICK_IMAGES_ACCENT_COLOR, validAccentColor) in testAccentColorHelper_differentIntentActions_accentColorsNotSet() 64 var pickerIntent = Intent(MediaStore.ACTION_PICK_IMAGES) in testAccentColorHelper_invalidInputColors_accentColorsNotSet() 71 pickerIntent.putExtra(MediaStore.EXTRA_PICK_IMAGES_ACCENT_COLOR, invalidInputColor) in testAccentColorHelper_invalidInputColors_accentColorsNotSet() 74 pickerIntent.putExtra(MediaStore.EXTRA_PICK_IMAGES_ACCENT_COLOR, colorWithLowLuminance) in testAccentColorHelper_invalidInputColors_accentColorsNotSet() 77 pickerIntent.putExtra(MediaStore.EXTRA_PICK_IMAGES_ACCENT_COLOR, colorWithHighLuminance) in testAccentColorHelper_invalidInputColors_accentColorsNotSet() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | DatabaseBackupAndRecovery.java | 39 import android.provider.MediaStore; 127 MediaStore.Files.FileColumns._ID, 128 MediaStore.Files.FileColumns.DATA, 129 MediaStore.Files.FileColumns.IS_FAVORITE, 130 MediaStore.Files.FileColumns.IS_PENDING, 131 MediaStore.Files.FileColumns.IS_TRASHED, 132 MediaStore.Files.FileColumns.MEDIA_TYPE, 133 MediaStore.Files.FileColumns._USER_ID, 134 MediaStore.Files.FileColumns.DATE_EXPIRES, 135 MediaStore.Files.FileColumns.OWNER_PACKAGE_NAME, [all …]
|
D | MediaService.java | 33 import android.provider.MediaStore; 115 .acquireContentProviderClient(MediaStore.AUTHORITY)) { in onLocaleChanged() 122 .acquireContentProviderClient(MediaStore.AUTHORITY)) { in onPackageOrphaned() 133 .acquireContentProviderClient(MediaStore.AUTHORITY)) { in onMediaMountedBroadcast() 153 if (!MediaStore.VOLUME_INTERNAL.equals(volumeName) && volume.getPath() == null) { in onScanVolume() 171 if (!MediaStore.VOLUME_INTERNAL.equals(volumeName)) { in onScanVolume() 180 if (!MediaStore.VOLUME_INTERNAL.equals(volumeName)) { in onScanVolume() 187 .acquireContentProviderClient(MediaStore.AUTHORITY)) { in onScanVolume() 194 values.put(MediaStore.MEDIA_SCANNER_VOLUME, volumeName); in onScanVolume() 195 Uri scanUri = resolver.insert(MediaStore.getMediaScannerUri(), values); in onScanVolume() [all …]
|
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/ |
D | DialogsActivity.java | 33 import android.provider.MediaStore; 34 import android.provider.MediaStore.Files.FileColumns; 107 return MediaStore.createWriteRequest(getContentResolver(), mRequestItems.get()); in onCreate() 110 return MediaStore.createTrashRequest(getContentResolver(), mRequestItems.get(), true); in onCreate() 113 return MediaStore.createTrashRequest(getContentResolver(), mRequestItems.get(), false); in onCreate() 116 return MediaStore.createDeleteRequest(getContentResolver(), mRequestItems.get()); in onCreate() 119 return MediaStore.createFavoriteRequest(getContentResolver(), mRequestItems.get(), in onCreate() 123 return MediaStore.createFavoriteRequest(getContentResolver(), mRequestItems.get(), in onCreate() 134 MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in doInBackground() 141 mAudio.add(MediaStore.Audio.Media in doInBackground() [all …]
|
/packages/providers/MediaProvider/apex/framework/api/ |
D | removed.txt | 4 …public static interface MediaStore.Audio.AudioColumns extends android.provider.MediaStore.MediaCol… 11 …public static interface MediaStore.DownloadColumns extends android.provider.MediaStore.MediaColumn… 15 …public static interface MediaStore.Files.FileColumns extends android.provider.MediaStore.MediaColu… 19 …public static interface MediaStore.Images.ImageColumns extends android.provider.MediaStore.MediaCo… 27 public static interface MediaStore.MediaColumns extends android.provider.BaseColumns { 31 …public static interface MediaStore.Video.VideoColumns extends android.provider.MediaStore.MediaCol…
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | ModernMediaScannerTest.java | 63 import android.provider.MediaStore; 64 import android.provider.MediaStore.Audio.AudioColumns; 65 import android.provider.MediaStore.MediaColumns; 555 assertQueryCount(1, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter() 557 assertQueryCount(1, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter() 559 assertQueryCount(1, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter() 563 assertQueryCount(1, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter() 567 assertQueryCount(0, MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI in testFilter() 571 assertQueryCount(0, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter() 573 assertQueryCount(0, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/ |
D | PickerViewModelTest.java | 69 import android.provider.MediaStore; 278 Intent intent = new Intent(MediaStore.ACTION_USER_SELECT_IMAGES_FOR_APP); in test_getRemainingPreGrantedItems_correctItemsLoaded() 317 Intent intent = new Intent(MediaStore.ACTION_USER_SELECT_IMAGES_FOR_APP); in test_deselectPreGrantedItem_correctRevokeMapMaintained() 361 Intent intent = new Intent(MediaStore.ACTION_PICK_IMAGES); in test_initialisePreSelectionItems_correctItemsLoaded() 363 extras.putInt(MediaStore.EXTRA_PICK_IMAGES_MAX, MediaStore.getPickImagesMaxLimit()); in test_initialisePreSelectionItems_correctItemsLoaded() 390 PickerResult.getPickerUrisForItems(MediaStore.ACTION_PICK_IMAGES, in test_initialisePreSelectionItems_correctItemsLoaded() 394 intentExtras.putParcelableArrayList(MediaStore.EXTRA_PICKER_PRE_SELECTION_URIS, in test_initialisePreSelectionItems_correctItemsLoaded() 421 int numberOfPreselectedUris = MediaStore.getPickImagesMaxLimit() + 2; in test_preSelectionItemsExceedMaxLimit_initialisationOfItemsFails() 430 intentExtras.putInt(MediaStore.EXTRA_PICK_IMAGES_MAX, MediaStore.getPickImagesMaxLimit()); in test_preSelectionItemsExceedMaxLimit_initialisationOfItemsFails() 431 intentExtras.putParcelableArrayList(MediaStore.EXTRA_PICKER_PRE_SELECTION_URIS, in test_preSelectionItemsExceedMaxLimit_initialisationOfItemsFails() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoader.java | 37 import android.provider.MediaStore; 38 import android.provider.MediaStore.Files.FileColumns; 39 import android.provider.MediaStore.MediaColumns; 92 + "= '" + MediaStore.VOLUME_EXTERNAL_PRIMARY + "'"); in getStorageResultsForUsers() 93 result.imagesSize = getFilesSize(info.id, MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in getStorageResultsForUsers() 95 result.videosSize = getFilesSize(info.id, MediaStore.Video.Media.EXTERNAL_CONTENT_URI, in getStorageResultsForUsers() 97 result.audioSize = getFilesSize(info.id, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in getStorageResultsForUsers() 105 MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in getStorageResultsForUsers() 117 MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in getStorageResultsForUsers() 121 trashQueryArgs.putInt(MediaStore.QUERY_ARG_MATCH_TRASHED, MediaStore.MATCH_ONLY); in getStorageResultsForUsers() [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | AudioPlayerActivity.java | 24 import android.provider.MediaStore; 53 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in start() 63 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI, in start() 67 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Albums.CONTENT_TYPE); in start() 74 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI, in start() 78 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Artists.CONTENT_TYPE); in start() 85 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI, in start() 89 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Genres.CONTENT_TYPE); in start() 96 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in start() 100 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Playlists.CONTENT_TYPE); in start() [all …]
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
D | VideoCaptureIntentTest.java | 26 import android.provider.MediaStore; 27 import android.provider.MediaStore.Video.VideoColumns; 52 mIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); in setUp() 98 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); in testExtraOutput() 137 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); in testExtraSizeLimit() 138 mIntent.putExtra(MediaStore.EXTRA_SIZE_LIMIT, sizeLimit); in testExtraSizeLimit() 139 mIntent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 0); // use low quality to speed up in testExtraSizeLimit() 159 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); in testExtraDurationLimit() 160 mIntent.putExtra(MediaStore.EXTRA_DURATION_LIMIT, durationLimit); in testExtraDurationLimit() 181 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); [all …]
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
D | VideoCaptureIntentTest.java | 26 import android.provider.MediaStore; 27 import android.provider.MediaStore.Video.VideoColumns; 52 mIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); in setUp() 98 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); in testExtraOutput() 153 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); in testExtraSizeLimit() 154 mIntent.putExtra(MediaStore.EXTRA_SIZE_LIMIT, sizeLimit); in testExtraSizeLimit() 155 mIntent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 0); // use low quality to speed up in testExtraSizeLimit() 175 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); in testExtraDurationLimit() 176 mIntent.putExtra(MediaStore.EXTRA_DURATION_LIMIT, durationLimit); in testExtraDurationLimit() 197 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); [all …]
|