Home
last modified time | relevance | path

Searched refs:lastOffset (Results 1 – 2 of 2) sorted by relevance

/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java1189 int lastOffset = 0; in checkAtomicCounterUpdate() local
1196 if (!readSharedMemory(memType, false/*secondary*/, lastOffset, SENSORS_EVENT_SIZE) in checkAtomicCounterUpdate()
1206 if (lastArray[i] != mBuffer[lastOffset + i]) { in checkAtomicCounterUpdate()
1214 System.arraycopy(mBuffer, lastOffset, currentArray, 0, SENSORS_EVENT_SIZE); in checkAtomicCounterUpdate()
1225 memType, false/*secondary*/, lastOffset, SENSORS_EVENT_SIZE)) { in checkAtomicCounterUpdate()
1229 System.arraycopy(mBuffer, lastOffset, delayedRead, 0, SENSORS_EVENT_SIZE); in checkAtomicCounterUpdate()
1235 lastOffset, lastOffset, i, i, atomicCounter, atomicCounter, in checkAtomicCounterUpdate()
1251 lastOffset = offset; in checkAtomicCounterUpdate()
1252 System.arraycopy(mBuffer, lastOffset, lastArray, 0, SENSORS_EVENT_SIZE); in checkAtomicCounterUpdate()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java3924 final int lastOffset = text.length() - 1; in testGetOffsetForPositionSingleLineLtr() local
3934 assertEquals(lastOffset, mTextView.getOffsetForPosition(x, y)); in testGetOffsetForPositionSingleLineLtr()
3938 assertEquals(lastOffset + 1, mTextView.getOffsetForPosition(x, y)); in testGetOffsetForPositionSingleLineLtr()