Searched refs:playTime (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTestBase.java | 186 protected void playLiveVideoTest(String path, int playTime) throws Exception { in playLiveVideoTest() argument 187 playVideoWithRetries(path, null, null, playTime); in playLiveVideoTest() 194 protected void playVideoWithRetries(String path, Integer width, Integer height, int playTime) in playVideoWithRetries() argument 200 playLoadedVideo(width, height, playTime); in playVideoWithRetries() 230 protected void playLoadedVideo(final Integer width, final Integer height, int playTime) in playLoadedVideo() argument 283 if (playTime == -1) { in playLoadedVideo() 285 } else if (playTime == 0) { in playLoadedVideo() 290 Thread.sleep(playTime); in playLoadedVideo()
|
D | MediaPlayerTest.java | 856 int playTime = 4000; // The testing clip is about 10 second long. 859 Thread.sleep(playTime); 867 int diff = Math.abs((int)(playedMediaDurationMs / playbackRate) - playTime); 870 + ", play time is " + playTime + " vs expected " + playedMediaDurationMs); 910 int playTime = 4000; // The testing clip is about 10 second long. 913 Thread.sleep(playTime); 919 ts1.getAnchorMediaTimeUs() + (long)(playTime * ts1.getMediaClockRate() * 1000),
|