Home
last modified time | relevance | path

Searched refs:currentPosition (Results 1 – 5 of 5) 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/tools/release-parser/src/com/android/cts/releaseparser/
DOatParser.java229 int currentPosition = start; in getKeyValuePairMap() local
232 while (currentPosition < end) { in getKeyValuePairMap()
233 key = getString(buffer, currentPosition, end); in getKeyValuePairMap()
234 currentPosition += key.length() + 1; in getKeyValuePairMap()
235 value = getString(buffer, currentPosition, end); in getKeyValuePairMap()
236 currentPosition += value.length() + 1; in getKeyValuePairMap()
244 int currentPosition = start; in getString() local
245 while (currentPosition < end) { in getString()
246 if (buffer[currentPosition] == 0x0) { in getString()
247 str = new String(Arrays.copyOfRange(buffer, start, currentPosition)); in getString()
[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()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java205 int getLaunchFromIndex(int currentPosition); in getLaunchFromIndex() argument
247 public int getLaunchFromIndex(int currentPosition) { in getLaunchFromIndex() argument
248 return currentPosition - 1; in getLaunchFromIndex()
344 public int getLaunchFromIndex(int currentPosition) { in getLaunchFromIndex() argument