Searched refs:atomicCounter (Results 1 – 2 of 2) sorted by relevance
117 … int64_t atomicCounter = *reinterpret_cast<uint32_t *>(mBuffer + offset + kOffsetAtomicCounter); in parseEvents() local118 if (atomicCounter <= lastCounter) { in parseEvents()130 lastCounter = atomicCounter; in parseEvents()
1136 long atomicCounter = initialCounter; in collectSensorEventsRealtime() local1155 if (readAtomicCounter(offset) == atomicCounter) { in collectSensorEventsRealtime()1164 atomicCounter += 1; in collectSensorEventsRealtime()1188 long atomicCounter = 1; in checkAtomicCounterUpdate() local1235 lastOffset, lastOffset, i, i, atomicCounter, atomicCounter, in checkAtomicCounterUpdate()1242 if (readAtomicCounter(offset) == atomicCounter) { in checkAtomicCounterUpdate()1249 atomicCounter += 1; in checkAtomicCounterUpdate()1261 Log.d(TAG, "at finish checkAtomicCounterUpdate has atomic counter = " + atomicCounter); in checkAtomicCounterUpdate()1263 assertTrue("Realtime event collection got no data", atomicCounter != 1); in checkAtomicCounterUpdate()