Home
last modified time | relevance | path

Searched refs:kSmallestMessage (Results 1 – 2 of 2) sorted by relevance

/system/connectivity/wifilogd/tests/
Dbyte_buffer_unittest.cpp30 constexpr std::array<uint8_t, 1> kSmallestMessage{}; variable
44 buffer_.AppendOrDie(kSmallestMessage.data(), kSmallestMessage.size()); in TEST_F()
106 buffer_.AppendOrDie(kSmallestMessage.data(), kSmallestMessage.size()); in TEST_F()
107 EXPECT_EQ(kSmallestMessage.size(), buffer_.size()); in TEST_F()
116 buffer_.AppendOrDie(kSmallestMessage.data(), kSmallestMessage.size()) in TEST_F()
117 .AppendOrDie(kSmallestMessage.data(), kSmallestMessage.size()) in TEST_F()
118 .AppendOrDie(kSmallestMessage.data(), kSmallestMessage.size()); in TEST_F()
119 EXPECT_EQ(3 * kSmallestMessage.size(), buffer_.size()); in TEST_F()
137 buffer_.AppendOrDie(kSmallestMessage.data(), kSmallestMessage.size()), in TEST_F()
Dmessage_buffer_unittest.cpp31 constexpr std::array<uint8_t, 1> kSmallestMessage{}; variable
67 EXPECT_TRUE(buffer_.Append(kSmallestMessage.data(), kSmallestMessage.size())); in TEST_F()
117 ASSERT_TRUE(buffer_.Append(kSmallestMessage.data(), kSmallestMessage.size())); in TEST_F()
120 kBufferSizeBytes - (kSmallestMessage.size() + kHeaderSizeBytes) - in TEST_F()
151 ASSERT_TRUE(buffer_.Append(kSmallestMessage.data(), kSmallestMessage.size())); in TEST_F()
190 ASSERT_TRUE(buffer_.Append(kSmallestMessage.data(), kSmallestMessage.size())); in TEST_F()
194 EXPECT_EQ(kSmallestMessage.size(), std::get<1>(ptr_and_size)); in TEST_F()
207 ASSERT_TRUE(buffer_.Append(kSmallestMessage.data(), kSmallestMessage.size())); in TEST_F()
285 ASSERT_TRUE(buffer_.Append(kSmallestMessage.data(), kSmallestMessage.size())); in TEST_F()
286 EXPECT_EQ(kBufferSizeBytes - kHeaderSizeBytes - kSmallestMessage.size(), in TEST_F()