Home
last modified time | relevance | path

Searched refs:CanLog (Results 1 – 6 of 6) sorted by relevance

/system/logging/logd/
DSerializedLogChunkTest.cpp37 ASSERT_TRUE(chunk.CanLog(expected_total_len)); in TEST()
38 EXPECT_TRUE(chunk.CanLog(chunk_size)); in TEST()
39 EXPECT_FALSE(chunk.CanLog(chunk_size + 1)); in TEST()
54 EXPECT_FALSE(chunk.CanLog(chunk_size)); in TEST()
66 ASSERT_TRUE(chunk.CanLog(individual_message_size)); in TEST()
69 ASSERT_TRUE(chunk.CanLog(individual_message_size)); in TEST()
72 ASSERT_TRUE(chunk.CanLog(individual_message_size)); in TEST()
75 EXPECT_FALSE(chunk.CanLog(1)); in TEST()
DSerializedLogChunk.cpp80 bool SerializedLogChunk::CanLog(size_t len) { in CanLog() function in SerializedLogChunk
DSerializedLogChunk.h70 bool CanLog(size_t len);
DSerializedLogBuffer.cpp39 if (!log_buffer.back().CanLog(total_len)) { in LogToLogBuffer()
DSerializedFlushToStateTest.cpp156 ASSERT_TRUE(chunk.CanLog(message.size() + 1)); in AddChunkWithMessages()
DSerializedLogBufferTest.cpp78 if (!chunk.CanLog(sizeof(SerializedLogEntry) + entry.msg.size())) { in CreateChunk()