Home
last modified time | relevance | path

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

/system/chre/platform/shared/
Dlog_buffer.cc29 mBufferMaxSize(bufferSize), in LogBuffer()
58 while (mBufferDataSize + totalLogSize > mBufferMaxSize) { in handleLogVa()
101 mBufferMaxSize); in logWouldCauseOverflow()
111 CHRE_ASSERT(buffer.mBufferMaxSize >= mBufferMaxSize); in transferTo()
115 bytesCopied = copyLogsLocked(buffer.mBufferData, buffer.mBufferMaxSize, in transferTo()
120 buffer.mBufferDataTailIndex = bytesCopied % buffer.mBufferMaxSize; in transferTo()
154 return (originalVal + incrementBy) % mBufferMaxSize; in incrementAndModByBufferMaxSize()
159 if (mBufferDataTailIndex + size > mBufferMaxSize) { in copyToBuffer()
160 size_t firstSize = mBufferMaxSize - mBufferDataTailIndex; in copyToBuffer()
174 if (mBufferDataHeadIndex + size > mBufferMaxSize) { in copyFromBuffer()
[all …]
/system/chre/platform/shared/include/chre/platform/shared/
Dlog_buffer.h283 size_t mBufferMaxSize; variable