Home
last modified time | relevance | path

Searched refs:LogMessage (Results 1 – 11 of 11) sorted by relevance

/system/bt/gd/packet/parser/
Dlogging.h33 class LogMessage {
35 LogMessage(ParseLocation loc, std::initializer_list<const Loggable*> tokens) in LogMessage() function
40LogMessage(bool debug, std::initializer_list<const Loggable*> tokens) : debug_(debug), tokens_(tok… in LogMessage() function
60 ~LogMessage() { in ~LogMessage()
91 #define ERROR(...) LogMessage(false, {__VA_ARGS__}).stream()
94 #define ERRORLOC(_1, ...) LogMessage(_1, {__VA_ARGS__}).stream()
96 #define DEBUG(...) LogMessage(true, {__VA_ARGS__}).stream()
/system/core/logd/
DLogBufferTest.h32 struct LogMessage { struct
41 void CompareLogMessages(const std::vector<LogMessage>& expected, argument
42 const std::vector<LogMessage>& result);
44 void FixupMessages(std::vector<LogMessage>* messages);
48 TestWriter(std::vector<LogMessage>* msgs, bool* released) in TestWriter()
51 msgs_->emplace_back(LogMessage{entry, std::string(message, entry.len), false}); in Write()
62 std::vector<LogMessage>* msgs_;
80 void LogMessages(const std::vector<LogMessage>& messages) { in LogMessages()
DChattyLogBufferTest.cpp23 bool regex = false) -> LogMessage { in TEST_P()
36 std::vector<LogMessage> log_messages = { in TEST_P()
62 std::vector<LogMessage> read_log_messages; in TEST_P()
67 std::vector<LogMessage> expected_log_messages = { in TEST_P()
95 bool regex = false) -> LogMessage { in TEST_P()
108 std::vector<LogMessage> log_messages = { in TEST_P()
119 std::vector<LogMessage> read_log_messages; in TEST_P()
124 std::vector<LogMessage> expected_log_messages = { in TEST_P()
139 auto make_message = [&](uint32_t sec, int32_t tag, int32_t count) -> LogMessage { in TEST_P()
149 std::vector<LogMessage> log_messages = { in TEST_P()
[all …]
DLogBufferTest.cpp158 void CompareLogMessages(const std::vector<LogMessage>& expected, in CompareLogMessages()
159 const std::vector<LogMessage>& result) { in CompareLogMessages()
180 void FixupMessages(std::vector<LogMessage>* messages) { in FixupMessages()
188 std::vector<LogMessage> log_messages = { in TEST_P()
202 std::vector<LogMessage> read_log_messages; in TEST_P()
211 std::vector<LogMessage> log_messages = { in TEST_P()
236 std::vector<LogMessage> read_log_messages; in TEST_P()
260 LogMessage GenerateRandomLogMessage(uint32_t sec) { in GenerateRandomLogMessage()
304 std::vector<LogMessage> log_messages; in TEST_P()
310 std::vector<LogMessage> read_log_messages; in TEST_P()
[all …]
/system/libbase/include/android-base/
Dlogging.h207 ::android::base::LogMessage(__FILE__, __LINE__, SEVERITY_LAMBDA(severity), _LOG_TAG_INTERNAL, \
229 ::android::base::LogMessage(__FILE__, __LINE__, SEVERITY_LAMBDA(severity), \
245 ::android::base::LogMessage(__FILE__, __LINE__, ::android::base::FATAL, _LOG_TAG_INTERNAL, \
257 ::android::base::LogMessage(__FILE__, __LINE__, ::android::base::FATAL, _LOG_TAG_INTERNAL, -1) \
284 ::android::base::LogMessage(__FILE__, __LINE__, ::android::base::FATAL, \
411 class LogMessage {
414 LogMessage(const char* file, unsigned int line, LogId, LogSeverity severity, const char* tag,
416 LogMessage(const char* file, unsigned int line, LogSeverity severity, const char* tag, int error);
418 ~LogMessage();
431 DISALLOW_COPY_AND_ASSIGN(LogMessage);
/system/libbase/
Dlogging.cpp474 LogMessage::LogMessage(const char* file, unsigned int line, LogId, LogSeverity severity, in LogMessage() function in android::base::LogMessage
476 : LogMessage(file, line, severity, tag, error) {} in LogMessage()
478 LogMessage::LogMessage(const char* file, unsigned int line, LogSeverity severity, const char* tag, in LogMessage() function in android::base::LogMessage
482 LogMessage::~LogMessage() { in ~LogMessage()
516 std::ostream& LogMessage::stream() { in stream()
520 void LogMessage::LogLine(const char* file, unsigned int line, LogSeverity severity, const char* tag, in LogLine()
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_messages_generated.h32 struct LogMessage;
65 LogMessage = 10, enumerator
147 template<> struct ChreMessageTraits<LogMessage> {
148 static const ChreMessage enum_value = ChreMessage::LogMessage;
1023 struct LogMessage FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
1055 fbb_.AddOffset(LogMessage::VT_BUFFER, buffer);
1062 flatbuffers::Offset<LogMessage> Finish() {
1064 auto o = flatbuffers::Offset<LogMessage>(end);
1069 inline flatbuffers::Offset<LogMessage> CreateLogMessage(
1077 inline flatbuffers::Offset<LogMessage> CreateLogMessageDirect(
[all …]
/system/chre/host/common/include/chre_host/
Dhost_messages_generated.h42 struct LogMessage;
84 LogMessage = 10, enumerator
166 template<> struct ChreMessageTraits<LogMessage> {
167 static const ChreMessage enum_value = ChreMessage::LogMessage;
260 return type == ChreMessage::LogMessage ?
1438 typedef LogMessage TableType;
1445 struct LogMessage FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
1477 …static flatbuffers::Offset<LogMessage> Pack(flatbuffers::FlatBufferBuilder &_fbb, const LogMessage…
1484 fbb_.AddOffset(LogMessage::VT_BUFFER, buffer);
1491 flatbuffers::Offset<LogMessage> Finish() {
[all …]
/system/chre/platform/shared/
Dhost_protocol_chre.cc184 finalize(builder, fbs::ChreMessage::LogMessage, message.Union()); in encodeLogMessages()
/system/chre/host/msm/daemon/
Dchre_daemon.cc205 const auto *logMessage = static_cast<const fbs::LogMessage *>( in parseAndEmitLogMessages()
845 if (messageType == fbs::ChreMessage::LogMessage) { in chre_message_to_host_thread()
/system/chre/platform/shared/idl/
Dhost_messages.fbs174 table LogMessage {
248 LogMessage,