Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp249 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT; in onFirstRef() local
250 mSensorEventBuffer = new sensors_event_t[minBufferSize]; in onFirstRef()
251 mSensorEventScratch = new sensors_event_t[minBufferSize]; in onFirstRef()
252 mMapFlushEventsToConnections = new SensorEventConnection const * [minBufferSize]; in onFirstRef()
486 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT; in threadLoop() local
487 const size_t numEventMax = minBufferSize / (1 + vcount); in threadLoop()
543 for (size_t i=0 ; i<size_t(count) && k<minBufferSize ; i++) { in threadLoop()
545 if (count + k >= minBufferSize) { in threadLoop()
548 count, k, minBufferSize); in threadLoop()