Home
last modified time | relevance | path

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

/system/core/logd/
DSerializedLogChunkTest.cpp34 ASSERT_TRUE(chunk.CanLog(expected_total_len)); in TEST()
35 EXPECT_TRUE(chunk.CanLog(chunk_size)); in TEST()
36 EXPECT_FALSE(chunk.CanLog(chunk_size + 1)); in TEST()
51 EXPECT_FALSE(chunk.CanLog(chunk_size)); in TEST()
63 ASSERT_TRUE(chunk.CanLog(individual_message_size)); in TEST()
66 ASSERT_TRUE(chunk.CanLog(individual_message_size)); in TEST()
69 ASSERT_TRUE(chunk.CanLog(individual_message_size)); in TEST()
72 EXPECT_FALSE(chunk.CanLog(1)); in TEST()
DSerializedLogChunk.h38 bool CanLog(size_t len);
DSerializedLogChunk.cpp102 bool SerializedLogChunk::CanLog(size_t len) { in CanLog() function in SerializedLogChunk
DSerializedFlushToStateTest.cpp156 ASSERT_TRUE(chunk.CanLog(message.size() + 1)); in AddChunkWithMessages()
DSerializedLogBuffer.cpp91 if (!logs_[log_id].back().CanLog(total_len)) { in Log()