/system/chre/util/system/ |
D | debug_dump.cc | 25 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/ |
D | BufferedTextOutput.cpp | 44 , bufferPos(0) in BufferState() 55 if (len > SIZE_MAX - bufferPos) return NO_MEMORY; // overflow in append() 56 if ((len+bufferPos) > bufferSize) { in append() 57 if ((len + bufferPos) > SIZE_MAX / 3) return NO_MEMORY; // overflow in append() 58 size_t newSize = ((len+bufferPos)*3)/2; 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/ |
D | gnss_manager.cc | 40 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()
|
D | nanoapp.cc | 90 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()
|
D | wwan_request_manager.cc | 76 void WwanRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument 78 debugDumpPrint(buffer, bufferPos, bufferSize, "\nWWAN:\n"); in logStateToBuffer() 80 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
|
D | event_loop.cc | 325 void EventLoop::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument 327 debugDumpPrint(buffer, bufferPos, bufferSize, "\nNanoapps:\n"); in logStateToBuffer() 329 app->logStateToBuffer(buffer, bufferPos, bufferSize); in logStateToBuffer() 332 debugDumpPrint(buffer, bufferPos, bufferSize, "\nEvent Loop:\n"); in logStateToBuffer() 333 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
|
D | wifi_request_manager.cc | 260 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()
|
D | audio_request_manager.cc | 116 void AudioRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument 118 debugDumpPrint(buffer, bufferPos, bufferSize, "\nAudio:\n"); in logStateToBuffer() 126 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer() 137 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
|
D | sensor_request_manager.cc | 432 void SensorRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument 434 debugDumpPrint(buffer, bufferPos, bufferSize, "\nSensors:\n"); in logStateToBuffer() 440 debugDumpPrint(buffer, bufferPos, bufferSize, " %s: mode=%d" in logStateToBuffer()
|
/system/chre/platform/shared/ |
D | memory_manager.cc | 86 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/ |
D | debug_dump.h | 35 void debugDumpPrint(char *buffer, size_t *bufferPos, size_t bufferSize,
|
/system/chre/core/include/chre/core/ |
D | gnss_manager.h | 91 void logStateToBuffer(char *buffer, size_t *bufferPos, size_t bufferSize) 336 void logStateToBuffer(char *buffer, size_t *bufferPos,
|
D | wwan_request_manager.h | 74 void logStateToBuffer(char *buffer, size_t *bufferPos,
|
D | nanoapp.h | 157 void logStateToBuffer(char *buffer, size_t *bufferPos,
|
D | wifi_request_manager.h | 159 void logStateToBuffer(char *buffer, size_t *bufferPos,
|
D | event_loop.h | 250 void logStateToBuffer(char *buffer, size_t *bufferPos,
|
D | audio_request_manager.h | 104 void logStateToBuffer(char *buffer, size_t *bufferPos,
|
D | sensor_request_manager.h | 199 void logStateToBuffer(char *buffer, size_t *bufferPos,
|
/system/chre/platform/include/chre/platform/ |
D | platform_nanoapp.h | 106 void logStateToBuffer(char *buffer, size_t *bufferPos,
|
D | memory_manager.h | 101 void logStateToBuffer(char *buffer, size_t *bufferPos,
|
/system/chre/platform/linux/ |
D | platform_nanoapp.cc | 64 void PlatformNanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument
|
/system/chre/platform/slpi/ |
D | platform_nanoapp.cc | 384 void PlatformNanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, in logStateToBuffer() argument 387 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
|