Home
last modified time | relevance | path

Searched refs:read_log_messages (Results 1 – 3 of 3) sorted by relevance

/system/logging/logd/
DLogBufferTest.cpp223 auto read_log_messages = ReadLogMessagesNonBlockingThread({}); in TEST_P() local
224 CompareLogMessages(log_messages, read_log_messages); in TEST_P()
284 auto read_log_messages = ReadLogMessagesNonBlockingThread({}); in TEST_P() local
285 CompareLogMessages(log_messages, read_log_messages); in TEST_P()
301 auto read_log_messages = ReadLogMessagesNonBlockingThread({.sequence = 3}); in TEST_P() local
302 CompareLogMessages(expected_log_messages, read_log_messages); in TEST_P()
364 CompareLogMessages(expected_log_messages, blocking_reader.read_log_messages()); in TEST_P()
379 auto read_log_messages = ReadLogMessagesNonBlockingThread({.tail = kTailCount}); in TEST_P() local
380 CompareLogMessages(expected_log_messages, read_log_messages); in TEST_P()
398 if (blocking_reader.read_log_messages().size() == expected_log_messages.size()) { in TEST_P()
[all …]
DLogBufferTest.h101 std::vector<LogMessage> read_log_messages; variable
103 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, nullptr));
107 return {read_log_messages, flush_to_state->start()};
138 std::vector<LogMessage> read_log_messages() const { return read_log_messages_; } in read_log_messages() function
154 return reader.read_log_messages(); in ReadLogMessagesNonBlockingThread()
DChattyLogBufferTest.cpp245 auto read_log_messages = ReadLogMessagesNonBlockingThread({.pid = 1, .sequence = 2}); in TEST_P() local
246 CompareLogMessages(expected_log_messages, read_log_messages); in TEST_P()
291 auto read_log_messages = ReadLogMessagesNonBlockingThread({.tail = 3}); in TEST_P() local
292 CompareLogMessages(expected_log_messages, read_log_messages); in TEST_P()