private void processLogLines(String[] lines) { List<LogCatMessage> messages = mLogCatMessageParser.processLogLines(lines, mPidToNameMapper); if (messages.size() > 0) { for (LogCatMessage m : messages) { mLogMessages.appendMessage(m); } sendMessageReceivedEvent(messages); } }
/** * Resize the internal FIFO. * * @param size new size */ public void resizeFifo(int size) { mLogMessages.resize(size); }
/** Clear the list of messages received from the currently active device. */ public void clearMessages() { mLogMessages.clear(); }