Home
last modified time | relevance | path

Searched refs:actualMimeType (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DPhotoPickerActivityTest.java53 final String[] actualMimeType = getContentIntent.getStringArrayExtra( in testGetDocumentsUiForwardingIntent() local
55 assertThat(Arrays.equals(actualMimeType, MEDIA_MIME_TYPES)).isTrue(); in testGetDocumentsUiForwardingIntent()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DDrmTest.java233 final String actualMimeType = values.getAsString(FileColumns.MIME_TYPE); in doForwardLock() local
234 if (Objects.equals(mimeType, actualMimeType)) { in doForwardLock()
240 } else if (Objects.equals(MIME_UNSUPPORTED, actualMimeType)) { in doForwardLock()
244 fail("Unexpected MIME type " + actualMimeType); in doForwardLock()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java764 String actualMimeType; in visitFile() local
766 actualMimeType = null; in visitFile()
768 actualMimeType = MimeUtils.resolveMimeType(realFile); in visitFile()
773 final boolean isDrm = mDrmMimeTypes.contains(actualMimeType); in visitFile()
775 actualMimeType = mDrmClient.getOriginalMimeType(realFile.getPath()); in visitFile()
779 realFile, actualMimeType, FileColumns.MEDIA_TYPE_NONE); in visitFile()
833 && "video/mp4".equalsIgnoreCase(actualMimeType) in visitFile()
844 actualMimeType = updateM4aMimeType(realFile, actualMimeType); in visitFile()
846 mediaTypeFromMimeType(realFile, actualMimeType, actualMediaType); in visitFile()
854 op = scanItem(existingId, realFile, attrs, actualMimeType, actualMediaType, in visitFile()