Searched defs:bufferPos (Results 1 - 11 of 11) sorted by relevance

/system/chre/util/system/
H A Ddebug_dump.cc22 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 Dmemory_manager.cc66 bool MemoryManager::logStateToBuffer(char *buffer, size_t *bufferPos, argument
68 return debugDumpPrint(buffer, bufferPos, bufferSize,
/system/chre/core/
H A Dnanoapp.cc92 bool Nanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, argument
94 bool success = PlatformNanoapp::logStateToBuffer(buffer, bufferPos,
96 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
H A Dwwan_request_manager.cc77 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 Devent_loop.cc312 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 Dgnss_manager.cc40 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 Dsensor_request_manager.cc292 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 Dwifi_request_manager.cc260 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 Dplatform_nanoapp.cc64 bool PlatformNanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, argument
/system/chre/platform/slpi/
H A Dplatform_nanoapp.cc260 bool PlatformNanoapp::logStateToBuffer(char *buffer, size_t *bufferPos, argument
264 success &= debugDumpPrint(buffer, bufferPos, bufferSize, " %s: vendor=\"%s\"",
/system/libhwbinder/
H A DBufferedTextOutput.cpp43 , 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...]

Completed in 133 milliseconds