Home
last modified time | relevance | path

Searched refs:durationUs (Results 1 – 5 of 5) 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.java237 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio() local
239 if (durationUs > mDurationUs) { in prepareAudio()
240 mDurationUs = durationUs; in prepareAudio()
283 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo() local
285 if (durationUs > mDurationUs) { in prepareVideo()
286 mDurationUs = durationUs; in prepareVideo()
DNativeDecoderTest.java281 long durationUs = getExtractorFileDurationNative( in testExtractorFileDurationNative() local
300 durationUs < 0 || durationUs >= aDurationUs && durationUs >= vDurationUs); in testExtractorFileDurationNative()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp435 int64_t durationUs = -1; in Java_android_media_cts_NativeDecoderTest_getExtractorFileDurationNative() local
437 AMediaFormat_getInt64(format, AMEDIAFORMAT_KEY_DURATION, &durationUs); in Java_android_media_cts_NativeDecoderTest_getExtractorFileDurationNative()
440 return durationUs; in Java_android_media_cts_NativeDecoderTest_getExtractorFileDurationNative()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java1814 long durationUs = 0; in validateRecording() local
1824 durationUs = format.getLong(MediaFormat.KEY_DURATION); in validateRecording()
1840 float duration = (float) (durationUs / 1000); in validateRecording()