• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17syntax = "proto2";
18
19package android.stats.devicepolicy;
20option java_multiple_files = true;
21
22/**
23 * Id for device policy features.
24 */
25enum EventId {
26  SET_PASSWORD_QUALITY = 1;
27  SET_PASSWORD_MINIMUM_LENGTH = 2;
28  SET_PASSWORD_MINIMUM_NUMERIC = 3;
29  SET_PASSWORD_MINIMUM_NON_LETTER = 4;
30  SET_PASSWORD_MINIMUM_LETTERS = 5;
31  SET_PASSWORD_MINIMUM_LOWER_CASE = 6;
32  SET_PASSWORD_MINIMUM_UPPER_CASE = 7;
33  SET_PASSWORD_MINIMUM_SYMBOLS = 8;
34  SET_KEYGUARD_DISABLED_FEATURES = 9;
35  LOCK_NOW = 10;
36  WIPE_DATA_WITH_REASON = 11;
37  ADD_USER_RESTRICTION = 12;
38  REMOVE_USER_RESTRICTION = 13;
39  SET_SECURE_SETTING = 14;
40  SET_SECURITY_LOGGING_ENABLED = 15;
41  RETRIEVE_SECURITY_LOGS = 16;
42  RETRIEVE_PRE_REBOOT_SECURITY_LOGS = 17;
43  SET_PERMISSION_POLICY = 18;
44  SET_PERMISSION_GRANT_STATE = 19;
45  INSTALL_KEY_PAIR = 20;
46  INSTALL_CA_CERT = 21;
47  CHOOSE_PRIVATE_KEY_ALIAS = 22;
48  REMOVE_KEY_PAIR = 23;
49  UNINSTALL_CA_CERTS = 24;
50  SET_CERT_INSTALLER_PACKAGE = 25;
51  SET_ALWAYS_ON_VPN_PACKAGE = 26;
52  SET_PERMITTED_INPUT_METHODS = 27;
53  SET_PERMITTED_ACCESSIBILITY_SERVICES = 28;
54  SET_SCREEN_CAPTURE_DISABLED = 29;
55  SET_CAMERA_DISABLED = 30;
56  QUERY_SUMMARY_FOR_USER = 31;
57  QUERY_SUMMARY = 32;
58  QUERY_DETAILS = 33;
59  REBOOT = 34;
60  SET_MASTER_VOLUME_MUTED = 35;
61  SET_AUTO_TIME_REQUIRED = 36;
62  SET_KEYGUARD_DISABLED = 37;
63  SET_STATUS_BAR_DISABLED = 38;
64  SET_ORGANIZATION_COLOR = 39;
65  SET_PROFILE_NAME = 40;
66  SET_USER_ICON = 41;
67  SET_DEVICE_OWNER_LOCK_SCREEN_INFO = 42;
68  SET_SHORT_SUPPORT_MESSAGE = 43;
69  SET_LONG_SUPPORT_MESSAGE = 44;
70  SET_CROSS_PROFILE_CONTACTS_SEARCH_DISABLED = 45;
71  SET_CROSS_PROFILE_CALLER_ID_DISABLED = 46;
72  SET_BLUETOOTH_CONTACT_SHARING_DISABLED = 47;
73  ADD_CROSS_PROFILE_INTENT_FILTER = 48;
74  ADD_CROSS_PROFILE_WIDGET_PROVIDER = 49;
75  SET_SYSTEM_UPDATE_POLICY = 50;
76  SET_LOCKTASK_MODE_ENABLED = 51;
77  ADD_PERSISTENT_PREFERRED_ACTIVITY = 52;
78  REQUEST_BUGREPORT = 53;
79  GET_WIFI_MAC_ADDRESS = 54;
80  REQUEST_QUIET_MODE_ENABLED = 55;
81  WORK_PROFILE_LOCATION_CHANGED = 56;
82  DO_USER_INFO_CLICKED = 57;
83  TRANSFER_OWNERSHIP = 58;
84  GENERATE_KEY_PAIR = 59;
85  SET_KEY_PAIR_CERTIFICATE = 60;
86  SET_KEEP_UNINSTALLED_PACKAGES = 61;
87  SET_APPLICATION_RESTRICTIONS = 62;
88  SET_APPLICATION_HIDDEN = 63;
89  ENABLE_SYSTEM_APP = 64;
90  ENABLE_SYSTEM_APP_WITH_INTENT = 65;
91  INSTALL_EXISTING_PACKAGE = 66;
92  SET_UNINSTALL_BLOCKED = 67;
93  SET_PACKAGES_SUSPENDED = 68;
94  ON_LOCK_TASK_MODE_ENTERING = 69;
95  SET_CROSS_PROFILE_CALENDAR_PACKAGES = 70;
96  GET_USER_PASSWORD_COMPLEXITY_LEVEL = 72;
97  INSTALL_SYSTEM_UPDATE = 73;
98  INSTALL_SYSTEM_UPDATE_ERROR = 74;
99  IS_MANAGED_KIOSK = 75;
100  IS_UNATTENDED_MANAGED_KIOSK = 76;
101  PROVISIONING_MANAGED_PROFILE_ON_FULLY_MANAGED_DEVICE = 77;
102  PROVISIONING_PERSISTENT_DEVICE_OWNER = 78;
103
104  // existing Tron logs to be migrated to statsd
105  PROVISIONING_ENTRY_POINT_NFC = 79;
106  PROVISIONING_ENTRY_POINT_QR_CODE = 80;
107  PROVISIONING_ENTRY_POINT_CLOUD_ENROLLMENT = 81;
108  PROVISIONING_ENTRY_POINT_ADB = 82;
109  PROVISIONING_ENTRY_POINT_TRUSTED_SOURCE = 83;
110  PROVISIONING_DPC_PACKAGE_NAME = 84;
111  PROVISIONING_DPC_INSTALLED_BY_PACKAGE = 85;
112  PROVISIONING_PROVISIONING_ACTIVITY_TIME_MS = 86;
113  PROVISIONING_PREPROVISIONING_ACTIVITY_TIME_MS = 87;
114  PROVISIONING_ENCRYPT_DEVICE_ACTIVITY_TIME_MS = 88;
115  PROVISIONING_WEB_ACTIVITY_TIME_MS = 89;
116  PROVISIONING_TRAMPOLINE_ACTIVITY_TIME_MS = 90 [deprecated=true];
117  PROVISIONING_POST_ENCRYPTION_ACTIVITY_TIME_MS = 91 [deprecated=true];
118  PROVISIONING_FINALIZATION_ACTIVITY_TIME_MS = 92 [deprecated=true];
119  PROVISIONING_NETWORK_TYPE = 93;
120  PROVISIONING_ACTION = 94;
121  PROVISIONING_EXTRAS = 95;
122  PROVISIONING_COPY_ACCOUNT_TASK_MS = 96;
123  PROVISIONING_CREATE_PROFILE_TASK_MS = 97;
124  PROVISIONING_START_PROFILE_TASK_MS = 98;
125  PROVISIONING_DOWNLOAD_PACKAGE_TASK_MS = 99;
126  PROVISIONING_INSTALL_PACKAGE_TASK_MS = 100;
127  PROVISIONING_CANCELLED = 101;
128  PROVISIONING_ERROR = 102;
129  PROVISIONING_COPY_ACCOUNT_STATUS = 103;
130  PROVISIONING_TOTAL_TASK_TIME_MS = 104;
131  PROVISIONING_SESSION_STARTED = 105;
132  PROVISIONING_SESSION_COMPLETED = 106;
133  PROVISIONING_TERMS_ACTIVITY_TIME_MS = 107;
134  PROVISIONING_TERMS_COUNT = 108;
135  PROVISIONING_TERMS_READ = 109;
136
137  SEPARATE_PROFILE_CHALLENGE_CHANGED = 110;
138  SET_GLOBAL_SETTING = 111;
139  INSTALL_PACKAGE = 112;
140  UNINSTALL_PACKAGE = 113;
141  WIFI_SERVICE_ADD_NETWORK_SUGGESTIONS = 114;
142  WIFI_SERVICE_ADD_OR_UPDATE_NETWORK = 115;
143  QUERY_SUMMARY_FOR_DEVICE = 116;
144  REMOVE_CROSS_PROFILE_WIDGET_PROVIDER = 117;
145  ESTABLISH_VPN = 118;
146  SET_NETWORK_LOGGING_ENABLED = 119;
147  RETRIEVE_NETWORK_LOGS = 120;
148  PROVISIONING_PREPARE_TOTAL_TIME_MS = 121;
149  PROVISIONING_PREPARE_STARTED = 122;
150  PROVISIONING_PREPARE_COMPLETED = 123;
151  PROVISIONING_FLOW_TYPE = 124;
152  CROSS_PROFILE_APPS_GET_TARGET_USER_PROFILES = 125;
153  CROSS_PROFILE_APPS_START_ACTIVITY_AS_USER = 126;
154  SET_AUTO_TIME = 127;
155  SET_AUTO_TIME_ZONE = 128;
156  SET_USER_CONTROL_DISABLED_PACKAGES = 129;
157  SET_FACTORY_RESET_PROTECTION = 130;
158  SET_COMMON_CRITERIA_MODE = 131;
159  ALLOW_MODIFICATION_OF_ADMIN_CONFIGURED_NETWORKS = 132;
160  SET_TIME = 133;
161  SET_TIME_ZONE = 134;
162  SET_PERSONAL_APPS_SUSPENDED = 135;
163  SET_MANAGED_PROFILE_MAXIMUM_TIME_OFF = 136;
164  COMP_TO_ORG_OWNED_PO_MIGRATED = 137;
165  SET_CROSS_PROFILE_PACKAGES = 138;
166  SET_INTERACT_ACROSS_PROFILES_APP_OP = 139;
167  GET_CROSS_PROFILE_PACKAGES = 140;
168  CAN_REQUEST_INTERACT_ACROSS_PROFILES_TRUE = 141;
169  CAN_REQUEST_INTERACT_ACROSS_PROFILES_FALSE_NO_PROFILES = 142;
170  CAN_REQUEST_INTERACT_ACROSS_PROFILES_FALSE_WHITELIST = 143;
171  CAN_REQUEST_INTERACT_ACROSS_PROFILES_FALSE_PERMISSION = 144;
172  CAN_INTERACT_ACROSS_PROFILES_TRUE = 145;
173  CAN_INTERACT_ACROSS_PROFILES_FALSE_PERMISSION = 146;
174  CAN_INTERACT_ACROSS_PROFILES_FALSE_NO_PROFILES = 147;
175  CREATE_CROSS_PROFILE_INTENT = 148;
176  IS_MANAGED_PROFILE = 149;
177  START_ACTIVITY_BY_INTENT = 150;
178  BIND_CROSS_PROFILE_SERVICE = 151;
179  PROVISIONING_DPC_SETUP_STARTED = 152;
180  PROVISIONING_DPC_SETUP_COMPLETED = 153;
181  PROVISIONING_ORGANIZATION_OWNED_MANAGED_PROFILE = 154;
182  RESOLVER_CROSS_PROFILE_TARGET_OPENED = 155;
183  RESOLVER_SWITCH_TABS = 156;
184  RESOLVER_EMPTY_STATE_WORK_APPS_DISABLED = 157;
185  RESOLVER_EMPTY_STATE_NO_SHARING_TO_PERSONAL= 158;
186  RESOLVER_EMPTY_STATE_NO_SHARING_TO_WORK= 159;
187  RESOLVER_EMPTY_STATE_NO_APPS_RESOLVED= 160;
188  RESOLVER_AUTOLAUNCH_CROSS_PROFILE_TARGET = 161;
189  CROSS_PROFILE_SETTINGS_PAGE_LAUNCHED_FROM_APP = 162;
190  CROSS_PROFILE_SETTINGS_PAGE_LAUNCHED_FROM_SETTINGS = 163;
191  CROSS_PROFILE_SETTINGS_PAGE_ADMIN_RESTRICTED = 164;
192  CROSS_PROFILE_SETTINGS_PAGE_MISSING_WORK_APP = 165;
193  CROSS_PROFILE_SETTINGS_PAGE_MISSING_PERSONAL_APP = 166;
194  CROSS_PROFILE_SETTINGS_PAGE_MISSING_INSTALL_BANNER_INTENT = 167;
195  CROSS_PROFILE_SETTINGS_PAGE_INSTALL_BANNER_CLICKED = 168;
196  CROSS_PROFILE_SETTINGS_PAGE_INSTALL_BANNER_NO_INTENT_CLICKED  = 169;
197  CROSS_PROFILE_SETTINGS_PAGE_USER_CONSENTED = 170;
198  CROSS_PROFILE_SETTINGS_PAGE_USER_DECLINED_CONSENT = 171;
199  CROSS_PROFILE_SETTINGS_PAGE_PERMISSION_REVOKED = 172;
200  DOCSUI_EMPTY_STATE_NO_PERMISSION = 173;
201  DOCSUI_EMPTY_STATE_QUIET_MODE = 174;
202  DOCSUI_LAUNCH_OTHER_APP = 175;
203  DOCSUI_PICK_RESULT = 176;
204  SET_PASSWORD_COMPLEXITY = 177;
205  CREDENTIAL_MANAGEMENT_APP_REQUEST_NAME = 178;
206  CREDENTIAL_MANAGEMENT_APP_REQUEST_POLICY = 179;
207  CREDENTIAL_MANAGEMENT_APP_REQUEST_ACCEPTED = 180;
208  CREDENTIAL_MANAGEMENT_APP_REQUEST_DENIED = 181;
209  CREDENTIAL_MANAGEMENT_APP_REQUEST_FAILED = 182;
210  CREDENTIAL_MANAGEMENT_APP_CREDENTIAL_FOUND_IN_POLICY = 183;
211  CREDENTIAL_MANAGEMENT_APP_INSTALL_KEY_PAIR_FAILED = 184;
212  CREDENTIAL_MANAGEMENT_APP_GENERATE_KEY_PAIR_FAILED = 185;
213  CREDENTIAL_MANAGEMENT_APP_POLICY_LOOKUP_FAILED = 186;
214  CREDENTIAL_MANAGEMENT_APP_REMOVED = 187;
215  SET_ORGANIZATION_ID = 188;
216  IS_ACTIVE_PASSWORD_SUFFICIENT_FOR_DEVICE = 189;
217  PLATFORM_PROVISIONING_COPY_ACCOUNT_MS = 190;
218  PLATFORM_PROVISIONING_CREATE_PROFILE_MS = 191;
219  PLATFORM_PROVISIONING_START_PROFILE_MS = 192;
220  PLATFORM_PROVISIONING_COPY_ACCOUNT_STATUS = 193;
221  PLATFORM_PROVISIONING_ERROR = 194;
222  PROVISIONING_PROVISION_MANAGED_PROFILE_TASK_MS = 195;
223  PROVISIONING_PROVISION_FULLY_MANAGED_DEVICE_TASK_MS = 196;
224  PLATFORM_PROVISIONING_PARAM = 197;
225  SET_USB_DATA_SIGNALING = 198;
226  SET_PREFERENTIAL_NETWORK_SERVICE_ENABLED = 199;
227  PROVISIONING_IS_LANDSCAPE = 200;
228  PROVISIONING_IS_NIGHT_MODE = 201;
229  ADD_ACCOUNT = 202;
230  ADD_ACCOUNT_EXPLICITLY = 203;
231  GET_ACCOUNT_AUTH_TOKEN = 204;
232  RESET_PASSWORD = 205;
233  RESET_PASSWORD_WITH_TOKEN = 206;
234}
235