Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DNativeDecoderTest.java309 … long cachedDurationUs = getExtractorCachedDurationNative(url, /* testNativeSource = */ false); in testExtractorCachedDurationNative() local
310 assertTrue("cached duration negative", cachedDurationUs >= 0); in testExtractorCachedDurationNative()
311 cachedDurationUs = getExtractorCachedDurationNative(url, /* testNativeSource = */ true); in testExtractorCachedDurationNative()
312 assertTrue("cached duration negative native source", cachedDurationUs >= 0); in testExtractorCachedDurationNative()
DMediaExtractorTest.java454 long cachedDurationUs = mExtractor.getCachedDuration(); in testExtractorGetCachedDuration() local
455 assertTrue("cached duration should be non-negative", cachedDurationUs >= 0); in testExtractorGetCachedDuration()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp472 int64_t cachedDurationUs = AMediaExtractor_getCachedDuration(ex); in Java_android_media_cts_NativeDecoderTest_getExtractorCachedDurationNative() local
475 return cachedDurationUs; in Java_android_media_cts_NativeDecoderTest_getExtractorCachedDurationNative()