/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoSetLoader.java | 45 FileColumns.MEDIA_TYPE, 51 FileColumns.MEDIA_TYPE + " == " + FileColumns.MEDIA_TYPE_IMAGE 53 + FileColumns.MEDIA_TYPE + " == " + FileColumns.MEDIA_TYPE_VIDEO;
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | DatabaseHelperTest.java | 88 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testFilterVolumeNames() 101 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testFilterVolumeNames() 114 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testFilterVolumeNames() 170 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testArtistsAndAlbumsIncludeOnlyMusic() 183 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testArtistsAndAlbumsIncludeOnlyMusic() 196 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testArtistsAndAlbumsIncludeOnlyMusic() 274 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_IMAGE); in assertDowngrade() 326 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_IMAGE); in assertRecompute() 337 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_IMAGE); in assertRecompute() 348 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_NONE); in assertRecompute()
|
D | MediaProviderTest.java | 1095 valuesOne.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testComputeAudioKeyValues_167339595_differentAlbumIds() 1105 valuesTwo.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testComputeAudioKeyValues_167339595_differentAlbumIds() 1123 valuesThree.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testComputeAudioKeyValues_167339595_differentAlbumIds() 1133 valuesFour.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testComputeAudioKeyValues_167339595_differentAlbumIds() 1154 valuesOne.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testComputeAudioKeyValues_167339595_sameAlbumId() 1163 valuesTwo.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testComputeAudioKeyValues_167339595_sameAlbumId() 1180 valuesThree.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testComputeAudioKeyValues_167339595_sameAlbumId() 1191 valuesFour.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testComputeAudioKeyValues_167339595_sameAlbumId()
|
D | ResolvePlaylistTest.java | 117 MediaStore.Files.FileColumns.MEDIA_TYPE + "=" in doPlaylist() argument 196 MediaStore.Files.FileColumns.MEDIA_TYPE + "=" in testBrokenPlaylistM3u() argument
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | DrmTest.java | 106 (int) values.getAsInteger(FileColumns.MEDIA_TYPE)); in testForwardLock_Audio() 116 (int) values.getAsInteger(FileColumns.MEDIA_TYPE)); in testForwardLock_Video() 127 (int) values.getAsInteger(FileColumns.MEDIA_TYPE)); in testForwardLock_Image() 169 c.getInt(c.getColumnIndex(FileColumns.MEDIA_TYPE))); in testForwardLock_130680734() 216 DatabaseUtils.copyFromCursorToContentValues(FileColumns.MEDIA_TYPE, c, values); in doForwardLock()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoader.java | 98 FileColumns.MEDIA_TYPE + "!=" + FileColumns.MEDIA_TYPE_IMAGE in getStorageResultsForUsers() 99 + " AND " + FileColumns.MEDIA_TYPE + "!=" + FileColumns.MEDIA_TYPE_VIDEO in getStorageResultsForUsers() 100 + " AND " + FileColumns.MEDIA_TYPE + "!=" + FileColumns.MEDIA_TYPE_AUDIO in getStorageResultsForUsers()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | GalleryBoundCursorLoader.java | 51 + FileColumns.MEDIA_TYPE + " IN (" + Joiner.on(',').join(mediaTypes) + ")"; in createSelection()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | DatabaseHelper.java | 905 final int mediaType = c.getInt(c.getColumnIndex(FileColumns.MEDIA_TYPE)); in migrateFromLegacy() 997 final String selection = FileColumns.MEDIA_TYPE + "=" + FileColumns.MEDIA_TYPE_PLAYLIST in migratePlaylistFiles() 1135 sMigrateColumns.add(MediaStore.Files.FileColumns.MEDIA_TYPE); 1592 final String selection = FileColumns.MEDIA_TYPE + "=?"; in recomputeMediaTypeValues() 1616 values.put(FileColumns.MEDIA_TYPE, newMediaTypes.get(id)); in recomputeMediaTypeValues()
|
D | MediaProvider.java | 2144 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_NONE); in getContentValuesForFuseRename() 2147 values.put(FileColumns.MEDIA_TYPE, mediaType); in getContentValuesForFuseRename() 3834 if (isCallingPackageSelf() && values.containsKey(FileColumns.MEDIA_TYPE)) { in insertFile() 3842 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_NONE); in insertFile() 3844 values.put(FileColumns.MEDIA_TYPE, MimeUtils.resolveMediaType(mimeType)); in insertFile() 3847 values.put(FileColumns.MEDIA_TYPE, mediaType); in insertFile() 4646 appendWhereStandalone(qb, FileColumns.MEDIA_TYPE + "=?", in getQueryBuilderInternal() 4698 appendWhereStandalone(qb, FileColumns.MEDIA_TYPE + "=?", in getQueryBuilderInternal() 4796 appendWhereStandalone(qb, FileColumns.MEDIA_TYPE + "=?", in getQueryBuilderInternal() 4945 appendWhereStandalone(qb, FileColumns.MEDIA_TYPE + "=?", in getQueryBuilderInternal() [all …]
|
D | MediaDocumentsProvider.java | 376 retSelection += FileColumns.MEDIA_TYPE + "=?"; in addDocumentSelection()
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 529 new String[]{FileColumns._ID, FileColumns.MEDIA_TYPE, FileColumns.DATE_EXPIRES, in reconcileAndClean() argument 739 FileColumns.SIZE, FileColumns.MIME_TYPE, FileColumns.MEDIA_TYPE, in visitFile() 959 new String[] { FileColumns.MEDIA_TYPE }, null, null)) { in getFirstResult() argument 1163 op.withValue(FileColumns.MEDIA_TYPE, optionalMediaType.get()); in withOptionalMimeTypeAndMediaType() 1165 op.withValue(FileColumns.MEDIA_TYPE, MimeUtils.resolveMediaType(mimeType)); in withOptionalMimeTypeAndMediaType()
|
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/ |
D | DialogsActivity.java | 119 new String[] { FileColumns._ID, FileColumns.MEDIA_TYPE }, null, null, null)) { in doInBackground() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | BucketHelper.java | 47 FileColumns.MEDIA_TYPE,
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | LegacyProviderMigrationTest.java | 145 values.put(FileColumns.MEDIA_TYPE, mediaType); in generateValues() 486 values.remove(FileColumns.MEDIA_TYPE); in doLegacy()
|
/packages/providers/MediaProvider/apex/framework/api/ |
D | current.txt | 244 field public static final String MEDIA_TYPE = "media_type";
|
/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | MediaStore.java | 1812 public static final String MEDIA_TYPE = "media_type"; field
|