#include <memory>
#include <ostream>
#include <utility>
#include <vector>
#include "perfetto/base/status.h"
#include "perfetto/base/time.h"
#include "perfetto/ext/base/string_utils.h"
#include "perfetto/trace_processor/trace_blob.h"
#include "perfetto/trace_processor/trace_blob_view.h"
#include "protos/perfetto/trace/clock_snapshot.pbzero.h"
#include "src/trace_processor/importers/android_bugreport/android_bugreport_reader.h"
#include "src/trace_processor/importers/android_bugreport/android_log_event.h"
#include "src/trace_processor/importers/android_bugreport/android_log_reader.h"
#include "src/trace_processor/importers/common/clock_tracker.h"
#include "src/trace_processor/importers/common/metadata_tracker.h"
#include "src/trace_processor/importers/common/trace_parser.h"
#include "src/trace_processor/sorter/trace_sorter.h"
#include "src/trace_processor/storage/trace_storage.h"
#include "src/trace_processor/types/trace_processor_context.h"
#include "test/gtest_and_gmock.h"
#include "protos/perfetto/common/android_log_constants.pbzero.h"
namespace perfetto::trace_processor {
static void PrintTo(const AndroidLogEvent& event, std::ostream* os) { … }
namespace {
const int64_t kStoNs = …;
class EventParserMock : public AndroidLogEventParser { … };
class AndroidLogReaderTest : public ::testing::Test { … };
TEST_F(AndroidLogReaderTest, PersistentLogFormat) { … }
TEST_F(AndroidLogReaderTest, BugreportFormat) { … }
TEST_F(AndroidLogReaderTest, Dedupe) { … }
}
}