# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # pylint: disable=unused-argument import collections import itertools import logging import subprocess import tempfile import time import re from pylib.device import adb_wrapper from pylib.device import decorators from pylib.device import device_errors class LogcatMonitor(object): _THREADTIME_RE_FORMAT = ( r'(?P\S*) +(?P