#include "src/trace_processor/importers/proto/pixel_modem_parser.h"
#include <cstddef>
#include <cstdint>
#include "perfetto/ext/base/string_utils.h"
#include "perfetto/protozero/field.h"
#include "src/trace_processor/importers/common/async_track_set_tracker.h"
#include "src/trace_processor/importers/common/slice_tracker.h"
#include "src/trace_processor/importers/proto/pigweed_detokenizer.h"
#include "src/trace_processor/storage/trace_storage.h"
#include "src/trace_processor/util/status_macros.h"
namespace perfetto::trace_processor {
namespace {
constexpr std::string_view kKeyDelimiterStart = …;
constexpr std::string_view kKeyDelimiterEnd = …;
constexpr std::string_view kKeyDomain = …;
constexpr std::string_view kKeyFormat = …;
constexpr std::string_view kModemNamePrefix = …;
constexpr std::string_view kModemName = …;
std::map<std::string, std::string> SplitUpModemString(std::string input) { … }
}
PixelModemParser::PixelModemParser(TraceProcessorContext* context)
: … { … }
PixelModemParser::~PixelModemParser() = default;
base::Status PixelModemParser::SetDatabase(protozero::ConstBytes blob) { … }
base::Status PixelModemParser::ParseEvent(int64_t ts,
uint64_t trace_packet_ts,
protozero::ConstBytes blob) { … }
}