Raff Tsai | 02e4557 | 2019-01-30 11:14:20 +0800 | [diff] [blame] | 1 | syntax = "proto2"; |
| 2 | |
| 3 | package com.android.settings.intelligence; |
| 4 | option java_outer_classname = "LogProto"; |
| 5 | |
| 6 | message SettingsLog { |
| 7 | /** |
| 8 | * Where this SettingsUIChange event comes from. For example, if |
| 9 | * it's a PAGE_VISIBLE event, where the page is opened from. |
| 10 | */ |
| 11 | optional int32 attribution = 1; |
| 12 | |
| 13 | /** |
| 14 | * What the UI action is. |
| 15 | */ |
| 16 | optional int32 action = 2; |
| 17 | |
| 18 | /** |
| 19 | * Where the action is happening |
| 20 | */ |
| 21 | optional int32 page_id = 3; |
| 22 | |
| 23 | /** |
| 24 | * What preference changed in this event. |
| 25 | */ |
| 26 | optional string changed_preference_key = 4; |
| 27 | |
| 28 | /** |
| 29 | * The new value of the changed preference. |
| 30 | */ |
| 31 | optional int32 changed_preference_int_value = 5; |
| 32 | |
| 33 | /** |
| 34 | * The timestamp of a log event |
| 35 | */ |
| 36 | optional string timestamp = 6; |
| 37 | } |