Home
last modified time | relevance | path

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

/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java573 Context context, int resourceId, String mimeTypePrefix) in getTrackFormatForResource() argument
587 if (trackMediaFormat.getString(MediaFormat.KEY_MIME).startsWith(mimeTypePrefix)) { in getTrackFormatForResource()
595 throw new RuntimeException("couldn't get a track for " + mimeTypePrefix); in getTrackFormatForResource()
602 Context context, int resourceId, String mimeTypePrefix) in createMediaExtractorForMimeType() argument
615 if (trackMediaFormat.getString(MediaFormat.KEY_MIME).startsWith(mimeTypePrefix)) { in createMediaExtractorForMimeType()
622 throw new IllegalStateException("couldn't get a track for " + mimeTypePrefix); in createMediaExtractorForMimeType()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java883 String mimeTypePrefix = audio ? "audio/" : "video/"; in testDecodeAfterFlush()
887 … mediaExtractor = getMediaExtractorForMimeType(INPUT_RESOURCE_ID, mimeTypePrefix); in testDecodeAfterFlush()
1498 private MediaExtractor getMediaExtractorForMimeType(int resourceId, String mimeTypePrefix) in getMediaExtractorForMimeType() argument
1511 if (trackMediaFormat.getString(MediaFormat.KEY_MIME).startsWith(mimeTypePrefix)) { in getMediaExtractorForMimeType()