#include "src/trace_processor/importers/proto/android_probes_parser.h"
#include <optional>
#include "perfetto/ext/base/string_utils.h"
#include "perfetto/ext/traced/sys_stats_counters.h"
#include "src/trace_processor/importers/common/args_tracker.h"
#include "src/trace_processor/importers/common/async_track_set_tracker.h"
#include "src/trace_processor/importers/common/clock_tracker.h"
#include "src/trace_processor/importers/common/event_tracker.h"
#include "src/trace_processor/importers/common/metadata_tracker.h"
#include "src/trace_processor/importers/common/process_tracker.h"
#include "src/trace_processor/importers/syscalls/syscall_tracker.h"
#include "src/trace_processor/types/tcp_state.h"
#include "src/trace_processor/types/trace_processor_context.h"
#include "protos/perfetto/common/android_energy_consumer_descriptor.pbzero.h"
#include "protos/perfetto/common/android_log_constants.pbzero.h"
#include "protos/perfetto/common/builtin_clock.pbzero.h"
#include "protos/perfetto/config/trace_config.pbzero.h"
#include "protos/perfetto/trace/android/android_game_intervention_list.pbzero.h"
#include "protos/perfetto/trace/android/android_log.pbzero.h"
#include "protos/perfetto/trace/android/android_system_property.pbzero.h"
#include "protos/perfetto/trace/android/initial_display_state.pbzero.h"
#include "protos/perfetto/trace/power/android_energy_estimation_breakdown.pbzero.h"
#include "protos/perfetto/trace/power/android_entity_state_residency.pbzero.h"
#include "protos/perfetto/trace/power/battery_counters.pbzero.h"
#include "protos/perfetto/trace/power/power_rails.pbzero.h"
#include "protos/perfetto/trace/ps/process_stats.pbzero.h"
#include "protos/perfetto/trace/ps/process_tree.pbzero.h"
#include "protos/perfetto/trace/sys_stats/sys_stats.pbzero.h"
#include "protos/perfetto/trace/system_info.pbzero.h"
#include "src/trace_processor/importers/proto/android_probes_tracker.h"
namespace perfetto {
namespace trace_processor {
AndroidProbesParser::AndroidProbesParser(TraceProcessorContext* context)
: … { … }
void AndroidProbesParser::ParseBatteryCounters(int64_t ts, ConstBytes blob) { … }
void AndroidProbesParser::ParsePowerRails(int64_t ts,
uint64_t trace_packet_ts,
ConstBytes blob) { … }
void AndroidProbesParser::ParseEnergyBreakdown(int64_t ts, ConstBytes blob) { … }
void AndroidProbesParser::ParseEntityStateResidency(int64_t ts,
ConstBytes blob) { … }
void AndroidProbesParser::ParseAndroidLogPacket(ConstBytes blob) { … }
void AndroidProbesParser::ParseAndroidLogEvent(ConstBytes blob) { … }
void AndroidProbesParser::ParseAndroidLogStats(ConstBytes blob) { … }
void AndroidProbesParser::ParseStatsdMetadata(ConstBytes blob) { … }
void AndroidProbesParser::ParseAndroidGameIntervention(ConstBytes blob) { … }
void AndroidProbesParser::ParseInitialDisplayState(int64_t ts,
ConstBytes blob) { … }
void AndroidProbesParser::ParseAndroidSystemProperty(int64_t ts,
ConstBytes blob) { … }
}
}