Searched refs:playTime (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTestBase.java | 193 protected void playLiveVideoTest(String path, int playTime) throws Exception { in playLiveVideoTest() argument 194 playVideoWithRetries(path, null, null, playTime); in playLiveVideoTest() 197 protected void playLiveAudioOnlyTest(String path, int playTime) throws Exception { in playLiveAudioOnlyTest() argument 198 playVideoWithRetries(path, -1, -1, playTime); in playLiveAudioOnlyTest() 205 protected void playVideoWithRetries(String path, Integer width, Integer height, int playTime) in playVideoWithRetries() argument 211 playLoadedVideo(width, height, playTime); in playVideoWithRetries() 232 int playTime) throws Exception { in playLiveVideoTest() argument 233 playVideoWithRetries(uri, headers, cookies, null /* width */, null /* height */, playTime); in playLiveVideoTest() 238 Integer width, Integer height, int playTime) throws Exception { in playVideoWithRetries() argument 244 playLoadedVideo(width, height, playTime); in playVideoWithRetries() [all …]
|
D | MediaPlayerDrmTestBase.java | 202 int playTime, ModularDrmTestType testType) throws Exception { in playModularDrmVideoWithRetries() argument 209 playLoadedModularDrmVideo(file, width, height, playTime, testType); in playModularDrmVideoWithRetries() 236 final Integer height, int playTime, ModularDrmTestType testType) throws Exception { in playLoadedModularDrmVideo() argument 244 playLoadedModularDrmVideo_Generic(file, width, height, playTime, testType); in playLoadedModularDrmVideo() 248 playLoadedModularDrmVideo_V4_offlineKey(file, width, height, playTime); in playLoadedModularDrmVideo() 254 final Integer height, int playTime, ModularDrmTestType testType) throws Exception { in playLoadedModularDrmVideo_Generic() argument 332 if (playTime == 0) { in playLoadedModularDrmVideo_Generic() 336 Log.v(TAG, "playLoadedVideo: waiting while playing for " + playTime); in playLoadedModularDrmVideo_Generic() 337 playbackCompleted.waitForSignal(playTime); in playLoadedModularDrmVideo_Generic() 526 final Integer height, int playTime) throws Exception { in playLoadedModularDrmVideo_V4_offlineKey() argument [all …]
|
D | MediaPlayerTest.java | 1049 int playTime = 2000; // The testing clip is about 10 second long. 1052 Thread.sleep(playTime); 1067 Thread.sleep(playTime); 1095 int playTime = 2000; // The testing clip is about 10 second long. 1099 Thread.sleep(playTime); 1104 Thread.sleep(playTime); 1112 Thread.sleep(playTime); 1135 int playTime = 4000; // The testing clip is about 10 second long. 1138 Thread.sleep(playTime); 1146 int diff = Math.abs((int)(playedMediaDurationMs / playbackRate) - playTime); [all …]
|