Home
last modified time | relevance | path

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

/system/connectivity/wifilogd/tests/
Dmessage_buffer_unittest.cpp76 ASSERT_FALSE(buffer_.CanFitNow(1)); in TEST_F()
87 while (buffer_.CanFitNow(message.size())) { in TEST_F()
100 ASSERT_FALSE(buffer_.CanFitNow(expected_free + 1)); in TEST_F()
112 EXPECT_TRUE(buffer_.CanFitNow(kLargestMessage.size())); in TEST_F()
113 EXPECT_FALSE(buffer_.CanFitNow(kLargestMessage.size() + 1)); in TEST_F()
122 EXPECT_TRUE(buffer_.CanFitNow(expected_free)); in TEST_F()
123 EXPECT_FALSE(buffer_.CanFitNow(expected_free + 1)); in TEST_F()
128 EXPECT_FALSE(buffer_.CanFitNow(1)); in TEST_F()
134 EXPECT_FALSE(buffer_.CanFitNow(1)); in TEST_F()
139 ASSERT_FALSE(buffer_.CanFitNow(1)); in TEST_F()
[all …]
/system/connectivity/wifilogd/
Dmessage_buffer.cpp37 if (!CanFitNow(message_len)) { in Append()
51 bool MessageBuffer::CanFitNow(uint16_t length) const { in CanFitNow() function in android::wifilogd::MessageBuffer
Dmessage_buffer.h60 bool CanFitNow(uint16_t length) const;
Dcommand_processor.cpp180 if (!current_log_buffer_.CanFitNow(total_size)) { in CopyCommandToLog()
187 CHECK(current_log_buffer_.CanFitNow(total_size)); in CopyCommandToLog()