Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTunneledPlayer.java135 " Is ADTS:" + getMediaFormatInteger(format, MediaFormat.KEY_IS_ADTS) + in prepareAudio()
136 " Sample rate:" + getMediaFormatInteger(format, MediaFormat.KEY_SAMPLE_RATE) + in prepareAudio()
138 getMediaFormatInteger(format, MediaFormat.KEY_CHANNEL_COUNT)); in prepareAudio()
168 mMediaFormatHeight = getMediaFormatInteger(format, MediaFormat.KEY_HEIGHT); in prepareVideo()
169 mMediaFormatWidth = getMediaFormatInteger(format, MediaFormat.KEY_WIDTH); in prepareVideo()
298 protected int getMediaFormatInteger(MediaFormat format, String key) { in getMediaFormatInteger() method in MediaCodecTunneledPlayer
DMediaCodecClearKeyPlayer.java225 " Is ADTS:" + getMediaFormatInteger(format, MediaFormat.KEY_IS_ADTS) + in prepareAudio()
226 " Sample rate:" + getMediaFormatInteger(format, MediaFormat.KEY_SAMPLE_RATE) + in prepareAudio()
228 getMediaFormatInteger(format, MediaFormat.KEY_CHANNEL_COUNT)); in prepareAudio()
270 mMediaFormatHeight = getMediaFormatInteger(format, MediaFormat.KEY_HEIGHT); in prepareVideo()
271 mMediaFormatWidth = getMediaFormatInteger(format, MediaFormat.KEY_WIDTH); in prepareVideo()
441 protected int getMediaFormatInteger(MediaFormat format, String key) { in getMediaFormatInteger() method in MediaCodecClearKeyPlayer
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java370 mInputSampleRate = getMediaFormatInteger(outputFormat, in setSoundWithResId()
373 mInputChannelCount = getMediaFormatInteger(outputFormat, in setSoundWithResId()
376 mInputAudioFormat = getMediaFormatInteger(outputFormat, in setSoundWithResId()
545 private final int getMediaFormatInteger(MediaFormat mf, String name, int defaultValue) { in getMediaFormatInteger() method in SoundPlayerObject