Home
last modified time | relevance | path

Searched refs:ascii_message_header (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/wifilogd/tests/
Dprotocol_unittest.cpp40 const auto ascii_message_header = in TEST() local
42 EXPECT_EQ(tagLen, ascii_message_header.tag_len); in TEST()
43 EXPECT_EQ(dataLen, ascii_message_header.data_len); in TEST()
50 AsciiMessage ascii_message_header = AsciiMessage(); in TEST() local
51 ascii_message_header.set_tag_len(tagLen); in TEST()
52 ascii_message_header.set_data_len(dataLen); in TEST()
53 EXPECT_EQ(tagLen, ascii_message_header.tag_len); in TEST()
54 EXPECT_EQ(dataLen, ascii_message_header.data_len); in TEST()
Dcommand_processor_unittest.cpp91 const auto ascii_message_header = in BuildAsciiMessageCommandWithAdjustments() local
100 EXPECT_EQ(adjusted_tag_len, ascii_message_header.tag_len); in BuildAsciiMessageCommandWithAdjustments()
101 EXPECT_EQ(adjusted_data_len, ascii_message_header.data_len); in BuildAsciiMessageCommandWithAdjustments()
103 const size_t payload_len = sizeof(ascii_message_header) + tag.length() + in BuildAsciiMessageCommandWithAdjustments()
115 .AppendOrDie(&ascii_message_header, sizeof(ascii_message_header)) in BuildAsciiMessageCommandWithAdjustments()
/system/connectivity/wifilogd/
Dcommand_processor.cpp262 const auto& ascii_message_header = in FormatAsciiMessage() local
265 GetStringFromMemoryReader(&buffer_reader, ascii_message_header.tag_len); in FormatAsciiMessage()
267 GetStringFromMemoryReader(&buffer_reader, ascii_message_header.data_len); in FormatAsciiMessage()