Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTunneledPlayer.java143 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio() local
145 if (durationUs > mDurationUs) { in prepareAudio()
146 mDurationUs = durationUs; in prepareAudio()
176 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo() local
178 if (durationUs > mDurationUs) { in prepareVideo()
179 mDurationUs = durationUs; in prepareVideo()
DMediaCodecClearKeyPlayer.java190 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio() local
192 if (durationUs > mDurationUs) { in prepareAudio()
193 mDurationUs = durationUs; in prepareAudio()
228 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo() local
230 if (durationUs > mDurationUs) { in prepareVideo()
231 mDurationUs = durationUs; in prepareVideo()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java1245 long durationUs = 0; in validateRecording() local
1254 durationUs = format.getLong(MediaFormat.KEY_DURATION); in validateRecording()
1263 int duration = (int) (durationUs / 1000); in validateRecording()