Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DNativeDecoderTest.java236 foo.add((int)format.getLong(MediaFormat.KEY_DURATION)); in getSampleSizes()
241 foo.add((int)format.getLong(MediaFormat.KEY_DURATION)); in getSampleSizes()
293 aDurationUs = format.getLong(MediaFormat.KEY_DURATION); in testExtractorFileDurationNative()
295 vDurationUs = format.getLong(MediaFormat.KEY_DURATION); in testExtractorFileDurationNative()
722 final String KEY_DURATION = MediaFormat.KEY_DURATION; in compareFormats() local
726 && f1.containsKey(KEY_DURATION) && f2.containsKey(KEY_DURATION) in compareFormats()
727 && Math.abs(f1.getLong(KEY_DURATION) in compareFormats()
728 - f2.getLong(KEY_DURATION)) <= maxDurationDiffUs) { in compareFormats()
729 f2.setLong(KEY_DURATION, f1.getLong(KEY_DURATION)); in compareFormats()
DMediaCodecTunneledPlayer.java142 if (format.containsKey(MediaFormat.KEY_DURATION)) { in prepareAudio()
143 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio()
175 if (format.containsKey(MediaFormat.KEY_DURATION)) { in prepareVideo()
176 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo()
DMediaCodecClearKeyPlayer.java236 if (format.containsKey(MediaFormat.KEY_DURATION)) { in prepareAudio()
237 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio()
282 if (format.containsKey(MediaFormat.KEY_DURATION)) { in prepareVideo()
283 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo()
DDecoderTest.java1691 configFormat.setLong(MediaFormat.KEY_DURATION,
1692 format.getLong(MediaFormat.KEY_DURATION));
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java1824 durationUs = format.getLong(MediaFormat.KEY_DURATION); in validateRecording()