Home
last modified time | relevance | path

Searched refs:GetFreeSize (Results 1 – 5 of 5) 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()
/system/extras/simpleperf/
DRecordReadThread.h45 size_t GetFreeSize() const;
DRecordReadThread.cpp37 size_t RecordBuffer::GetFreeSize() const { in GetFreeSize() function in simpleperf::RecordBuffer
461 size_t free_size = record_buffer_.GetFreeSize(); in PushRecordToRecordBuffer()