Home
last modified time | relevance | path

Searched refs:playTime (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTestBase.java142 protected void playLiveVideoTest(String path, int playTime) throws Exception { in playLiveVideoTest() argument
143 playVideoWithRetries(path, null, null, playTime); in playLiveVideoTest()
146 protected void playLiveAudioOnlyTest(String path, int playTime) throws Exception { in playLiveAudioOnlyTest() argument
147 playVideoWithRetries(path, -1, -1, playTime); in playLiveAudioOnlyTest()
154 protected void playVideoWithRetries(String path, Integer width, Integer height, int playTime) in playVideoWithRetries() argument
161 playLoadedVideo(width, height, playTime); in playVideoWithRetries()
182 int playTime) throws Exception { in playLiveVideoTest() argument
183 playVideoWithRetries(uri, headers, cookies, null /* width */, null /* height */, playTime); in playLiveVideoTest()
188 int playTime) throws Exception { in playLiveAudioOnlyTest() argument
189 playVideoWithRetries(uri, headers, cookies, -1 /* width */, -1 /* height */, playTime); in playLiveAudioOnlyTest()
[all …]
DMediaPlayerDrmTestBase.java203 int playTime, ModularDrmTestType testType) throws Exception { in playModularDrmVideoWithRetries() argument
210 playLoadedModularDrmVideo(file, width, height, playTime, testType); in playModularDrmVideoWithRetries()
237 final Integer height, int playTime, ModularDrmTestType testType) throws Exception { in playLoadedModularDrmVideo() argument
245 playLoadedModularDrmVideo_Generic(file, width, height, playTime, testType); in playLoadedModularDrmVideo()
249 playLoadedModularDrmVideo_V4_offlineKey(file, width, height, playTime); in playLoadedModularDrmVideo()
255 final Integer height, int playTime, ModularDrmTestType testType) throws Exception { in playLoadedModularDrmVideo_Generic() argument
333 if (playTime == 0) { in playLoadedModularDrmVideo_Generic()
337 Log.v(TAG, "playLoadedVideo: waiting while playing for " + playTime); in playLoadedModularDrmVideo_Generic()
338 playbackCompleted.waitForSignal(playTime); in playLoadedModularDrmVideo_Generic()
527 final Integer height, int playTime) throws Exception { in playLoadedModularDrmVideo_V4_offlineKey() argument
[all …]
DStreamingMediaPlayerTest.java591 private void localHlsTest(final String name, int playTime, int bitsPerMs, boolean isAudioOnly) in localHlsTest() argument
593 localHlsTest(name, null, null, false, false, playTime, bitsPerMs, isAudioOnly); in localHlsTest()
597 boolean appendQueryString, boolean redirect, int playTime, int bitsPerMs, in localHlsTest() argument
620 playLiveAudioOnlyTest(Uri.parse(stream_url), headers, cookies, playTime); in localHlsTest() local
622 playLiveVideoTest(Uri.parse(stream_url), headers, cookies, playTime); in localHlsTest() local
DMediaPlayerTest.java1149 int playTime = 2000; // The testing clip is about 10 second long.
1152 Thread.sleep(playTime);
1167 Thread.sleep(playTime);
1195 int playTime = 2000; // The testing clip is about 10 second long. in testSetPlaybackParamsZeroSpeed() local
1199 Thread.sleep(playTime); in testSetPlaybackParamsZeroSpeed()
1204 Thread.sleep(playTime); in testSetPlaybackParamsZeroSpeed()
1212 Thread.sleep(playTime); in testSetPlaybackParamsZeroSpeed()
1235 int playTime = 4000; // The testing clip is about 10 second long. in testPlaybackRate() local
1238 Thread.sleep(playTime); in testPlaybackRate()
1246 int diff = Math.abs((int)(playedMediaDurationMs / playbackRate) - playTime); in testPlaybackRate()
[all …]