Home
last modified time | relevance | path

Searched refs:isMediaMimeType (Results 1 – 2 of 2) sorted by relevance

/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/extensions/
DIntent.kt74 if (mimeTypes.all { mimeType -> isMediaMimeType(mimeType) }) { in Intent()
88 if (type != null && isMediaMimeType(type!!)) return arrayListOf(type!!) in Intent()
102 return isMediaMimeType(getType()) in canHandleGetContentIntentMimeTypes()
114 if (!isMediaMimeType(mimeType)) { in canHandleGetContentIntentMimeTypes()
131 private fun isMediaMimeType(mimeType: String?): Boolean { in isMediaMimeType() method
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java480 if (!shouldExcludeMedia || !isMediaMimeType(mimeType)) { in includeSearchFilesFromSharedStorage()
581 private static boolean isMediaMimeType(String mimeType) { in isMediaMimeType() method in DownloadStorageProvider
626 if (isMediaMimeType(mimeType) && !TextUtils.isEmpty(uri)) { in includeDownloadFromCursor()