HomeSort by relevance Sort by last modified time
    Searched refs:mediaFileType (Results 1 - 2 of 2) sorted by null

  /frameworks/base/media/java/android/media/
MediaFile.java 113 public static class MediaFileType {
117 MediaFileType(int fileType, String mimeType) {
123 private static HashMap<String, MediaFileType> sFileTypeMap
124 = new HashMap<String, MediaFileType>();
138 sFileTypeMap.put(extension, new MediaFileType(fileType, mimeType));
276 public static MediaFileType getFileType(String path) {
313 MediaFileType mediaFileType = getFileType(path);
314 return (mediaFileType == null ? null : mediaFileType.mimeType)
    [all...]
MediaScanner.java 459 MediaFile.MediaFileType mediaFileType = MediaFile.getFileType(path);
460 if (mediaFileType != null) {
461 mFileType = mediaFileType.fileType;
463 mMimeType = mediaFileType.mimeType;
    [all...]

Completed in 337 milliseconds