Searched refs:KEY_MIME (Results 1 – 14 of 14) sorted by relevance
26 return format.getString(MediaFormat.KEY_MIME).startsWith("audio/"); in isAudioFormat()30 return format.getString(MediaFormat.KEY_MIME).startsWith("video/"); in isVideoFormat()
65 format.getString(MediaFormat.KEY_MIME)); in initMediaCodec()69 + format.getString(MediaFormat.KEY_MIME), e); in initMediaCodec()
93 format.getString(MediaFormat.KEY_MIME)); in initMediaCodec()97 + format.getString(MediaFormat.KEY_MIME), e); in initMediaCodec()
197 String requiredType = format.getString(MediaFormat.KEY_MIME); in findDecoderCodec()
127 public static final String KEY_MIME = "mime"; field in MediaFormat716 format.setString(KEY_MIME, mime); in createAudioFormat()735 format.setString(KEY_MIME, mime); in createSubtitleFormat()752 format.setString(KEY_MIME, mime); in createVideoFormat()
40 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()41 if (!format.getString(MediaFormat.KEY_MIME) in supports()
232 String mime = format.getString(MediaFormat.KEY_MIME); in findCodecForFormat()
57 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()58 return format.getString(MediaFormat.KEY_MIME).equals(MEDIA_MIMETYPE_TEXT_TTML); in supports()
63 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()64 return format.getString(MediaFormat.KEY_MIME).equals( in supports()
543 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()
53 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()54 return format.getString(MediaFormat.KEY_MIME).equals("text/vtt"); in supports()
2003 dest.writeString(mFormat.getString(MediaFormat.KEY_MIME)); in writeToParcel()2459 fFormat.setString(MediaFormat.KEY_MIME, mime); in addTimedTextSource()
15912 field public static final java.lang.String KEY_MIME = "mime";
17178 field public static final java.lang.String KEY_MIME = "mime";