Home
last modified time | relevance | path

Searched refs:MEDIA_TYPE (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoSetLoader.java45 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/
DDatabaseHelperTest.java88 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()
DMediaProviderTest.java1095 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()
DResolvePlaylistTest.java117 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/
DDrmTest.java106 (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/
DStorageAsyncLoader.java98 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/
DGalleryBoundCursorLoader.java51 + FileColumns.MEDIA_TYPE + " IN (" + Joiner.on(',').join(mediaTypes) + ")"; in createSelection()
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java905 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()
DMediaProvider.java2144 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 …]
DMediaDocumentsProvider.java376 retSelection += FileColumns.MEDIA_TYPE + "=?"; in addDocumentSelection()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java529 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/
DDialogsActivity.java119 new String[] { FileColumns._ID, FileColumns.MEDIA_TYPE }, null, null, null)) { in doInBackground() argument
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBucketHelper.java47 FileColumns.MEDIA_TYPE,
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DLegacyProviderMigrationTest.java145 values.put(FileColumns.MEDIA_TYPE, mediaType); in generateValues()
486 values.remove(FileColumns.MEDIA_TYPE); in doLegacy()
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt244 field public static final String MEDIA_TYPE = "media_type";
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java1812 public static final String MEDIA_TYPE = "media_type"; field