summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yara Hassan <yaraabdullatif@google.com> 2020-06-05 16:26:30 +0100
committer Yara Hassan <yaraabdullatif@google.com> 2020-06-05 17:19:53 +0000
commit1e4256e7f9c9bcbf482e608a0888af606f976495 (patch)
treeed5126b0326ddc92e070954c821278e8975c6559
parenta851d4ace9ac77aefcf2745d1648b76eb23c5ffd (diff)
Added data share event types to ContentCaptureServiceEvents atom
Amended data share event types in ContentCaptureServiceEvents.Event enum to use for logging data share events. As data share is currently only used in Now Playing, we only expect a few events logged per day per device. Bug: 158295023 Test: NA Change-Id: I79be98c9929582b00b19d278a2b13c591362a227
-rw-r--r--cmds/statsd/src/atoms.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto
index 36a8b2cfc084..2e3c4ce7241e 100644
--- a/cmds/statsd/src/atoms.proto
+++ b/cmds/statsd/src/atoms.proto
@@ -6309,6 +6309,16 @@ message ContentCaptureServiceEvents {
SET_WHITELIST = 3;
SET_DISABLED = 4;
ON_USER_DATA_REMOVED = 5;
+ ON_DATA_SHARE_REQUEST = 6;
+ ACCEPT_DATA_SHARE_REQUEST = 7;
+ REJECT_DATA_SHARE_REQUEST = 8;
+ DATA_SHARE_WRITE_FINISHED = 9;
+ DATA_SHARE_ERROR_IOEXCEPTION = 10;
+ DATA_SHARE_ERROR_EMPTY_DATA = 11;
+ DATA_SHARE_ERROR_CLIENT_PIPE_FAIL = 12;
+ DATA_SHARE_ERROR_SERVICE_PIPE_FAIL = 13;
+ DATA_SHARE_ERROR_CONCURRENT_REQUEST = 14;
+ DATA_SHARE_ERROR_TIMEOUT_INTERRUPTED = 15;
}
optional Event event = 1;
// component/package of content capture service.