Searched refs:AsciiMessage (Results 1 – 4 of 4) sorted by relevance
/system/connectivity/wifilogd/tests/ |
D | protocol_unittest.cpp | 37 using protocol::AsciiMessage; in TEST() 38 ASSERT_TRUE(std::is_standard_layout<AsciiMessage>::value); in TEST() 40 EXPECT_EQ(0U, offsetof(AsciiMessage, data_len)); in TEST() 41 EXPECT_EQ(2U, sizeof(AsciiMessage::data_len)); in TEST() 43 EXPECT_EQ(2U, offsetof(AsciiMessage, tag_len)); in TEST() 44 EXPECT_EQ(1U, sizeof(AsciiMessage::tag_len)); in TEST() 46 EXPECT_EQ(3U, offsetof(AsciiMessage, severity)); in TEST() 47 EXPECT_EQ(1U, sizeof(AsciiMessage::severity)); in TEST() 49 EXPECT_EQ(4U, sizeof(AsciiMessage)); in TEST()
|
D | command_processor_unittest.cpp | 64 sizeof(protocol::AsciiMessage); 92 protocol::AsciiMessage() in BuildAsciiMessageCommandWithAdjustments() 95 GetMaxVal<decltype(protocol::AsciiMessage::tag_len)>())) in BuildAsciiMessageCommandWithAdjustments() 98 GetMaxVal<decltype(protocol::AsciiMessage::data_len)>())) in BuildAsciiMessageCommandWithAdjustments()
|
/system/connectivity/wifilogd/ |
D | protocol.h | 75 struct AsciiMessage { // Old-style log messages. struct 76 AsciiMessage& set_data_len(uint16_t new_data_len) { in set_data_len() argument 81 AsciiMessage& set_tag_len(uint8_t new_tag_len) { in set_tag_len() argument 86 AsciiMessage& set_severity(MessageSeverity new_severity) { in set_severity() argument
|
D | command_processor.cpp | 258 if (buffer_reader.size() < sizeof(protocol::AsciiMessage)) { in FormatAsciiMessage() 264 buffer_reader.CopyOutOrDie<protocol::AsciiMessage>(); in FormatAsciiMessage()
|