Addition of GNSS key performance indicator logs
Bug: 35963181
Test: Manual
Change-Id: Ibbc8986eb5c52b8e0065b5fd2fdb8579eda11949
diff --git a/proto/src/gnss.proto b/proto/src/gnss.proto
new file mode 100644
index 0000000..33a5584
--- /dev/null
+++ b/proto/src/gnss.proto
@@ -0,0 +1,36 @@
+// Copyright 2014 Google Inc. All Rights Reserved.
+// Author: siddharthr@google.com (Siddharth Ray)
+// Protos for uploading GNSS metrics.
+
+syntax = "proto2";
+
+package clearcut.connectivity;
+
+option java_package = "com.android.internal.location";
+option java_outer_classname = "GnssLogsProto";
+
+message GnssLog {
+ // Number of location reports processed
+ optional int32 num_location_report_processed = 1;
+
+ // Location failure (in percent)
+ optional int32 percentage_location_failure = 2;
+
+ // Number of time to first fix processed
+ optional int32 num_time_to_first_fix_processed = 3;
+
+ // Mean time to first fix (in seconds)
+ optional int32 mean_time_to_first_fix_secs = 4;
+
+ // Standard deviation of time to first fix (in seconds)
+ optional int32 standard_deviation_time_to_first_fix_secs = 5;
+
+ // Number of position accuracy processed
+ optional int32 num_position_accuracy_processed = 6;
+
+ // Mean position accuracy (in meters)
+ optional int32 mean_position_accuracy_meters = 7;
+
+ // Standard deviation of position accuracy (in meters)
+ optional int32 standard_deviation_position_accuracy_meters = 8;
+}
\ No newline at end of file