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.java97 public static boolean getCurrentPosition(String filePath) { in getCurrentPosition() method in CodecTest
116 currentPosition = mp.getCurrentPosition(); in getCurrentPosition()
137 currentPosition = mp.getCurrentPosition(); in seekTo()
174 currentPosition = mp.getCurrentPosition(); in setLooping()
206 int curPosition = mp.getCurrentPosition(); in pause()
342 currentPosition = mp.getCurrentPosition(); in videoSeekTo()
368 currentPosition = mp.getCurrentPosition(); in seekToEnd()
395 currentPosition = mp.getCurrentPosition(); in shortMediaStop()
424 currentPosition = mp.getCurrentPosition(); in playToEnd()
450 currentPosition=mp.getCurrentPosition(); in seektoBeforeStart()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java249 int pos = mp.getCurrentPosition(); in testPlayAudioFromDataURI()
254 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); in testPlayAudioFromDataURI()
313 int pos = mp.getCurrentPosition();
318 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance);
369 int pos = mp.getCurrentPosition();
376 int pos = mp.getCurrentPosition();
378 assertEquals(pos + SLEEP_TIME, mp.getCurrentPosition(), tolerance);
448 int pos = mp.getCurrentPosition(); in runMidiTest()
453 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); in runMidiTest()
493 int posMs = mMediaPlayer.getCurrentPosition();
[all …]
DMediaCodecPlayerTestBase.java111 if (mMediaCodecPlayer.getCurrentPosition() >= mMediaCodecPlayer.getDuration() ) { in playUntilEnd()
112 Log.d(TAG, "current pos = " + mMediaCodecPlayer.getCurrentPosition() + in playUntilEnd()
DVisualizerTest.java329 int currentPosition = mp.getCurrentPosition(); in test4_1MeasurePeakRms()
334 currentPosition = mp.getCurrentPosition(); in test4_1MeasurePeakRms()
403 int currentPosition = mp.getCurrentPosition(); in test4_2MeasurePeakRmsLongMP3()
408 currentPosition = mp.getCurrentPosition(); in test4_2MeasurePeakRmsLongMP3()
DLoudnessEnhancerTest.java181 int currentPosition = mp.getCurrentPosition(); in test3_0MeasureGainChange()
186 currentPosition = mp.getCurrentPosition(); in test3_0MeasureGainChange()
DMediaRandomTest.java227 mPlayer.getCurrentPosition(); in testPlayerRandomAction()
DMediaCodecTunneledPlayer.java529 public int getCurrentPosition() { in getCurrentPosition() method in MediaCodecTunneledPlayer
DMediaCodecClearKeyPlayer.java693 public int getCurrentPosition() { in getCurrentPosition() method in MediaCodecClearKeyPlayer
DStreamingMediaPlayerTest.java430 int pos = mp.getCurrentPosition(); in testPlayHlsStreamWithTimedId3()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/
Dpoc.cpp84 status_t getCurrentPosition(int *msec) { return OK; } in getCurrentPosition() function in MyMediaPlayer
/cts/tests/tests/widget/src/android/widget/cts/
DMediaControllerTest.java258 public int getCurrentPosition() { in getCurrentPosition() method in MediaControllerTest.MockMediaPlayerControl