Home
last modified time | relevance | path

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

/system/connectivity/wifilogd/tests/
Dmessage_buffer_unittest.cpp30 constexpr size_t kHeaderSizeBytes = MessageBuffer::GetHeaderSize(); variable
32 constexpr std::array<uint8_t, kBufferSizeBytes - kHeaderSizeBytes>
41 constexpr std::array<uint8_t, kHeaderSizeBytes> message{}; in FillBufferWithMultipleMessages()
42 static_assert(kBufferSizeBytes % (kHeaderSizeBytes + message.size()) == 0, in FillBufferWithMultipleMessages()
46 n_written < kBufferSizeBytes / (kHeaderSizeBytes + message.size()); in FillBufferWithMultipleMessages()
99 constexpr size_t expected_free = kBufferSizeBytes - kHeaderSizeBytes; in TEST_F()
120 kBufferSizeBytes - (kSmallestMessage.size() + kHeaderSizeBytes) - in TEST_F()
121 kHeaderSizeBytes; in TEST_F()
286 EXPECT_EQ(kBufferSizeBytes - kHeaderSizeBytes - kSmallestMessage.size(), in TEST_F()
332 EXPECT_DEATH(MessageBuffer{kHeaderSizeBytes}, "Check failed"); in TEST_F()