Searched refs:durationUs (Results 1 – 5 of 5) sorted by relevance
143 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio() local145 if (durationUs > mDurationUs) { in prepareAudio()146 mDurationUs = durationUs; in prepareAudio()176 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo() local178 if (durationUs > mDurationUs) { in prepareVideo()179 mDurationUs = durationUs; in prepareVideo()
237 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio() local239 if (durationUs > mDurationUs) { in prepareAudio()240 mDurationUs = durationUs; in prepareAudio()283 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo() local285 if (durationUs > mDurationUs) { in prepareVideo()286 mDurationUs = durationUs; in prepareVideo()
281 long durationUs = getExtractorFileDurationNative( in testExtractorFileDurationNative() local300 durationUs < 0 || durationUs >= aDurationUs && durationUs >= vDurationUs); in testExtractorFileDurationNative()
435 int64_t durationUs = -1; in Java_android_media_cts_NativeDecoderTest_getExtractorFileDurationNative() local437 AMediaFormat_getInt64(format, AMEDIAFORMAT_KEY_DURATION, &durationUs); in Java_android_media_cts_NativeDecoderTest_getExtractorFileDurationNative()440 return durationUs; in Java_android_media_cts_NativeDecoderTest_getExtractorFileDurationNative()
1814 long durationUs = 0; in validateRecording() local1824 durationUs = format.getLong(MediaFormat.KEY_DURATION); in validateRecording()1840 float duration = (float) (durationUs / 1000); in validateRecording()