Searched refs:CanFitNow (Results 1 – 4 of 4) sorted by relevance
76 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 …]
37 if (!CanFitNow(message_len)) { in Append()51 bool MessageBuffer::CanFitNow(uint16_t length) const { in CanFitNow() function in android::wifilogd::MessageBuffer
60 bool CanFitNow(uint16_t length) const;
180 if (!current_log_buffer_.CanFitNow(total_size)) { in CopyCommandToLog()187 CHECK(current_log_buffer_.CanFitNow(total_size)); in CopyCommandToLog()