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.java99 int currentPosition = 0; in getCurrentPosition() local
116 currentPosition = mp.getCurrentPosition(); in getCurrentPosition()
119 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition()
121 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) in getCurrentPosition()
129 int currentPosition = 0; in seekTo() local
137 currentPosition = mp.getCurrentPosition(); in seekTo()
143 Log.v(TAG, "CurrentPosition = " + currentPosition); in seekTo()
145 if ((currentPosition > SEEK_TIME *0.8)) in seekTo()
152 int currentPosition = 0; in setLooping() local
174 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.java329 int currentPosition = mp.getCurrentPosition(); in test4_1MeasurePeakRms() local
332 while (currentPosition < 200 && tryCount < maxTry) { in test4_1MeasurePeakRms()
334 currentPosition = mp.getCurrentPosition(); in test4_1MeasurePeakRms()
403 int currentPosition = mp.getCurrentPosition(); in test4_2MeasurePeakRmsLongMP3() local
406 while (currentPosition < 400 && tryCount < maxTry) { in test4_2MeasurePeakRmsLongMP3()
408 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.java206 int getLaunchFromIndex(int currentPosition); in getLaunchFromIndex() argument
255 public int getLaunchFromIndex(int currentPosition) { in getLaunchFromIndex() argument
256 return currentPosition - 1; in getLaunchFromIndex()
350 public int getLaunchFromIndex(int currentPosition) { in getLaunchFromIndex() argument