Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaFileTest.java86 MimeMap mimeMap = MimeMap.getDefault(); in testPlayList() local
87 assertTrue(isPlayListMimeType(mimeMap.guessMimeTypeFromExtension("pls"))); in testPlayList()
88 assertTrue(isPlayListMimeType(mimeMap.guessMimeTypeFromExtension("wpl"))); in testPlayList()
89 assertTrue(isPlayListMimeType(mimeMap.guessMimeTypeFromExtension("m3u"))); in testPlayList()
90 assertTrue(isPlayListMimeType(mimeMap.guessMimeTypeFromExtension("m3u8"))); in testPlayList()
91 assertTrue(isPlayListMimeType(mimeMap.guessMimeTypeFromExtension("asf"))); in testPlayList()
/frameworks/base/core/java/com/android/internal/util/
DMimeIconUtils.java244 MimeMap mimeMap = MimeMap.getDefault(); in buildGenericTypeInfo() local
245 final String bouncedMimeType = mimeMap in buildGenericTypeInfo()
246 .guessMimeTypeFromExtension(mimeMap.guessExtensionFromMimeType(mimeType)); in buildGenericTypeInfo()
/frameworks/base/media/java/android/media/
DMediaFile.java356 MimeMap mimeMap = MimeMap.getDefault(); in normalizeMimeType() local
357 final String extension = mimeMap.guessExtensionFromMimeType(mimeType); in normalizeMimeType()
359 final String extensionMimeType = mimeMap.guessMimeTypeFromExtension(extension); in normalizeMimeType()