Home
last modified time | relevance | path

Searched refs:getMimeType (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaFileTest.java20 import static android.media.MediaFile.getMimeType;
111 assertEquals("image/x-canon-cr2", getMimeType("FOO.CR2", MtpConstants.FORMAT_TIFF)); in testImageRaw()
119 assertEquals("video/avi", getMimeType("foo.avi", MtpConstants.FORMAT_MP3)); in testConfusing()
139 assertEquals(mimeType, getMimeType(path, MtpConstants.FORMAT_UNDEFINED)); in assertConsistent()
140 assertEquals(mimeType, getMimeType(null, formatCode)); in assertConsistent()
141 assertEquals(mimeType, getMimeType(path, formatCode)); in assertConsistent()
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp84 DrmInfoRequest::TYPE_REGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType()); in onProcessDrmInfo()
90 DrmInfoRequest::TYPE_UNREGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType()); in onProcessDrmInfo()
101 DrmInfoRequest::TYPE_RIGHTS_ACQUISITION_INFO, buffer, drmInfo->getMimeType()); in onProcessDrmInfo()
155 DrmBuffer(data, length), drmInfoRequest->getMimeType()); in onAcquireDrmInfo()
/frameworks/base/libs/hwui/jni/
DMimeType.h22 ANDROID_API const char* getMimeType(SkEncodedImageFormat);
DBitmapFactory.cpp55 const char* getMimeType(SkEncodedImageFormat format) { in getMimeType() function
82 const char* mimeType = getMimeType(format); in getMimeTypeAsJavaString()
/frameworks/av/include/drm/
DDrmRights.h79 String8 getMimeType(void) const;
DDrmInfo.h112 String8 getMimeType(void) const;
DDrmInfoRequest.h126 String8 getMimeType(void) const;
/frameworks/av/drm/common/
DDrmRights.cpp52 String8 DrmRights::getMimeType(void) const { in getMimeType() function in DrmRights
DDrmInfoRequest.cpp29 String8 DrmInfoRequest::getMimeType(void) const { in getMimeType() function in DrmInfoRequest
DDrmInfo.cpp32 String8 DrmInfo::getMimeType(void) const { in getMimeType() function in DrmInfo
/frameworks/base/drm/java/android/drm/
DDrmInfoRequest.java84 public String getMimeType() { in getMimeType() method in DrmInfoRequest
DDrmInfo.java148 public String getMimeType() { in getMimeType() method in DrmInfo
DDrmRights.java152 public String getMimeType() { in getMimeType() method in DrmRights
/frameworks/base/core/java/android/app/
DRemoteInputHistoryItem.java71 public String getMimeType() { in getMimeType() method in RemoteInputHistoryItem
/frameworks/base/telephony/java/android/telephony/mbms/
DFileInfo.java86 public String getMimeType() { in getMimeType() method in FileInfo
/frameworks/base/core/java/android/webkit/
DWebResourceResponse.java111 public String getMimeType() { in getMimeType() method in WebResourceResponse
DCacheManager.java173 public String getMimeType() { in getMimeType() method in CacheManager.CacheResult
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationRemoteInputManagerTest.java169 assertEquals(mimeType, messages[0].getMimeType()); in testRebuildWithRemoteInput_noExistingInput_image()
244 assertEquals(mimeType, messages[1].getMimeType()); in testRebuildWithRemoteInput_withExistingInput_image()
/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpActivity.java70 sendIntent.setType(clip.getDescription().getMimeType(0)); in onCreate()
/frameworks/base/core/java/android/view/contentcapture/
DDataShareRequest.java92 public @NonNull String getMimeType() { in getMimeType() method in DataShareRequest
/frameworks/base/core/java/android/content/
DClipDescription.java242 public String getMimeType(int index) { in getMimeType() method in ClipDescription
/frameworks/av/drm/drmserver/
DDrmManager.cpp327 const String8 mimeType = drmInfo->getMimeType(); in processDrmInfo()
358 const String8 mimeType = drmInfoRequest->getMimeType(); in acquireDrmInfo()
373 const String8 mimeType = drmRights.getMimeType(); in saveRights()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java594 public String getMimeType() { in getMimeType() method in ImageDecoder.ImageInfo
595 return mDecoder.getMimeType(); in getMimeType()
1936 private String getMimeType() { in getMimeType() method in ImageDecoder
/frameworks/base/media/java/android/media/
DMediaFile.java359 public static @NonNull String getMimeType(@Nullable String path, int formatCode) { in getMimeType() method in MediaFile
/frameworks/base/native/graphics/jni/
Dimagedecoder.cpp217 return getMimeType(toDecoder(info)->mCodec->getEncodedFormat()); in AImageDecoderHeaderInfo_getMimeType()

12