/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 96 public static boolean getCurrentPosition(String filePath) { in getCurrentPosition() method in CodecTest 115 currentPosition = mp.getCurrentPosition(); in getCurrentPosition() 136 currentPosition = mp.getCurrentPosition(); in seekTo() 173 currentPosition = mp.getCurrentPosition(); in setLooping() 205 int curPosition = mp.getCurrentPosition(); in pause() 341 currentPosition = mp.getCurrentPosition(); in videoSeekTo() 367 currentPosition = mp.getCurrentPosition(); in seekToEnd() 394 currentPosition = mp.getCurrentPosition(); in shortMediaStop() 423 currentPosition = mp.getCurrentPosition(); in playToEnd() 449 currentPosition=mp.getCurrentPosition(); in seektoBeforeStart() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTest.java | 235 int pos = mp.getCurrentPosition(); in testPlayAudioFromDataURI() 240 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); in testPlayAudioFromDataURI() 287 int pos = mp.getCurrentPosition(); 292 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); 341 int pos = mp.getCurrentPosition(); 348 int pos = mp.getCurrentPosition(); 350 assertEquals(pos + SLEEP_TIME, mp.getCurrentPosition(), tolerance); 412 int pos = mp.getCurrentPosition(); in testPlayMidi() 417 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); in testPlayMidi() 457 int posMs = mMediaPlayer.getCurrentPosition(); [all …]
|
D | MediaPlayer2Test.java | 272 long pos = mp.getCurrentPosition(); in testPlayAudioFromDataURI() 279 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); in testPlayAudioFromDataURI() 371 long pos = mp.getCurrentPosition(); 378 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); 463 long pos = mp.getCurrentPosition(); 470 long pos = mp.getCurrentPosition(); 472 assertEquals(pos + SLEEP_TIME, mp.getCurrentPosition(), tolerance); 589 long pos = mp.getCurrentPosition(); in testPlayMidi() 596 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); in testPlayMidi() 758 long posBefore = mPlayer.getCurrentPosition(); [all …]
|
D | VisualizerTest.java | 325 int currentPosition = mp.getCurrentPosition(); in test4_1MeasurePeakRms() 330 currentPosition = mp.getCurrentPosition(); in test4_1MeasurePeakRms() 397 int currentPosition = mp.getCurrentPosition(); in test4_2MeasurePeakRmsLongMP3() 402 currentPosition = mp.getCurrentPosition(); in test4_2MeasurePeakRmsLongMP3()
|
D | LoudnessEnhancerTest.java | 181 int currentPosition = mp.getCurrentPosition(); in test3_0MeasureGainChange() 186 currentPosition = mp.getCurrentPosition(); in test3_0MeasureGainChange()
|
D | MockPlayer.java | 118 public long getCurrentPosition() { in getCurrentPosition() method in MockPlayer
|
D | MediaRandomTest.java | 214 mPlayer.getCurrentPosition(); in testPlayerRandomAction()
|
D | MediaCodecTunneledPlayer.java | 489 public int getCurrentPosition() { in getCurrentPosition() method in MediaCodecTunneledPlayer
|
D | MediaDrmClearkeyTest.java | 420 if (mMediaCodecPlayer.getCurrentPosition() >= mMediaCodecPlayer.getDuration() ) { in testClearKeyPlayback() 421 Log.d(TAG, "current pos = " + mMediaCodecPlayer.getCurrentPosition() + in testClearKeyPlayback()
|
D | StreamingMediaPlayerTest.java | 500 int pos = mp.getCurrentPosition(); in testPlayHlsStreamWithTimedId3()
|
D | MediaCodecClearKeyPlayer.java | 623 public int getCurrentPosition() { in getCurrentPosition() method in MediaCodecClearKeyPlayer
|
D | StreamingMediaPlayer2Test.java | 629 long pos = mp.getCurrentPosition(); in testPlayHlsStreamWithTimedId3()
|
D | MediaSession2Test.java | 408 assertEquals(position, mSession.getCurrentPosition()); in testGetPosition()
|
D | .goutputstream-9KZYJZ | 629 long pos = mp.getCurrentPosition();
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MediaControllerTest.java | 257 public int getCurrentPosition() { in getCurrentPosition() method in MediaControllerTest.MockMediaPlayerControl
|