Searched refs:mimeTypePrefix (Results 1 – 2 of 2) sorted by relevance
573 Context context, int resourceId, String mimeTypePrefix) in getTrackFormatForResource() argument587 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() argument615 if (trackMediaFormat.getString(MediaFormat.KEY_MIME).startsWith(mimeTypePrefix)) { in createMediaExtractorForMimeType()622 throw new IllegalStateException("couldn't get a track for " + mimeTypePrefix); in createMediaExtractorForMimeType()
883 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() argument1511 if (trackMediaFormat.getString(MediaFormat.KEY_MIME).startsWith(mimeTypePrefix)) { in getMediaExtractorForMimeType()