/system/chre/platform/shared/ |
D | log_buffer.cc | 27 using LogType = fbs::LogType; typedef 49 processLog(logLevel, timestampMs, tempBuffer, logLenSigned, LogType::STRING); in handleLogVa() 63 static_assert(sizeof(LogType) == sizeof(uint8_t), in handleBtLog() 73 setLogMetadata(LogType::BLUETOOTH, LogBufferLogLevel::INFO); in handleBtLog() 90 kBtSnoopLogGenericErrorMsg, logLen, LogType::BLUETOOTH); in handleBtLog() 99 processLog(logLevel, timestampMs, log, logSize, LogType::TOKENIZED); in handleEncodedLog() 106 processLog(logLevel, timestampMs, log, logSize, LogType::NANOAPP_TOKENIZED, in handleNanoappTokenizedLog() 238 LogType type = getLogTypeFromMetadata(mBufferData[startingIndex]); in getNextLogIndex() 244 size_t LogBuffer::getLogDataLength(size_t startingIndex, LogType type) { in getLogDataLength() 249 case LogType::STRING: in getLogDataLength() [all …]
|
D | log_buffer_manager.cc | 49 using LogType = fbs::LogType; typedef 131 void LogBufferManager::bufferOverflowGuard(size_t logSize, LogType type) { in bufferOverflowGuard() 133 case LogType::STRING: in bufferOverflowGuard() 136 case LogType::TOKENIZED: in bufferOverflowGuard() 139 case LogType::BLUETOOTH: in bufferOverflowGuard() 142 case LogType::NANOAPP_TOKENIZED: in bufferOverflowGuard() 166 bufferOverflowGuard(logSize, LogType::STRING); in logVa() 174 bufferOverflowGuard(size, LogType::BLUETOOTH); in logBtSnoop() 186 bufferOverflowGuard(encodedLogSize, LogType::TOKENIZED); in logEncoded() 195 bufferOverflowGuard(msgSize, LogType::NANOAPP_TOKENIZED); in logNanoappTokenized()
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | log_buffer.h | 31 using LogType = fbs::LogType; variable 283 size_t getLogDataLength(size_t startingIndex, LogType type); 349 const void *log, size_t logSize, LogType type, 357 const void *logBuffer, uint8_t logLen, LogType type, 373 LogType type, uint16_t instanceId); 385 LogType getLogTypeFromMetadata(uint8_t metadata); 394 uint8_t setLogMetadata(LogType type, LogBufferLogLevel logLevel); 401 bool tokenizedLogExceedsMaxSize(LogType type, size_t size);
|
D | log_buffer_manager.h | 35 using LogType = fbs::LogType; variable 158 void bufferOverflowGuard(size_t logSize, LogType type);
|
/system/chre/host/common/include/chre_host/ |
D | log_message_parser.h | 33 using chre::fbs::LogType; 303 LogType extractLogType(const LogMessageV2 *message) { in extractLogType() 304 return static_cast<LogType>((message->metadata & kLogTypeMask) >> in extractLogType()
|
/system/chre/host/common/ |
D | log_message_parser.cc | 36 using chre::fbs::LogType; 277 case LogType::STRING: in logV2() 281 case LogType::TOKENIZED: in logV2() 285 case LogType::BLUETOOTH: in logV2() 289 case LogType::NANOAPP_TOKENIZED: in logV2()
|
/system/netd/include/binder_utils/ |
D | BinderUtil.h | 68 template <typename LogType> 69 void binderCallLogFn(const LogType& log, const LogFn& logFn) { in binderCallLogFn()
|
/system/chre/platform/tests/ |
D | log_buffer_test.cc | 474 LogType::STRING), in TEST() 483 LogType::TOKENIZED), in TEST() 492 LogType::BLUETOOTH), in TEST() 502 LogType::NANOAPP_TOKENIZED), in TEST()
|
/system/chre/platform/shared/include/chre/platform/shared/generated/ |
D | host_messages_generated.h | 229 enum class LogType : int8_t { enum 238 inline const LogType (&EnumValuesLogType())[4] { in EnumValuesLogType() 239 static const LogType values[] = { in EnumValuesLogType() 240 LogType::STRING, in EnumValuesLogType() 241 LogType::TOKENIZED, in EnumValuesLogType() 242 LogType::BLUETOOTH, in EnumValuesLogType() 243 LogType::NANOAPP_TOKENIZED in EnumValuesLogType() 259 inline const char *EnumNameLogType(LogType e) { in EnumNameLogType() 260 if (flatbuffers::IsOutRange(e, LogType::STRING, LogType::NANOAPP_TOKENIZED)) return ""; in EnumNameLogType()
|
/system/chre/host/common/include/chre_host/generated/ |
D | host_messages_generated.h | 264 enum class LogType : int8_t { enum 273 inline const LogType (&EnumValuesLogType())[4] { in EnumValuesLogType() 274 static const LogType values[] = { in EnumValuesLogType() 275 LogType::STRING, in EnumValuesLogType() 276 LogType::TOKENIZED, in EnumValuesLogType() 277 LogType::BLUETOOTH, in EnumValuesLogType() 278 LogType::NANOAPP_TOKENIZED in EnumValuesLogType() 294 inline const char *EnumNameLogType(LogType e) { in EnumNameLogType() 295 if (flatbuffers::IsOutRange(e, LogType::STRING, LogType::NANOAPP_TOKENIZED)) return ""; in EnumNameLogType()
|
/system/chre/platform/shared/idl/ |
D | host_messages.fbs | 347 enum LogType : byte {
|