Home
last modified time | relevance | path

Searched refs:KEY_MIME (Results 1 – 14 of 14) 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.java127 public static final String KEY_MIME = "mime"; field in MediaFormat
716 format.setString(KEY_MIME, mime); in createAudioFormat()
735 format.setString(KEY_MIME, mime); in createSubtitleFormat()
752 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.java232 String mime = format.getString(MediaFormat.KEY_MIME); in findCodecForFormat()
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.java63 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
64 return format.getString(MediaFormat.KEY_MIME).equals( in supports()
DMediaCodecInfo.java543 final String mime = (String)map.get(MediaFormat.KEY_MIME); in isFormatSupported()
667 defaultFormat.setString(MediaFormat.KEY_MIME, mime); in createFromProfileLevel()
699 mMime = mDefaultFormat.getString(MediaFormat.KEY_MIME); in CodecCapabilities()
DWebVttRenderer.java53 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
54 return format.getString(MediaFormat.KEY_MIME).equals("text/vtt"); in supports()
DMediaPlayer.java2003 dest.writeString(mFormat.getString(MediaFormat.KEY_MIME)); in writeToParcel()
2459 fFormat.setString(MediaFormat.KEY_MIME, mime); in addTimedTextSource()
/frameworks/base/api/
Dcurrent.txt15912 field public static final java.lang.String KEY_MIME = "mime";
Dsystem-current.txt17178 field public static final java.lang.String KEY_MIME = "mime";