• 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;
117  PROVISIONING_POST_ENCRYPTION_ACTIVITY_TIME_MS = 91;
118  PROVISIONING_FINALIZATION_ACTIVITY_TIME_MS = 92;
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}
155