/system/chre/util/system/ |
H A D | debug_dump.cc | 22 bool debugDumpPrint(char *buffer, size_t *bufferPos, size_t bufferSize, argument 25 if (*bufferPos < bufferSize) { 28 int strLen = vsnprintf(&buffer[*bufferPos], bufferSize - *bufferPos, 35 *bufferPos >= (bufferSize - strLenBytes)) { 36 *bufferPos = bufferSize; 39 *bufferPos += strLenBytes;
|
/system/chre/platform/shared/ |
H A D | memory_manager.cc | 66 bool MemoryManager::logStateToBuffer(char *buffer, size_t *bufferPos, argument 68 return debugDumpPrint(buffer, bufferPos, bufferSize,
|
/system/chre/core/ |
H A D | nanoapp.cc | 92 bool Nanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, argument 94 bool success = PlatformNanoapp::logStateToBuffer(buffer, bufferPos, 96 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
|
H A D | wwan_request_manager.cc | 77 bool WwanRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, argument 79 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, "\nWWAN:\n"); 81 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
|
H A D | event_loop.cc | 312 bool EventLoop::logStateToBuffer(char *buffer, size_t *bufferPos, argument 314 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, "\nNanoapps:\n"); 316 success &= app->logStateToBuffer(buffer, bufferPos, bufferSize); 319 success &= debugDumpPrint(buffer, bufferPos, bufferSize, 321 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
|
H A D | gnss_manager.cc | 40 char *buffer, size_t *bufferPos, size_t bufferSize) const { 41 bool success = debugDumpPrint(buffer, bufferPos, bufferSize,"\nGNSS:"); 42 success &= mLocationSession.logStateToBuffer(buffer, bufferPos, bufferSize); 44 .logStateToBuffer(buffer, bufferPos, bufferSize); 117 char *buffer, size_t *bufferPos, size_t bufferSize) const { 118 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, 122 success &= debugDumpPrint(buffer, bufferPos, bufferSize, " Requests:\n"); 124 success &= debugDumpPrint(buffer, bufferPos, bufferSize, 131 success &= debugDumpPrint(buffer, bufferPos, bufferSize, 134 success &= debugDumpPrint(buffer, bufferPos, bufferSiz 39 logStateToBuffer( char *buffer, size_t *bufferPos, size_t bufferSize) const argument 116 logStateToBuffer( char *buffer, size_t *bufferPos, size_t bufferSize) const argument [all...] |
H A D | sensor_request_manager.cc | 292 bool SensorRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, argument 294 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, "\nSensors:\n"); 302 success &= debugDumpPrint(buffer, bufferPos, bufferSize, " %s: mode=%d"
|
H A D | wifi_request_manager.cc | 260 bool WifiRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos, argument 262 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, "\nWifi: " 266 success &= debugDumpPrint(buffer, bufferPos, bufferSize, 269 success &= debugDumpPrint(buffer, bufferPos, bufferSize, 274 success &= debugDumpPrint(buffer, bufferPos, bufferSize, 279 success &= debugDumpPrint(buffer, bufferPos, bufferSize, 282 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
|
/system/chre/platform/linux/ |
H A D | platform_nanoapp.cc | 64 bool PlatformNanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, argument
|
/system/chre/platform/slpi/ |
H A D | platform_nanoapp.cc | 260 bool PlatformNanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, argument 264 success &= debugDumpPrint(buffer, bufferPos, bufferSize, " %s: vendor=\"%s\"",
|
/system/libhwbinder/ |
H A D | BufferedTextOutput.cpp | 43 , bufferPos(0) 54 if ((len+bufferPos) > bufferSize) { 55 size_t newSize = ((len+bufferPos)*3)/2; 56 if (newSize < (len+bufferPos)) return NO_MEMORY; // overflow 62 if ((len+bufferPos) < bufferPos) return NO_MEMORY; // integer overflow 63 memcpy(buffer+bufferPos, txt, len); 64 bufferPos += len; 69 bufferPos = 0; 82 size_t bufferPos; member in struct:android::hardware::BufferedTextOutput::BufferState [all...] |