From ee615d6ed597bf558b526dcfb87c993fe0fb6648 Mon Sep 17 00:00:00 2001 From: Andrew T Nguyen Date: Wed, 1 May 2019 14:40:19 -0700 Subject: [PATCH] Add VehicleMapServicePacketReported and VehicleMapServicePacketFailureReported to atoms.proto. Test: none Change-Id: I0c9933e11e4b9539546150e810e8332f51aa6382 Bug: 131921165 --- cmds/statsd/src/atoms.proto | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 84bb11f54d0d0..0d6766e64dfc9 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -294,6 +294,8 @@ message Atom { MediametricsMediadrmReported mediametrics_mediadrm_reported = 198; MediametricsNuPlayerReported mediametrics_nuplayer_reported = 199; MediametricsRecorderReported mediametrics_recorder_reported = 200; + VehicleMapServicePacketReported vms_packet_reported = 201; + VehicleMapServicePacketFailureReported vms_packet_failure_reported = 202; } // Pulled events will start at field 10000. @@ -6266,3 +6268,39 @@ message IntelligenceEventReported { optional android.stats.intelligence.EventType event_id = 1; optional android.stats.intelligence.Status status = 2; } + +/** + * Logs information about Vehicle Map Service packets. It specifies the layer + * type, subtype, data version and size of the packet. + */ +message VehicleMapServicePacketReported { + // Identifies the type of data being transported by a Vehicle Maps Service + // packet. + optional int32 layer_type = 1; + // Identifies the subtype of the layer. + optional int32 layer_subtype = 2; + // Identifies the version of the data being transported by a Vehicle Maps + // Service packet. + optional int32 version = 3; + // Size in bytes of the packet. + optional int64 size_in_bytes = 4; +} + +/** + * Logs that a Vehicle Map Service packet failed to be delivered. + */ +message VehicleMapServicePacketFailureReported { + // Identifies the type of data being transported by a Vehicle Map Service + // packet. + optional int32 layer_type = 1; + // Identifies the subtype of the layer. + optional int32 layer_subtype = 2; + // Identifies the version of the data being transported by a Vehicle Map + // Service packet. + optional int32 version = 3; + // Identifies the package name of the publisher of the data. + optional string publisher_name = 4; + // Identifies the package name of the subscriber of the data. An empty string + // signifies that there are zero subscribers for the packet. + optional string subscriber_name = 5; +}