Home
last modified time | relevance | path

Searched refs:MediaFile (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaFileTest.java19 import static android.media.MediaFile.getFormatCode;
20 import static android.media.MediaFile.getMimeType;
21 import static android.media.MediaFile.isAudioMimeType;
22 import static android.media.MediaFile.isImageMimeType;
23 import static android.media.MediaFile.isPlayListMimeType;
24 import static android.media.MediaFile.isVideoMimeType;
/frameworks/base/media/java/android/media/
DMediaScanner.java564 mMimeType = MediaFile.getMimeTypeForFile(path); in beginFile()
567 if (isDrmEnabled() && MediaFile.isDrmMimeType(mMimeType)) { in beginFile()
587 if (mProcessPlaylists && MediaFile.isPlayListMimeType(mMimeType)) { in beginFile()
671 boolean isaudio = MediaFile.isAudioMimeType(mMimeType);
672 boolean isvideo = MediaFile.isVideoMimeType(mMimeType);
673 boolean isimage = MediaFile.isImageMimeType(mMimeType);
926 if (MediaFile.isVideoMimeType(mMimeType)) {
947 } else if (MediaFile.isImageMimeType(mMimeType)) {
949 } else if (MediaFile.isAudioMimeType(mMimeType)) {
983 title = MediaFile.getFileTitle(values.getAsString(MediaStore.MediaColumns.DATA));
[all …]
DMediaFile.java41 public class MediaFile { class
83 public MediaFile() { in MediaFile() method in MediaFile
DThumbnailUtils.java247 final String mimeType = MediaFile.getMimeTypeForFile(file.getName()); in createImageThumbnail()
253 if (MediaFile.isExifMimeType(mimeType)) { in createImageThumbnail()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsProvider.java31 import android.media.MediaFile;
435 MediaFile.getFormatCode(displayName, mimeType); in createDocument()
DMtpDatabase.java32 import android.media.MediaFile;
854 return MediaFile.getMimeType(info.getName(), info.getFormat()); in getMimeType()
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java19 import android.media.MediaFile;
182 return mIsDir ? MtpConstants.FORMAT_ASSOCIATION : MediaFile.getFormatCode(mName, null); in getFormat()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpDatabaseTest.java20 import android.media.MediaFile;
21 import android.media.MediaFile.MediaFileType;
/frameworks/base/core/java/android/provider/
DMediaStore.java49 import android.media.MediaFile;
1731 final String mimeType = MediaFile.getMimeTypeForFile(imagePath); in insertImage()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt37332 Landroid/media/MediaFile$MediaFileType;-><init>(ILjava/lang/String;)V
37333 Landroid/media/MediaFile;->addFileType(Ljava/lang/String;ILjava/lang/String;IZ)V
37334 Landroid/media/MediaFile;->FILE_TYPE_3GPP2:I
37335 Landroid/media/MediaFile;->FILE_TYPE_3GPP:I
37336 Landroid/media/MediaFile;->FILE_TYPE_AAC:I
37337 Landroid/media/MediaFile;->FILE_TYPE_AMR:I
37338 Landroid/media/MediaFile;->FILE_TYPE_ARW:I
37339 Landroid/media/MediaFile;->FILE_TYPE_ASF:I
37340 Landroid/media/MediaFile;->FILE_TYPE_AVI:I
37341 Landroid/media/MediaFile;->FILE_TYPE_AWB:I
[all …]