Home
last modified time | relevance | path

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

/system/connectivity/wifilogd/
Dmessage_buffer.cpp53 return GetFreeSize() >= GetHeaderSize() && in CanFitNow()
54 GetFreeSize() - GetHeaderSize() >= length; in CanFitNow()
Dmessage_buffer.h78 size_t GetFreeSize() const { return capacity_ - write_pos_; } in GetFreeSize() function
/system/connectivity/wifilogd/tests/
Dmessage_buffer_unittest.cpp50 EXPECT_EQ(0U, buffer_.GetFreeSize()); in FillBufferWithMultipleMessages()
281 EXPECT_EQ(kBufferSizeBytes, buffer_.GetFreeSize()); in TEST_F()
287 buffer_.GetFreeSize()); in TEST_F()
292 EXPECT_EQ(0U, buffer_.GetFreeSize()); in TEST_F()
298 EXPECT_EQ(0U, buffer_.GetFreeSize()); in TEST_F()
304 EXPECT_EQ(kBufferSizeBytes, buffer_.GetFreeSize()); in TEST_F()