Home
last modified time | relevance | path

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

/cts/tests/sensor/jni/
DSensorTest.cpp117 … int64_t atomicCounter = *reinterpret_cast<uint32_t *>(mBuffer + offset + kOffsetAtomicCounter); in parseEvents() local
118 if (atomicCounter <= lastCounter) { in parseEvents()
130 lastCounter = atomicCounter; in parseEvents()
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java957 long atomicCounter = initialCounter; in collectSensorEventsRealtime() local
976 if (readAtomicCounter(offset) == atomicCounter) { in collectSensorEventsRealtime()
985 atomicCounter += 1; in collectSensorEventsRealtime()
1009 long atomicCounter = 1; in checkAtomicCounterUpdate() local
1056 lastOffset, lastOffset, i, i, atomicCounter, atomicCounter, in checkAtomicCounterUpdate()
1063 if (readAtomicCounter(offset) == atomicCounter) { in checkAtomicCounterUpdate()
1070 atomicCounter += 1; in checkAtomicCounterUpdate()
1082 Log.d(TAG, "at finish checkAtomicCounterUpdate has atomic counter = " + atomicCounter); in checkAtomicCounterUpdate()
1084 assertTrue("Realtime event collection got no data", atomicCounter != 1); in checkAtomicCounterUpdate()