Searched refs:minBufferSize (Results 1 – 3 of 3) sorted by relevance
273 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT; in onFirstRef() local274 mSensorEventBuffer = new sensors_event_t[minBufferSize]; in onFirstRef()275 mSensorEventScratch = new sensors_event_t[minBufferSize]; in onFirstRef()276 mMapFlushEventsToConnections = new wp<const SensorEventConnection> [minBufferSize]; in onFirstRef()715 const size_t minBufferSize = SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT; in threadLoop() local716 const size_t numEventMax = minBufferSize / (1 + vcount); in threadLoop()779 for (size_t i=0 ; i<size_t(count) && k<minBufferSize ; i++) { in threadLoop()781 if (count + k >= minBufferSize) { in threadLoop()784 count, k, minBufferSize); in threadLoop()
571 int minBufferSize = AudioRecord.getMinBufferSize( in run() local573 if (minBufferSize > bytesRequired) { in run()574 bytesRequired = minBufferSize; in run()
121 size_t minBufferSize = buffer == NULL ? roundup(frameCount) : frameCount; in TrackBase() local123 if (minBufferSize < frameCount // roundup rounds down for values above UINT_MAX / 2 in TrackBase()125 || minBufferSize > SIZE_MAX / mFrameSize) { in TrackBase()129 minBufferSize *= mFrameSize; in TrackBase()132 bufferSize = minBufferSize; // allocated here. in TrackBase()133 } else if (minBufferSize > bufferSize) { in TrackBase()