Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp666 CircularBuffer* &circular_buf = mLastEventSeen.editValueFor(buffer[i].sensor); in recordLastValueLocked() local
667 if (circular_buf == NULL) { in recordLastValueLocked()
668 circular_buf = new CircularBuffer(buffer[i].type); in recordLastValueLocked()
670 circular_buf->addEvent(buffer[i]); in recordLastValueLocked()
867 CircularBuffer *circular_buf = mLastEventSeen.valueFor(handle); in enable() local
868 if (circular_buf) { in enable()
874 if(circular_buf->populateLastEvent(&event)) { in enable()