Home
last modified time | relevance | path

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

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaFileTest.java20 import static android.media.MediaFile.getMimeType;
99 assertEquals("image/x-canon-cr2", getMimeType("FOO.CR2", MtpConstants.FORMAT_TIFF)); in testImageRaw()
107 assertEquals("video/avi", getMimeType("foo.avi", MtpConstants.FORMAT_MP3)); in testConfusing()
127 assertEquals(mimeType, getMimeType(path, MtpConstants.FORMAT_UNDEFINED)); in assertConsistent()
128 assertEquals(mimeType, getMimeType(null, formatCode)); in assertConsistent()
129 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/core/java/com/android/internal/app/
DDumpHeapActivity.java76 intent.setType(clip.getDescription().getMimeType(0)); in onCreate()
120 intent.setType(clip.getDescription().getMimeType(0)); in onCreate()
/frameworks/av/include/drm/
DDrmRights.h79 String8 getMimeType(void) const;
DDrmInfoRequest.h126 String8 getMimeType(void) const;
DDrmInfo.h112 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
DIDrmManagerService.cpp250 data.writeString8(drmInfo->getMimeType()); in processDrmInfo()
295 data.writeString8(drmInforequest->getMimeType()); in acquireDrmInfo()
354 const String8 mimeType = drmRights.getMimeType(); in saveRights()
1026 reply->writeString8(drmInfo->getMimeType()); in onTransact()
/frameworks/base/drm/java/android/drm/
DDrmInfoRequest.java82 public String getMimeType() { in getMimeType() method in DrmInfoRequest
DDrmInfo.java146 public String getMimeType() { in getMimeType() method in DrmInfo
DDrmRights.java150 public String getMimeType() { in getMimeType() method in DrmRights
/frameworks/base/telephony/java/android/telephony/mbms/
DFileInfo.java86 public String getMimeType() { in getMimeType() method in FileInfo
/frameworks/base/core/java/android/webkit/
DCacheManager.java173 public String getMimeType() { in getMimeType() method in CacheManager.CacheResult
DWebResourceResponse.java111 public String getMimeType() { in getMimeType() method in WebResourceResponse
/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpActivity.java70 sendIntent.setType(clip.getDescription().getMimeType(0)); in onCreate()
/frameworks/av/drm/drmserver/
DDrmManager.cpp194 const String8 plugInId = getSupportedPlugInId(drmInfo->getMimeType()); in processDrmInfo()
219 const String8 plugInId = getSupportedPlugInId(drmInfoRequest->getMimeType()); in acquireDrmInfo()
230 const String8 plugInId = getSupportedPlugInId(drmRights.getMimeType()); in saveRights()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDatabase.java825 final String mimeType = getMimeType(info); in getObjectDocumentValues()
849 private static String getMimeType(MtpObjectInfo info) { in getMimeType() method in MtpDatabase
854 return MediaFile.getMimeType(info.getName(), info.getFormat()); in getMimeType()
/frameworks/base/core/java/android/content/
DClipDescription.java232 public String getMimeType(int index) { in getMimeType() method in ClipDescription
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java586 public String getMimeType() { in getMimeType() method in ImageDecoder.ImageInfo
587 return mDecoder.getMimeType(); in getMimeType()
1921 private String getMimeType() { in getMimeType() method in ImageDecoder
/frameworks/base/media/java/android/media/
DMediaFile.java280 public static @NonNull String getMimeType(@Nullable String path, int formatCode) { in getMimeType() method in MediaFile
DMediaCodecInfo.java89 mCaps.put(c.getMimeType(), c); in MediaCodecInfo()
875 public String getMimeType() { in getMimeType() method in MediaCodecInfo.CodecCapabilities
1179 String mime = mParent.getMimeType(); in applyLevelLimits()
2565 String mime = mParent.getMimeType();
3337 String mime = mParent.getMimeType();
3428 final String mime = mParent.getMimeType();
/frameworks/layoutlib/bridge/src/android/graphics/
DImageDecoder.java243 public String getMimeType() { in getMimeType() method in ImageDecoder.ImageInfo
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp557 mInfoType, dataArray, env->NewStringUTF(pDrmInfo->getMimeType().string())); in android_drm_DrmManagerClient_acquireDrmInfo()

12