Home
last modified time | relevance | path

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

/system/chre/util/system/
Ddebug_dump.cc25 void debugDumpPrint(char *buffer, size_t *bufferPos, size_t bufferSize, in debugDumpPrint() argument
27 if (*bufferPos < bufferSize) { in debugDumpPrint()
30 int strLen = vsnprintf(&buffer[*bufferPos], bufferSize - *bufferPos, in debugDumpPrint()
37 *bufferPos >= (bufferSize - strLenBytes)) { in debugDumpPrint()
38 *bufferPos = bufferSize; in debugDumpPrint()
42 *bufferPos += strLenBytes; in debugDumpPrint()
/system/libhwbinder/
DBufferedTextOutput.cpp44 , bufferPos(0) in BufferState()
55 if ((len+bufferPos) > bufferSize) { in append()
56 size_t newSize = ((len+bufferPos)*3)/2; in append()
57 if (newSize < (len+bufferPos)) return NO_MEMORY; // overflow in append()
63 if ((len+bufferPos) < bufferPos) return NO_MEMORY; // integer overflow in append()
64 memcpy(buffer+bufferPos, txt, len); in append()
65 bufferPos += len; in append()
70 bufferPos = 0; in restart()
83 size_t bufferPos; member
216 vec.iov_len = b->bufferPos; in print()
[all …]
/system/chre/core/
Dgnss_manager.cc40 char *buffer, size_t *bufferPos, size_t bufferSize) const { in logStateToBuffer() argument
41 debugDumpPrint(buffer, bufferPos, bufferSize,"\nGNSS:"); in logStateToBuffer()
42 mLocationSession.logStateToBuffer(buffer, bufferPos, bufferSize); in logStateToBuffer()
43 mMeasurementSession.logStateToBuffer(buffer, bufferPos, bufferSize); in logStateToBuffer()
115 char *buffer, size_t *bufferPos, size_t bufferSize) const { in logStateToBuffer() argument
116 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
119 debugDumpPrint(buffer, bufferPos, bufferSize, " Requests:\n"); in logStateToBuffer()
121 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
128 debugDumpPrint(buffer, bufferPos, bufferSize, " Transition queue:\n"); in logStateToBuffer()
130 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
Dnanoapp.cc90 void Nanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument
92 PlatformNanoapp::logStateToBuffer(buffer, bufferPos, bufferSize); in logStateToBuffer()
94 buffer, bufferPos, bufferSize, in logStateToBuffer()
Dwwan_request_manager.cc77 void WwanRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument
79 debugDumpPrint(buffer, bufferPos, bufferSize, "\nWWAN:\n"); in logStateToBuffer()
81 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
Devent_loop.cc319 void EventLoop::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument
321 debugDumpPrint(buffer, bufferPos, bufferSize, "\nNanoapps:\n"); in logStateToBuffer()
323 app->logStateToBuffer(buffer, bufferPos, bufferSize); in logStateToBuffer()
326 debugDumpPrint(buffer, bufferPos, bufferSize, "\nEvent Loop:\n"); in logStateToBuffer()
327 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
Dwifi_request_manager.cc260 void WifiRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument
262 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
265 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
268 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
273 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
278 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
281 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
Daudio_request_manager.cc108 void AudioRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument
110 debugDumpPrint(buffer, bufferPos, bufferSize, "\nAudio:\n"); in logStateToBuffer()
115 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
125 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
Dsensor_request_manager.cc413 void SensorRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument
415 debugDumpPrint(buffer, bufferPos, bufferSize, "\nSensors:\n"); in logStateToBuffer()
421 debugDumpPrint(buffer, bufferPos, bufferSize, " %s: mode=%d" in logStateToBuffer()
/system/chre/platform/shared/
Dmemory_manager.cc86 void MemoryManager::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument
88 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
/system/chre/util/include/chre/util/system/
Ddebug_dump.h35 void debugDumpPrint(char *buffer, size_t *bufferPos, size_t bufferSize,
/system/chre/core/include/chre/core/
Dgnss_manager.h91 void logStateToBuffer(char *buffer, size_t *bufferPos, size_t bufferSize)
336 void logStateToBuffer(char *buffer, size_t *bufferPos,
Dwwan_request_manager.h74 void logStateToBuffer(char *buffer, size_t *bufferPos,
Dnanoapp.h157 void logStateToBuffer(char *buffer, size_t *bufferPos,
Dwifi_request_manager.h159 void logStateToBuffer(char *buffer, size_t *bufferPos,
Devent_loop.h249 void logStateToBuffer(char *buffer, size_t *bufferPos,
Dsensor_request_manager.h182 void logStateToBuffer(char *buffer, size_t *bufferPos,
Daudio_request_manager.h104 void logStateToBuffer(char *buffer, size_t *bufferPos,
/system/chre/platform/include/chre/platform/
Dplatform_nanoapp.h106 void logStateToBuffer(char *buffer, size_t *bufferPos,
Dmemory_manager.h101 void logStateToBuffer(char *buffer, size_t *bufferPos,
/system/chre/platform/linux/
Dplatform_nanoapp.cc64 void PlatformNanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument
/system/chre/platform/slpi/
Dplatform_nanoapp.cc384 void PlatformNanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument
387 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()