Home
last modified time | relevance | path

Searched refs:getCurrentPosition (Results 1 – 11 of 11) 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/
DLoudnessEnhancerTest.java128 int currentPosition = mp.getCurrentPosition(); in test2_0MeasureGainChange()
133 currentPosition = mp.getCurrentPosition(); in test2_0MeasureGainChange()
149 currentPosition = mp.getCurrentPosition(); in test2_0MeasureGainChange()
DMediaPlayerTest.java166 int pos = mp.getCurrentPosition(); in testPlayAudioFromDataURI()
171 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); in testPlayAudioFromDataURI()
218 int pos = mp.getCurrentPosition();
223 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance);
270 int pos = mp.getCurrentPosition();
275 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance);
721 int posBefore = mMediaPlayer.getCurrentPosition();
723 int posAfter = mMediaPlayer.getCurrentPosition();
732 posAfter = mMediaPlayer.getCurrentPosition();
736 posBefore = mMediaPlayer.getCurrentPosition();
[all …]
DVisualizerTest.java323 int currentPosition = mp.getCurrentPosition(); in test4_1MeasurePeakRms()
328 currentPosition = mp.getCurrentPosition(); in test4_1MeasurePeakRms()
395 int currentPosition = mp.getCurrentPosition(); in test4_2MeasurePeakRmsLongMP3()
400 currentPosition = mp.getCurrentPosition(); in test4_2MeasurePeakRmsLongMP3()
DClearKeySystemTest.java357 if (mMediaCodecPlayer.getCurrentPosition() >= mMediaCodecPlayer.getDuration() ) { in testClearKeyPlayback()
358 Log.d(TAG, "current pos = " + mMediaCodecPlayer.getCurrentPosition() + in testClearKeyPlayback()
DMediaRandomTest.java212 mPlayer.getCurrentPosition(); in testPlayerRandomAction()
DStreamingMediaPlayerTest.java329 int pos = mp.getCurrentPosition(); in testPlayHlsStreamWithTimedId3()
DMediaCodecTunneledPlayer.java489 public int getCurrentPosition() { in getCurrentPosition() method in MediaCodecTunneledPlayer
DMediaCodecCencPlayer.java522 public int getCurrentPosition() { in getCurrentPosition() method in MediaCodecCencPlayer
DDecoderTest.java1973 if (mMediaCodecPlayer.getCurrentPosition() >= mMediaCodecPlayer.getDuration() ) { in testTunneledVideoPlayback()
1975 mMediaCodecPlayer.getCurrentPosition() + in testTunneledVideoPlayback()
/cts/tests/tests/widget/src/android/widget/cts/
DMediaControllerTest.java287 public int getCurrentPosition() { in getCurrentPosition() method in MediaControllerTest.MockMediaPlayerControl