Home
last modified time | relevance | path

Searched refs:resolveMediaType (Results 1 – 5 of 5) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DMimeUtilsTest.java63 MimeUtils.resolveMediaType("audio/mpeg")); in testResolveMediaType()
65 MimeUtils.resolveMediaType("video/mpeg")); in testResolveMediaType()
67 MimeUtils.resolveMediaType("image/jpeg")); in testResolveMediaType()
69 MimeUtils.resolveMediaType("text/plain")); in testResolveMediaType()
71 MimeUtils.resolveMediaType("application/pdf")); in testResolveMediaType()
73 MimeUtils.resolveMediaType("application/msword")); in testResolveMediaType()
75 MimeUtils.resolveMediaType("application/vnd.ms-excel")); in testResolveMediaType()
77 MimeUtils.resolveMediaType("application/vnd.ms-powerpoint")); in testResolveMediaType()
79 MimeUtils.resolveMediaType("application/x-does-not-exist")); in testResolveMediaType()
83 MimeUtils.resolveMediaType("audio/mpegurl")); in testResolveMediaType()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DMimeUtils.java61 public static int resolveMediaType(@NonNull String mimeType) { in resolveMediaType() method in MimeUtils
85 final int mediaType = resolveMediaType(mimeType); in resolveFormatCode()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaDocumentsProviderTest.java201 final int mediaType = MimeUtils.resolveMediaType(mimeType); in doTraversal()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java1216 op.withValue(FileColumns.MEDIA_TYPE, MimeUtils.resolveMediaType(mimeType)); in withOptionalMimeTypeAndMediaType()
1746 int mediaType = MimeUtils.resolveMediaType(mimeType); in resolveMediaTypeFromFilePath()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java948 mediaType = MimeUtils.resolveMediaType(MimeUtils.resolveMimeType(file)); in updateQuotaTypeForUri()
2178 int mediaType = MimeUtils.resolveMediaType(MimeUtils.resolveMimeType(file)); in onFileCreatedForFuse()
3138 int mediaType = MimeUtils.resolveMediaType(newMimeType); in getContentValuesForFuseRename()
4413 defaultMediaType == MimeUtils.resolveMediaType(mimeTypeFromExt)) { in ensureFileColumns()
4448 final int actualMediaType = MimeUtils.resolveMediaType(mimeType); in ensureFileColumns()
5103 values.put(FileColumns.MEDIA_TYPE, MimeUtils.resolveMediaType(mimeType)); in insertFile()
5636 final int mediaType = MimeUtils.resolveMediaType(mimeType);
9124 final int mediaType = MimeUtils.resolveMediaType(getType(uri));
9661 return MimeUtils.resolveMediaType(mimeType);
10390 final int mediaType = MimeUtils.resolveMediaType(MimeUtils.resolveMimeType(toDelete));