Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioTrackLatencyTest.java210 int position2 = track.getPlaybackHeadPosition(); in testPlaySmallBuffer() local
211 while ((position1 == position2) in testPlaySmallBuffer()
214 position2 = track.getPlaybackHeadPosition(); in testPlaySmallBuffer()
216 assertTrue(TEST_NAME + ": did it start?, position after start = " + position2, in testPlaySmallBuffer()
217 position2 > position1); in testPlaySmallBuffer()
228 position2 = track.getPlaybackHeadPosition(); in testPlaySmallBuffer()
230 framesWrittenTotal, position2); in testPlaySmallBuffer()
255 int position2 = track.getPlaybackHeadPosition(); in testPlayPauseSmallBuffer() local
256 int delta = position2 - position1; // safe from wrapping in testPlayPauseSmallBuffer()
258 + ", p2 = " + position2, delta > 0); in testPlayPauseSmallBuffer()
[all …]
DAudioTrackTest.java2284 final int position2 = track.getPlaybackHeadPosition(); in testVariableRatePlayback() local
2288 final int actual = position2 - position1; in testVariableRatePlayback()
/cts/tests/tests/widget/src/android/widget/cts/
DAbsListViewTest.java498 int position2 = mListView.pointToPosition(50, middleOfSecondRow); in testPointToPosition() local
501 assertEquals(mCountriesAdapter.getItemId(position2), in testPointToPosition()
504 assertTrue(position2 > position1); in testPointToPosition()