/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaFileTest.java | 20 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/ |
D | DrmPassthruPlugIn.cpp | 84 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/ |
D | DumpHeapActivity.java | 76 intent.setType(clip.getDescription().getMimeType(0)); in onCreate() 120 intent.setType(clip.getDescription().getMimeType(0)); in onCreate()
|
/frameworks/av/include/drm/ |
D | DrmRights.h | 79 String8 getMimeType(void) const;
|
D | DrmInfoRequest.h | 126 String8 getMimeType(void) const;
|
D | DrmInfo.h | 112 String8 getMimeType(void) const;
|
/frameworks/av/drm/common/ |
D | DrmRights.cpp | 52 String8 DrmRights::getMimeType(void) const { in getMimeType() function in DrmRights
|
D | DrmInfoRequest.cpp | 29 String8 DrmInfoRequest::getMimeType(void) const { in getMimeType() function in DrmInfoRequest
|
D | DrmInfo.cpp | 32 String8 DrmInfo::getMimeType(void) const { in getMimeType() function in DrmInfo
|
D | IDrmManagerService.cpp | 250 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/ |
D | DrmInfoRequest.java | 82 public String getMimeType() { in getMimeType() method in DrmInfoRequest
|
D | DrmInfo.java | 146 public String getMimeType() { in getMimeType() method in DrmInfo
|
D | DrmRights.java | 150 public String getMimeType() { in getMimeType() method in DrmRights
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | FileInfo.java | 86 public String getMimeType() { in getMimeType() method in FileInfo
|
/frameworks/base/core/java/android/webkit/ |
D | CacheManager.java | 173 public String getMimeType() { in getMimeType() method in CacheManager.CacheResult
|
D | WebResourceResponse.java | 111 public String getMimeType() { in getMimeType() method in WebResourceResponse
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpActivity.java | 70 sendIntent.setType(clip.getDescription().getMimeType(0)); in onCreate()
|
/frameworks/av/drm/drmserver/ |
D | DrmManager.cpp | 194 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/ |
D | MtpDatabase.java | 825 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/ |
D | ClipDescription.java | 232 public String getMimeType(int index) { in getMimeType() method in ClipDescription
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 586 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/ |
D | MediaFile.java | 280 public static @NonNull String getMimeType(@Nullable String path, int formatCode) { in getMimeType() method in MediaFile
|
D | MediaCodecInfo.java | 89 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/ |
D | ImageDecoder.java | 243 public String getMimeType() { in getMimeType() method in ImageDecoder.ImageInfo
|
/frameworks/base/drm/jni/ |
D | android_drm_DrmManagerClient.cpp | 557 mInfoType, dataArray, env->NewStringUTF(pDrmInfo->getMimeType().string())); in android_drm_DrmManagerClient_acquireDrmInfo()
|