Home
last modified time | relevance | path

Searched refs:getMimeType (Results 1 – 25 of 47) 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.cpp87 DrmInfoRequest::TYPE_REGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType()); in onProcessDrmInfo()
93 DrmInfoRequest::TYPE_UNREGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType()); in onProcessDrmInfo()
104 DrmInfoRequest::TYPE_RIGHTS_ACQUISITION_INFO, buffer, drmInfo->getMimeType()); in onProcessDrmInfo()
158 DrmBuffer(data, length), drmInfoRequest->getMimeType()); in onAcquireDrmInfo()
/frameworks/base/core/tests/coretests/src/android/graphics/
DImageDecoderTest.java47 assertThat(info.getMimeType()).isEqualTo("image/png"); in onDecodeHeader_png_returnsPopulatedData()
61 assertThat(info.getMimeType()).isEqualTo("image/webp"); in onDecodeHeader_animatedWebP_returnsPopulatedData()
/frameworks/base/libs/hwui/jni/
DMimeType.h22 ANDROID_API const char* getMimeType(SkEncodedImageFormat);
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DIntentCreator.java49 shareIntent.setType(clipData.getDescription().getMimeType(0)); in getShareIntent()
53 "content", new String[]{clipData.getDescription().getMimeType(0)}), in getShareIntent()
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DRemoteInputNotificationRebuilderTest.java85 assertEquals(mimeType, messages[0].getMimeType()); in testRebuildWithRemoteInput_noExistingInput_image()
160 assertEquals(mimeType, messages[1].getMimeType()); in testRebuildWithRemoteInput_withExistingInput_image()
/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/libs/hwui/
Dlibhwui.map.txt62 getMimeType*;
/frameworks/base/telephony/java/android/telephony/mbms/
DFileInfo.java84 public String getMimeType() { in getMimeType() method in FileInfo
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragUtils.java104 mimeTypes += description.getMimeType(i); in getMimeTypesConcatenated()
/frameworks/base/core/java/android/webkit/
DCacheManager.java173 public String getMimeType() { in getMimeType() method in CacheManager.CacheResult
DWebResourceResponse.java112 public String getMimeType() { in getMimeType() method in WebResourceResponse
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DImageExporter.java385 new String[]{fileName, getMimeType(format)},
501 values.put(MediaStore.MediaColumns.MIME_TYPE, getMimeType(format));
527 static String getMimeType(CompressFormat format) {
/frameworks/base/media/java/android/media/tv/
DAdBuffer.java87 public String getMimeType() { in getMimeType() method in AdBuffer
/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.java93 public @NonNull String getMimeType() { in getMimeType() method in DataShareRequest

12