#include "src/trace_processor/importers/proto/winscope/winscope_module.h"
#include "protos/perfetto/trace/android/winscope_extensions.pbzero.h"
#include "protos/perfetto/trace/android/winscope_extensions_impl.pbzero.h"
#include "src/trace_processor/importers/proto/args_parser.h"
#include "src/trace_processor/importers/proto/winscope/viewcapture_args_parser.h"
#include "src/trace_processor/importers/proto/winscope/winscope.descriptor.h"
namespace perfetto {
namespace trace_processor {
TracePacket;
WinscopeExtensionsImpl;
WinscopeModule::WinscopeModule(TraceProcessorContext* context)
: … { … }
ModuleResult WinscopeModule::TokenizePacket(
const protos::pbzero::TracePacket::Decoder& decoder,
TraceBlobView* ,
int64_t ,
RefPtr<PacketSequenceStateGeneration> ,
uint32_t field_id) { … }
void WinscopeModule::ParseTracePacketData(const TracePacket::Decoder& decoder,
int64_t timestamp,
const TracePacketData& data,
uint32_t field_id) { … }
void WinscopeModule::ParseWinscopeExtensionsData(protozero::ConstBytes blob,
int64_t timestamp,
const TracePacketData& data) { … }
void WinscopeModule::ParseInputMethodClientsData(int64_t timestamp,
protozero::ConstBytes blob) { … }
void WinscopeModule::ParseInputMethodManagerServiceData(
int64_t timestamp,
protozero::ConstBytes blob) { … }
void WinscopeModule::ParseInputMethodServiceData(int64_t timestamp,
protozero::ConstBytes blob) { … }
void WinscopeModule::ParseViewCaptureData(
int64_t timestamp,
protozero::ConstBytes blob,
PacketSequenceStateGeneration* sequence_state) { … }
void WinscopeModule::ParseWindowManagerData(int64_t timestamp,
protozero::ConstBytes blob) { … }
}
}