Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java259 String defaultMimeType = (intent.getType() == null) ? "*/*" : intent.getType(); in includeState() local
260 state.initAcceptMimes(intent, defaultMimeType); in includeState()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java901 private String updateM4aMimeType(File file, String defaultMimeType) { in updateM4aMimeType() argument
902 if ("video/mp4".equalsIgnoreCase(defaultMimeType)) { in updateM4aMimeType()
912 return defaultMimeType; in updateM4aMimeType()
915 return defaultMimeType; in updateM4aMimeType()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java4269 String defaultMimeType = ClipDescription.MIMETYPE_UNKNOWN; in ensureFileColumns() local
4279 defaultMimeType = "audio/mpeg"; in ensureFileColumns()
4304 defaultMimeType = "video/mp4"; in ensureFileColumns()
4314 defaultMimeType = "image/jpeg"; in ensureFileColumns()
4323 defaultMimeType = "image/jpeg"; in ensureFileColumns()
4331 defaultMimeType = "image/jpeg"; in ensureFileColumns()
4339 defaultMimeType = "image/jpeg"; in ensureFileColumns()
4347 defaultMimeType = "audio/mpegurl"; in ensureFileColumns()
4397 values.put(MediaColumns.MIME_TYPE, defaultMimeType); in ensureFileColumns()
4403 values.put(MediaColumns.MIME_TYPE, defaultMimeType); in ensureFileColumns()
[all …]