Home
last modified time | relevance | path

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

/packages/modules/Media/apex/framework/java/android/media/
DApplicationMediaCapabilities.java522 @NonNull String codecMime) { in addSupportedVideoMimeType()
523 mSupportedVideoMimeTypes.add(codecMime); in addSupportedVideoMimeType()
531 private boolean isValidVideoCodecMimeType(@NonNull String codecMime) { in isValidVideoCodecMimeType() argument
532 if (!codecMime.equalsIgnoreCase(MediaFormat.MIMETYPE_VIDEO_HEVC) in isValidVideoCodecMimeType()
533 && !codecMime.equalsIgnoreCase(MediaFormat.MIMETYPE_VIDEO_VP9) in isValidVideoCodecMimeType()
534 && !codecMime.equalsIgnoreCase(MediaFormat.MIMETYPE_VIDEO_AV1)) { in isValidVideoCodecMimeType()
549 @NonNull String codecMime) { in addUnsupportedVideoMimeType()
550 if (!isValidVideoCodecMimeType(codecMime)) { in addUnsupportedVideoMimeType()
551 throw new IllegalArgumentException("Invalid codec mime type: " + codecMime); in addUnsupportedVideoMimeType()
553 mUnsupportedVideoMimeTypes.add(codecMime); in addUnsupportedVideoMimeType()