summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorMike Ma <yanmin@google.com>2020-01-15 15:57:20 -0800
committerMike Ma <yanmin@google.com>2020-01-15 17:13:37 -0800
commitd2672bda9c27e16adcf22820567713ca628411d2 (patch)
treeda4d10647cc573c87073afa99380227102916306 /proto
parenta4d4f94e21757148153711a2defe21bd45dc3337 (diff)
Dump connmetrics in protobuf format
Add protobuf dumpsys of connmetrics. Primarily used by incident service to capture an incident report proto. Currently, "proto" is used to dump the ring buffer in base64-encoded proto. The newly added "--proto" arg is a dumpsys convention to dump a service in proto wire format. This change reuses most of the code for executing "proto". Other cmds remain unchanged. Command to invoke (any of the following after lunch and env setup): $ adb shell dumpsys connmetrics --proto $ incident_report 3049 Bug: 146086778 Test: $ incident_report 3049, then compare the content with "dumpsys connmetrics" Change-Id: Ief2297d99aeb553224a83894ba3b9695ff0b87aa
Diffstat (limited to 'proto')
-rw-r--r--proto/Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto/Android.bp b/proto/Android.bp
index 7cf6ce740969..01a72eaa6bf8 100644
--- a/proto/Android.bp
+++ b/proto/Android.bp
@@ -32,3 +32,8 @@ filegroup {
name: "system-messages-proto-src",
srcs: ["src/system_messages.proto"],
}
+
+filegroup {
+ name: "ipconnectivity-proto-src",
+ srcs: ["src/ipconnectivity.proto"],
+}