Searched refs:MessageBuffer (Results 1 – 5 of 5) sorted by relevance
29 MessageBuffer::MessageBuffer(size_t size) in MessageBuffer() function in android::wifilogd::MessageBuffer34 bool MessageBuffer::Append(const uint8_t* message, uint16_t message_len) { in Append()46 bool MessageBuffer::CanFitEver(uint16_t length) const { in CanFitEver()51 bool MessageBuffer::CanFitNow(uint16_t length) const { in CanFitNow()57 void MessageBuffer::Clear() { in Clear()62 std::tuple<const uint8_t*, size_t> MessageBuffer::ConsumeNextMessage() { in ConsumeNextMessage()78 void MessageBuffer::Rewind() { read_pos_ = 0; } in Rewind()82 void MessageBuffer::AppendHeader(uint16_t message_len) { in AppendHeader()88 void MessageBuffer::AppendRawBytes(const void* data_start, size_t data_len) { in AppendRawBytes()
33 class MessageBuffer {40 explicit ScopedRewinder(NONNULL MessageBuffer* buffer) : buffer_(buffer) {} in ScopedRewinder()44 MessageBuffer* const buffer_;48 explicit MessageBuffer(size_t size);110 DISALLOW_COPY_AND_ASSIGN(MessageBuffer);
85 MessageBuffer current_log_buffer_;
212 MessageBuffer::ScopedRewinder rewinder(¤t_log_buffer_); in Dump()
30 constexpr size_t kHeaderSizeBytes = MessageBuffer::GetHeaderSize();61 MessageBuffer buffer_;332 EXPECT_DEATH(MessageBuffer{kHeaderSizeBytes}, "Check failed"); in TEST_F()