예제 #1
0
  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);
    }
  }
예제 #2
0
 /**
  * Resize the internal FIFO.
  *
  * @param size new size
  */
 public void resizeFifo(int size) {
   mLogMessages.resize(size);
 }
예제 #3
0
 /** Clear the list of messages received from the currently active device. */
 public void clearMessages() {
   mLogMessages.clear();
 }