Searched refs:minBufferSize (Results 1 – 3 of 3) sorted by relevance
272 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT; in onFirstRef() local273 mSensorEventBuffer = new sensors_event_t[minBufferSize]; in onFirstRef()274 mSensorEventScratch = new sensors_event_t[minBufferSize]; in onFirstRef()275 mMapFlushEventsToConnections = new wp<const SensorEventConnection> [minBufferSize]; in onFirstRef()701 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT; in threadLoop() local702 const size_t numEventMax = minBufferSize / (1 + vcount); in threadLoop()756 for (size_t i=0 ; i<size_t(count) && k<minBufferSize ; i++) { in threadLoop()758 if (count + k >= minBufferSize) { in threadLoop()761 count, k, minBufferSize); in threadLoop()
571 int minBufferSize = AudioRecord.getMinBufferSize( in run() local573 if (minBufferSize > bytesRequired) { in run()574 bytesRequired = minBufferSize; in run()
123 size_t minBufferSize = buffer == NULL ? roundup(frameCount) : frameCount; in TrackBase() local125 if (minBufferSize < frameCount // roundup rounds down for values above UINT_MAX / 2 in TrackBase()127 || minBufferSize > SIZE_MAX / mFrameSize) { in TrackBase()131 minBufferSize *= mFrameSize; in TrackBase()134 bufferSize = minBufferSize; // allocated here. in TrackBase()135 } else if (minBufferSize > bufferSize) { in TrackBase()