Home
last modified time | relevance | path

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

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DDecoderUtil.java26 return format.getString(MediaFormat.KEY_MIME).startsWith("audio/"); in isAudioFormat()
30 return format.getString(MediaFormat.KEY_MIME).startsWith("video/"); in isVideoFormat()
DAudioTrackDecoder.java65 format.getString(MediaFormat.KEY_MIME)); in initMediaCodec()
69 + format.getString(MediaFormat.KEY_MIME), e); in initMediaCodec()
DGpuVideoTrackDecoder.java93 format.getString(MediaFormat.KEY_MIME)); in initMediaCodec()
97 + format.getString(MediaFormat.KEY_MIME), e); in initMediaCodec()
DCpuVideoTrackDecoder.java197 String requiredType = format.getString(MediaFormat.KEY_MIME); in findDecoderCodec()
/frameworks/base/media/java/android/media/
DMediaFormat.java197 public static final String KEY_MIME = "mime"; field in MediaFormat
1104 format.setString(KEY_MIME, mime); in createAudioFormat()
1123 format.setString(KEY_MIME, mime); in createSubtitleFormat()
1140 format.setString(KEY_MIME, mime); in createVideoFormat()
DSRTRenderer.java40 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
41 if (!format.getString(MediaFormat.KEY_MIME) in supports()
DMediaCodecList.java242 String mime = format.getString(MediaFormat.KEY_MIME); in findCodecForFormat()
DAmrInputStream.java61 format.setString(MediaFormat.KEY_MIME, MediaFormat.MIMETYPE_AUDIO_AMR_NB); in AmrInputStream()
DTtmlRenderer.java57 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
58 return format.getString(MediaFormat.KEY_MIME).equals(MEDIA_MIMETYPE_TEXT_TTML); in supports()
DClosedCaptionRenderer.java60 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
61 String mimeType = format.getString(MediaFormat.KEY_MIME); in supports()
69 String mimeType = format.getString(MediaFormat.KEY_MIME); in createTrack()
DCea708CaptionRenderer.java69 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
70 String mimeType = format.getString(MediaFormat.KEY_MIME); in supports()
78 String mimeType = format.getString(MediaFormat.KEY_MIME); in createTrack()
DWebVttRenderer.java53 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
54 return format.getString(MediaFormat.KEY_MIME).equals("text/vtt"); in supports()
DMediaCodecInfo.java624 final String mime = (String)map.get(MediaFormat.KEY_MIME); in isFormatSupported()
866 defaultFormat.setString(MediaFormat.KEY_MIME, mime); in createFromProfileLevel()
897 mMime = mDefaultFormat.getString(MediaFormat.KEY_MIME); in CodecCapabilities()
DMediaPlayer2Impl.java1985 dest.writeString(mFormat.getString(MediaFormat.KEY_MIME)); in writeToParcel()
2438 fFormat.setString(MediaFormat.KEY_MIME, mime); in addTimedTextSource()
DMediaPlayer.java2516 dest.writeString(mFormat.getString(MediaFormat.KEY_MIME)); in writeToParcel()
2998 fFormat.setString(MediaFormat.KEY_MIME, mime); in addTimedTextSource()
/frameworks/support/media/src/main/java/androidx/media/subtitle/
DClosedCaptionRenderer.java62 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
63 String mimeType = format.getString(MediaFormat.KEY_MIME); in supports()
71 String mimeType = format.getString(MediaFormat.KEY_MIME); in createTrack()
/frameworks/support/media-widget/src/androidTest/java/androidx/media/widget/
DMediaUtils2.java65 String mime = format.getString(MediaFormat.KEY_MIME).toLowerCase(); in hasCodecsForMedia()
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
DClosedCaptionRenderer.java61 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
62 String mimeType = format.getString(MediaFormat.KEY_MIME); in supports()
70 String mimeType = format.getString(MediaFormat.KEY_MIME); in createTrack()
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/
DHeifEncoder.java811 format.getString(MediaFormat.KEY_MIME))) {
812 format.setString(MediaFormat.KEY_MIME, MediaFormat.MIMETYPE_IMAGE_ANDROID_HEIC);
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodecConstants.h360 constexpr char KEY_MIME[] = "mime"; variable
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java834 String type = format.getString(MediaFormat.KEY_MIME); in playMediaSamples()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2RecordingTest.java947 String mime = format.getString(MediaFormat.KEY_MIME); in validateRecording()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14976 field public static final java.lang.String KEY_MIME = "mime";
/frameworks/base/config/
Dhiddenapi-public-dex.txt22842 Landroid/media/MediaFormat;->KEY_MIME:Ljava/lang/String;
/frameworks/base/api/
Dcurrent.txt23731 field public static final java.lang.String KEY_MIME = "mime";