Home
last modified time | relevance | path

Searched refs:getCurrentPosition (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java96 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/
DMediaPlayerTest.java235 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 …]
DMediaPlayer2Test.java272 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 …]
DVisualizerTest.java325 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()
DLoudnessEnhancerTest.java181 int currentPosition = mp.getCurrentPosition(); in test3_0MeasureGainChange()
186 currentPosition = mp.getCurrentPosition(); in test3_0MeasureGainChange()
DMockPlayer.java118 public long getCurrentPosition() { in getCurrentPosition() method in MockPlayer
DMediaRandomTest.java214 mPlayer.getCurrentPosition(); in testPlayerRandomAction()
DMediaCodecTunneledPlayer.java489 public int getCurrentPosition() { in getCurrentPosition() method in MediaCodecTunneledPlayer
DMediaDrmClearkeyTest.java420 if (mMediaCodecPlayer.getCurrentPosition() >= mMediaCodecPlayer.getDuration() ) { in testClearKeyPlayback()
421 Log.d(TAG, "current pos = " + mMediaCodecPlayer.getCurrentPosition() + in testClearKeyPlayback()
DStreamingMediaPlayerTest.java500 int pos = mp.getCurrentPosition(); in testPlayHlsStreamWithTimedId3()
DMediaCodecClearKeyPlayer.java623 public int getCurrentPosition() { in getCurrentPosition() method in MediaCodecClearKeyPlayer
DStreamingMediaPlayer2Test.java629 long pos = mp.getCurrentPosition(); in testPlayHlsStreamWithTimedId3()
DMediaSession2Test.java408 assertEquals(position, mSession.getCurrentPosition()); in testGetPosition()
D.goutputstream-9KZYJZ629 long pos = mp.getCurrentPosition();
/cts/tests/tests/widget/src/android/widget/cts/
DMediaControllerTest.java257 public int getCurrentPosition() { in getCurrentPosition() method in MediaControllerTest.MockMediaPlayerControl