Home
last modified time | relevance | path

Searched refs:currentPosition (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java98 int currentPosition = 0; in getCurrentPosition() local
115 currentPosition = mp.getCurrentPosition(); in getCurrentPosition()
118 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition()
120 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) in getCurrentPosition()
128 int currentPosition = 0; in seekTo() local
136 currentPosition = mp.getCurrentPosition(); in seekTo()
142 Log.v(TAG, "CurrentPosition = " + currentPosition); in seekTo()
144 if ((currentPosition > SEEK_TIME *0.8)) in seekTo()
151 int currentPosition = 0; in setLooping() local
173 currentPosition = mp.getCurrentPosition(); in setLooping()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DVisualizerTest.java325 int currentPosition = mp.getCurrentPosition(); in test4_1MeasurePeakRms() local
328 while (currentPosition < 200 && tryCount < maxTry) { in test4_1MeasurePeakRms()
330 currentPosition = mp.getCurrentPosition(); in test4_1MeasurePeakRms()
397 int currentPosition = mp.getCurrentPosition(); in test4_2MeasurePeakRmsLongMP3() local
400 while (currentPosition < 400 && tryCount < maxTry) { in test4_2MeasurePeakRmsLongMP3()
402 currentPosition = mp.getCurrentPosition(); in test4_2MeasurePeakRmsLongMP3()
DLoudnessEnhancerTest.java181 int currentPosition = mp.getCurrentPosition(); in test3_0MeasureGainChange() local
184 while (currentPosition < 200 && tryCount < maxTry) { in test3_0MeasureGainChange()
186 currentPosition = mp.getCurrentPosition(); in test3_0MeasureGainChange()