1/*
2 * Copyright (C) 2017 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";
18package android.providers.settings;
19
20option java_multiple_files = true;
21
22import "frameworks/base/core/proto/android/providers/settings/common.proto";
23import "frameworks/base/libs/incident/proto/android/privacy.proto";
24
25// Note: it's a conscious decision to add each setting as a separate field. This
26// allows annotating each setting with its own privacy tag.
27message GlobalSettingsProto {
28    option (android.msg_privacy).dest = DEST_EXPLICIT;
29
30    repeated SettingsOperationProto historical_operations = 1;
31
32    // These are key=value lists, separated by commas.
33    optional SettingProto activity_manager_constants = 2;
34    optional SettingProto adb_enabled = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
35    optional SettingProto add_users_when_locked = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
36
37    message AirplaneMode {
38        option (android.msg_privacy).dest = DEST_EXPLICIT;
39
40        // "airplane_mode_on" in code.
41        optional SettingProto on = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
42        // A comma-separated list of radios that need to be disabled when airplane
43        // mode is on. This overrides wifi_on and bluetooth_on if wifi and bluetooth
44        // are included in the comma-separated list.
45        optional SettingProto radios = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
46        optional SettingProto toggleable_radios = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
47    }
48    optional AirplaneMode airplane_mode = 5;
49
50    optional SettingProto alarm_manager_constants = 6;
51    optional SettingProto allow_user_switching_when_system_user_locked = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
52    // This is a key=value list, separated by commas.
53    optional SettingProto always_on_display_constants = 8;
54    optional SettingProto always_finish_activities = 9 [ (android.privacy).dest = DEST_AUTOMATIC ];
55    optional SettingProto animator_duration_scale = 10 [ (android.privacy).dest = DEST_AUTOMATIC ];
56
57    message Anomaly {
58        option (android.msg_privacy).dest = DEST_EXPLICIT;
59
60        // "anomaly_detection_constants" in code.
61        optional SettingProto detection_constants = 1;
62        // Version of the anomaly config.
63        optional SettingProto config_version = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
64        // A base64-encoded string represents anomaly stats config.
65        optional SettingProto config = 3;
66    }
67    optional Anomaly anomaly = 11;
68
69    message ApnDb {
70        option (android.msg_privacy).dest = DEST_EXPLICIT;
71
72        optional SettingProto update_content_url = 1;
73        optional SettingProto update_metadata_url = 2;
74    }
75    optional ApnDb apn_db = 12;
76
77    message App {
78        option (android.msg_privacy).dest = DEST_EXPLICIT;
79
80        // These are key=value lists, separated by commas.
81        optional SettingProto idle_constants = 1;
82        optional SettingProto standby_enabled = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
83        optional SettingProto auto_restriction_enabled = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
84        optional SettingProto forced_app_standby_enabled = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
85        optional SettingProto forced_app_standby_for_small_battery_enabled = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
86    }
87    optional App app = 13;
88
89    optional SettingProto assisted_gps_enabled = 14 [ (android.privacy).dest = DEST_AUTOMATIC ];
90    optional SettingProto audio_safe_volume_state = 15 [ (android.privacy).dest = DEST_AUTOMATIC ];
91
92    message Auto {
93        option (android.msg_privacy).dest = DEST_EXPLICIT;
94
95        optional SettingProto time = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
96        optional SettingProto time_zone = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
97    }
98    optional Auto auto = 16;
99
100    optional SettingProto autofill_compat_mode_allowed_packages = 17 [ (android.privacy).dest = DEST_AUTOMATIC ];
101    optional SettingProto backup_agent_timeout_parameters = 18;
102
103    message Battery {
104        option (android.msg_privacy).dest = DEST_EXPLICIT;
105
106        optional SettingProto discharge_duration_threshold = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
107        optional SettingProto discharge_threshold = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
108        optional SettingProto saver_constants = 3;
109        optional SettingProto saver_device_specific_constants = 4;
110        optional SettingProto stats_constants = 5;
111        optional SettingProto tip_constants = 6;
112    }
113    optional Battery battery = 19;
114
115    message BleScan {
116        option (android.msg_privacy).dest = DEST_EXPLICIT;
117
118        optional SettingProto always_available = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
119        optional SettingProto low_power_window_ms = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
120        optional SettingProto balanced_window_ms = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
121        optional SettingProto low_latency_window_ms = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
122        optional SettingProto low_power_interval_ms = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
123        optional SettingProto balanced_interval_ms = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
124        optional SettingProto low_latency_interval_ms = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
125        optional SettingProto background_mode = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
126    }
127    optional BleScan ble_scan = 20;
128
129    message Bluetooth {
130        option (android.msg_privacy).dest = DEST_EXPLICIT;
131
132        optional SettingProto class_of_device = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
133        optional SettingProto disabled_profiles = 2;
134        optional SettingProto interoperability_list = 3;
135        optional SettingProto on = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
136        repeated SettingProto headset_priorities = 5;
137        repeated SettingProto a2dp_sink_priorities = 6;
138        repeated SettingProto a2dp_src_priorities = 7;
139        repeated SettingProto a2dp_supports_optional_codecs = 8;
140        repeated SettingProto a2dp_optional_codecs_enabled = 9;
141        repeated SettingProto input_device_priorities = 10;
142        repeated SettingProto map_priorities = 11;
143        repeated SettingProto map_client_priorities = 12;
144        repeated SettingProto pbap_client_priorities = 13;
145        repeated SettingProto sap_priorities = 14;
146        repeated SettingProto pan_priorities = 15;
147        repeated SettingProto hearing_aid_priorities = 16;
148    }
149    optional Bluetooth bluetooth = 21;
150
151    optional SettingProto boot_count = 22 [ (android.privacy).dest = DEST_AUTOMATIC ];
152    optional SettingProto bugreport_in_power_menu = 23 [ (android.privacy).dest = DEST_AUTOMATIC ];
153    optional SettingProto call_auto_retry = 24 [ (android.privacy).dest = DEST_AUTOMATIC ];
154
155    message CaptivePortal {
156        option (android.msg_privacy).dest = DEST_EXPLICIT;
157
158        optional SettingProto mode = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
159        optional SettingProto detection_enabled = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
160        optional SettingProto server = 3;
161        optional SettingProto https_url = 4;
162        optional SettingProto http_url = 5;
163        optional SettingProto fallback_url = 6;
164        optional SettingProto other_fallback_urls = 7;
165        optional SettingProto use_https = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
166        optional SettingProto user_agent = 9;
167    }
168    optional CaptivePortal captive_portal = 25;
169
170    message Carrier {
171        option (android.msg_privacy).dest = DEST_EXPLICIT;
172
173        // List of carrier app certificate mapped to carrier app package id which are whitelisted to
174        // prompt the user for install when a SIM card with matching UICC carrier privilege rules is
175        // inserted.
176        optional SettingProto app_whitelist = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
177        optional SettingProto app_names = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
178        optional SettingProto install_carrier_app_notification_persistent = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
179        optional SettingProto install_carrier_app_notification_sleep_millis = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
180    }
181    optional Carrier carrier = 26;
182
183    message Cdma {
184        option (android.msg_privacy).dest = DEST_EXPLICIT;
185
186        optional SettingProto cell_broadcast_sms = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
187        optional SettingProto roaming_mode = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
188        optional SettingProto subscription_mode = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
189    }
190    optional Cdma cdma = 27;
191
192    optional SettingProto cell_on = 28 [ (android.privacy).dest = DEST_AUTOMATIC ];
193
194    message CertPin {
195        option (android.msg_privacy).dest = DEST_EXPLICIT;
196
197        optional SettingProto update_content_url = 1;
198        optional SettingProto update_metadata_url = 2;
199    }
200    optional CertPin cert_pin = 29;
201
202    optional SettingProto chained_battery_attribution_enabled = 30 [ (android.privacy).dest = DEST_AUTOMATIC ];
203    optional SettingProto compatibility_mode = 31 [ (android.privacy).dest = DEST_AUTOMATIC ];
204
205    message Connectivity {
206        option (android.msg_privacy).dest = DEST_EXPLICIT;
207
208        optional SettingProto metrics_buffer_size = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
209        optional SettingProto change_delay = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
210        optional SettingProto sampling_interval_in_seconds = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
211    }
212    optional Connectivity connectivity = 32;
213
214    optional SettingProto contact_metadata_sync_enabled = 33 [ (android.privacy).dest = DEST_AUTOMATIC ];
215    optional SettingProto contacts_database_wal_enabled = 34 [ (android.privacy).dest = DEST_AUTOMATIC ];
216
217    message Data {
218        option (android.msg_privacy).dest = DEST_EXPLICIT;
219
220        optional SettingProto activity_timeout_mobile = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
221        optional SettingProto activity_timeout_wifi = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
222        optional SettingProto roaming = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
223        optional SettingProto stall_alarm_non_aggressive_delay_in_ms = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
224        optional SettingProto stall_alarm_aggressive_delay_in_ms = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
225    }
226    optional Data data = 35;
227
228    message Database {
229        option (android.msg_privacy).dest = DEST_EXPLICIT;
230
231        optional SettingProto downgrade_reason = 1;
232        optional SettingProto creation_buildid = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
233    }
234    optional Database database = 36;
235
236    message Debug {
237        option (android.msg_privacy).dest = DEST_EXPLICIT;
238
239        // Name of an application package to be debugged.
240        optional SettingProto app = 1;
241        // Whether views are allowed to save their attribute data.
242        optional SettingProto view_attributes = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
243    }
244    optional Debug debug = 37;
245
246    message Default {
247        option (android.msg_privacy).dest = DEST_EXPLICIT;
248
249        optional SettingProto install_location = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
250        optional SettingProto dns_server = 2;
251    }
252    optional Default default = 38;
253
254    message Development {
255        option (android.msg_privacy).dest = DEST_EXPLICIT;
256
257        optional SettingProto settings_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
258        optional SettingProto force_resizable_activities = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
259        optional SettingProto enable_freeform_windows_support = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
260        optional SettingProto force_rtl = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
261        optional SettingProto emulate_display_cutout = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
262    }
263    optional Development development = 39;
264
265    message Device {
266        option (android.msg_privacy).dest = DEST_EXPLICIT;
267
268        optional SettingProto name = 1;
269        optional SettingProto provisioned = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
270        optional SettingProto provisioning_mobile_data_enabled = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
271        optional SettingProto idle_constants = 4;
272        optional SettingProto policy_constants = 5;
273        optional SettingProto demo_mode = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
274    }
275    optional Device device = 40;
276
277    optional SettingProto disk_free_change_reporting_threshold = 41 [ (android.privacy).dest = DEST_AUTOMATIC ];
278
279    message Display {
280        option (android.msg_privacy).dest = DEST_EXPLICIT;
281
282        optional SettingProto size_forced = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
283        optional SettingProto scaling_force = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
284        // Flag to enable or disable display panel low power mode (lpm)
285        // false -> Display panel power saving mode is disabled.
286        // true  -> Display panel power saving mode is enabled.
287        optional SettingProto panel_lpm = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
288    }
289    optional Display display = 42;
290
291    message DnsResolver {
292        option (android.msg_privacy).dest = DEST_EXPLICIT;
293
294        optional SettingProto sample_validity_seconds = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
295        optional SettingProto success_threshold_percent = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
296        optional SettingProto min_samples = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
297        optional SettingProto max_samples = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
298    }
299    optional DnsResolver dns_resolver = 43;
300
301    optional SettingProto dock_audio_media_enabled = 44 [ (android.privacy).dest = DEST_AUTOMATIC ];
302
303    message Download {
304        option (android.msg_privacy).dest = DEST_EXPLICIT;
305
306        optional SettingProto max_bytes_over_mobile = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
307        optional SettingProto recommended_max_bytes_over_mobile = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
308    }
309    optional Download download = 45;
310
311    message Dropbox {
312        option (android.msg_privacy).dest = DEST_EXPLICIT;
313
314        optional SettingProto age_seconds = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
315        optional SettingProto max_files = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
316        optional SettingProto quota_kb = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
317        optional SettingProto quota_percent = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
318        optional SettingProto reserve_percent = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
319        repeated SettingProto settings = 6;
320    }
321    optional Dropbox dropbox = 46;
322
323    message Emergency {
324        option (android.msg_privacy).dest = DEST_EXPLICIT;
325
326        optional SettingProto tone = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
327        optional SettingProto affordance_needed = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
328    }
329    optional Emergency emergency = 47;
330
331    message Enable {
332        option (android.msg_privacy).dest = DEST_EXPLICIT;
333
334        optional SettingProto accessibility_global_gesture_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
335        optional SettingProto gpu_debug_layers = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
336        optional SettingProto ephemeral_feature = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
337        optional SettingProto cellular_on_boot = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
338        optional SettingProto diskstats_logging = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
339        optional SettingProto cache_quota_calculation = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
340        optional SettingProto deletion_helper_no_threshold_toggle = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
341        optional SettingProto gnss_raw_meas_full_tracking = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
342    }
343    optional Enable enable = 48;
344
345    optional SettingProto encoded_surround_output = 49 [ (android.privacy).dest = DEST_AUTOMATIC ];
346    optional SettingProto enhanced_4g_mode_enabled = 50 [ (android.privacy).dest = DEST_AUTOMATIC ];
347    repeated SettingProto error_logcat_lines = 51;
348
349    message Euicc {
350        option (android.msg_privacy).dest = DEST_EXPLICIT;
351
352        optional SettingProto provisioned = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
353        optional SettingProto factory_reset_timeout_millis = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
354    }
355    optional Euicc euicc = 52;
356
357    optional SettingProto fancy_ime_animations = 53 [ (android.privacy).dest = DEST_AUTOMATIC ];
358    optional SettingProto force_allow_on_external = 54 [ (android.privacy).dest = DEST_AUTOMATIC ];
359    // An integer to reduce the FPS by this factor. Only for experiments.
360    optional SettingProto fps_divisor = 55 [ (android.privacy).dest = DEST_AUTOMATIC ];
361    optional SettingProto fstrim_mandatory_interval = 56 [ (android.privacy).dest = DEST_AUTOMATIC ];
362
363    message GlobalHttpProxy {
364        option (android.msg_privacy).dest = DEST_EXPLICIT;
365
366        // Including Global.HTTP_PROXY is redundant since the data is also
367        // encompassed in the host and port fields.
368
369        optional SettingProto host = 1;
370        optional SettingProto port = 2;
371        optional SettingProto exclusion_list = 3;
372        optional SettingProto pac = 4;
373        // Enables the UI setting to allow the user to specify the global HTTP proxy
374        // and associated exclusion list. Simply "set_global_http_proxy".
375        optional SettingProto setting_ui_enabled = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
376    }
377    optional GlobalHttpProxy global_http_proxy = 57;
378
379    optional SettingProto gprs_register_check_period_ms = 58 [ (android.privacy).dest = DEST_AUTOMATIC ];
380
381    message Gpu {
382        option (android.msg_privacy).dest = DEST_EXPLICIT;
383
384        // App allowed to load GPU debug layers.
385        optional SettingProto debug_app = 1;
386        optional SettingProto debug_layers = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
387    }
388    optional Gpu gpu = 59;
389
390    message Hdmi {
391        option (android.msg_privacy).dest = DEST_EXPLICIT;
392
393        optional SettingProto control_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
394        optional SettingProto system_audio_control_enabled = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
395        optional SettingProto control_auto_wakeup_enabled = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
396        optional SettingProto control_auto_device_off_enabled = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
397    }
398    optional Hdmi hdmi = 60;
399
400    optional SettingProto heads_up_notifications_enabled = 61 [ (android.privacy).dest = DEST_AUTOMATIC ];
401    optional SettingProto hidden_api_blacklist_exemptions = 62 [ (android.privacy).dest = DEST_AUTOMATIC ];
402
403    message InetCondition {
404        option (android.msg_privacy).dest = DEST_EXPLICIT;
405
406        optional SettingProto debounce_up_delay = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
407        optional SettingProto debounce_down_delay = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
408    }
409    optional InetCondition inet_condition = 63;
410
411    message InstantApp {
412        option (android.msg_privacy).dest = DEST_EXPLICIT;
413
414        optional SettingProto dexopt_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
415        optional SettingProto ephemeral_cookie_max_size_bytes = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
416        optional SettingProto installed_min_cache_period = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
417        optional SettingProto installed_max_cache_period = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
418        optional SettingProto uninstalled_min_cache_period = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
419        optional SettingProto uninstalled_max_cache_period = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
420    }
421    optional InstantApp instant_app = 64;
422
423    message IntentFirewall {
424        option (android.msg_privacy).dest = DEST_EXPLICIT;
425
426        optional SettingProto update_content_url = 1;
427        optional SettingProto update_metadata_url = 2;
428    }
429    optional IntentFirewall intent_firewall = 65;
430
431    optional SettingProto job_scheduler_constants = 66;
432    optional SettingProto keep_profile_in_background = 67 [ (android.privacy).dest = DEST_AUTOMATIC ];
433
434    message LangId {
435        option (android.msg_privacy).dest = DEST_EXPLICIT;
436
437        optional SettingProto update_content_url = 1;
438        optional SettingProto update_metadata_url = 2;
439    }
440    optional LangId lang_id = 68;
441
442    message Location {
443        option (android.msg_privacy).dest = DEST_EXPLICIT;
444
445        optional SettingProto background_throttle_interval_ms = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
446        optional SettingProto background_throttle_proximity_alert_interval_ms = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
447        // Packages that are whitelisted for background throttling (throttling will
448        // not be applied).
449        optional SettingProto background_throttle_package_whitelist = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
450        optional SettingProto settings_link_to_permissions_enabled = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
451        // If set to 1, {@link Secure#LOCATION_MODE} will be set to {@link
452        // Secure#LOCATION_MODE_OFF} temporarily for all users.
453        optional SettingProto global_kill_switch = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
454        optional SettingProto gnss_satellite_blacklist = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
455        optional SettingProto gnss_hal_location_request_duration_millis = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
456    }
457    optional Location location = 69;
458
459    message LowPowerMode {
460        option (android.msg_privacy).dest = DEST_EXPLICIT;
461
462        // Simply "low_power_mode" in code.
463        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
464        // Battery level [1-100] at which low power mode automatically turns on. If
465        // 0, it will not automatically turn on.
466        optional SettingProto trigger_level = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
467        // The max value for {@link #LOW_POWER_MODE_TRIGGER_LEVEL}. If this setting
468        // is not set or the value is 0, the default max will be used.
469        optional SettingProto trigger_level_max = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
470    }
471    optional LowPowerMode low_power_mode = 70;
472
473    optional SettingProto lte_service_forced = 71 [ (android.privacy).dest = DEST_AUTOMATIC ];
474    optional SettingProto mdc_initial_max_retry = 72 [ (android.privacy).dest = DEST_AUTOMATIC ];
475
476    message Mhl {
477        option (android.msg_privacy).dest = DEST_EXPLICIT;
478
479        optional SettingProto input_switching_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
480        optional SettingProto power_charge_enabled = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
481    }
482    optional Mhl mhl = 73;
483
484    message MobileData {
485        option (android.msg_privacy).dest = DEST_EXPLICIT;
486
487        // Whether mobile data connections are allowed by the user. Simply
488        // "mobile_data" in code.
489        optional SettingProto allowed = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
490        // Whether the mobile data connection should remain active even when higher
491        // priority networks like WiFi are active, to help make network switching
492        // faster.
493        optional SettingProto always_on = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
494    }
495    optional MobileData mobile_data = 74;
496
497    // Ringer mode. A change in this value will not reflect as a change in the
498    // ringer mode.
499    optional SettingProto mode_ringer = 75 [ (android.privacy).dest = DEST_AUTOMATIC ];
500
501    message MultiSim {
502        option (android.msg_privacy).dest = DEST_EXPLICIT;
503
504        // Subscription to be used for voice call on a multi sim device. The
505        // supported values are 0 = SUB1, 1 = SUB2 and etc.
506        optional SettingProto voice_call_subscription = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
507        optional SettingProto voice_prompt = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
508        optional SettingProto data_call_subscription = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
509        optional SettingProto sms_subscription = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
510        optional SettingProto sms_prompt = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
511    }
512    optional MultiSim multi_sim = 76;
513
514    message Netstats {
515        option (android.msg_privacy).dest = DEST_EXPLICIT;
516
517        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
518        optional SettingProto poll_interval = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
519        optional SettingProto time_cache_max_age = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
520        optional SettingProto global_alert_bytes = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
521        optional SettingProto sample_enabled = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
522        optional SettingProto augment_enabled = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
523        optional SettingProto dev_bucket_duration = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
524        optional SettingProto dev_persist_bytes = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
525        optional SettingProto dev_rotate_age = 9 [ (android.privacy).dest = DEST_AUTOMATIC ];
526        optional SettingProto dev_delete_age = 10 [ (android.privacy).dest = DEST_AUTOMATIC ];
527        optional SettingProto uid_bucket_duration = 11 [ (android.privacy).dest = DEST_AUTOMATIC ];
528        optional SettingProto uid_persist_bytes = 12 [ (android.privacy).dest = DEST_AUTOMATIC ];
529        optional SettingProto uid_rotate_age = 13 [ (android.privacy).dest = DEST_AUTOMATIC ];
530        optional SettingProto uid_delete_age = 14 [ (android.privacy).dest = DEST_AUTOMATIC ];
531        optional SettingProto uid_tag_bucket_duration = 15 [ (android.privacy).dest = DEST_AUTOMATIC ];
532        optional SettingProto uid_tag_persist_bytes = 16 [ (android.privacy).dest = DEST_AUTOMATIC ];
533        optional SettingProto uid_tag_rotate_age = 17 [ (android.privacy).dest = DEST_AUTOMATIC ];
534        optional SettingProto uid_tag_delete_age = 18 [ (android.privacy).dest = DEST_AUTOMATIC ];
535    }
536    optional Netstats netstats = 77;
537
538    message Network {
539        option (android.msg_privacy).dest = DEST_EXPLICIT;
540
541        // User preference for which network(s) should be used.
542        optional SettingProto preference = 1;
543        optional SettingProto preferred_network_mode = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
544        optional SettingProto scorer_app = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
545        optional SettingProto switch_notification_daily_limit = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
546        optional SettingProto switch_notification_rate_limit_millis = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
547        optional SettingProto avoid_bad_wifi = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
548        optional SettingProto metered_multipath_preference = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
549        optional SettingProto watchlist_last_report_time = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
550        optional SettingProto scoring_ui_enabled = 9 [ (android.privacy).dest = DEST_AUTOMATIC ];
551        optional SettingProto recommendations_enabled = 10 [ (android.privacy).dest = DEST_AUTOMATIC ];
552        optional SettingProto recommendations_package = 11 [ (android.privacy).dest = DEST_AUTOMATIC ];
553        optional SettingProto recommendation_request_timeout_ms = 12 [ (android.privacy).dest = DEST_AUTOMATIC ];
554        optional SettingProto watchlist_enabled = 13 [ (android.privacy).dest = DEST_AUTOMATIC ];
555        optional SettingProto scoring_provisioned = 14 [ (android.privacy).dest = DEST_AUTOMATIC ];
556        optional SettingProto access_timeout_ms = 15 [ (android.privacy).dest = DEST_AUTOMATIC ];
557        optional SettingProto recommended_network_evaluator_cache_expiry_ms = 16 [ (android.privacy).dest = DEST_AUTOMATIC ];
558    }
559    optional Network network = 78;
560
561    // Whether to enable new contacts aggregator or not.
562    // 1 = enable, 0 = disable.
563    optional SettingProto new_contact_aggregator = 79 [ (android.privacy).dest = DEST_AUTOMATIC ];
564    optional SettingProto night_display_forced_auto_mode_available = 80 [ (android.privacy).dest = DEST_AUTOMATIC ];
565
566    message NitzUpdate {
567        option (android.msg_privacy).dest = DEST_EXPLICIT;
568
569        // If the NITZ_UPDATE_DIFF time is exceeded then an automatic adjustment to
570        // SystemClock will be allowed even if NITZ_UPDATE_SPACING has not been
571        // exceeded.
572        optional SettingProto diff = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
573        // The length of time in milli-seconds that automatic small adjustments to
574        // SystemClock are ignored if NITZ_UPDATE_DIFF is not exceeded.
575        optional SettingProto spacing = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
576    }
577    optional NitzUpdate nitz_update = 81;
578
579    message Notification {
580        option (android.msg_privacy).dest = DEST_EXPLICIT;
581
582        optional SettingProto max_notification_enqueue_rate = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
583        optional SettingProto show_notification_channel_warnings = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
584        // The list of snooze options for notifications. This is encoded as a key=value list,
585        // separated by commas.
586        optional SettingProto snooze_options = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
587        optional SettingProto smart_replies_in_notifications_flags = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
588    }
589    optional Notification notification = 82;
590
591    optional SettingProto nsd_on = 83 [ (android.privacy).dest = DEST_AUTOMATIC ];
592
593    message Ntp {
594        option (android.msg_privacy).dest = DEST_EXPLICIT;
595
596        // Preferred NTP server.
597        optional SettingProto server = 1;
598        // Timeout in milliseconds to wait for NTP server.
599        optional SettingProto timeout_ms = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
600    }
601    optional Ntp ntp = 84;
602
603    // Details about the User Absent, Radios Off feature.
604    message UserAbsentRadiosOff {
605        option (android.msg_privacy).dest = DEST_EXPLICIT;
606
607        // Whether or not to enable the User Absent, Radios Off feature on small battery devices.
608        optional SettingProto enabled_for_small_battery = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
609    }
610    optional UserAbsentRadiosOff user_absent_radios_off = 85;
611
612    // Whether to disable the automatic scheduling of system updates.
613    optional SettingProto ota_disable_automatic_update = 86 [ (android.privacy).dest = DEST_AUTOMATIC ];
614    // Overlay display devices setting.
615    // The value is a specially formatted string that describes the size and
616    // density of simulated secondary devices.
617    // Format: {width}x{height}/dpi;...
618    optional SettingProto overlay_display_devices = 87 [ (android.privacy).dest = DEST_AUTOMATIC ];
619    // If set to 1, SettingsProvider's restoreAnyVersion="true" attribute will
620    // be ignored and restoring to lower version of platform API will be
621    // skipped.
622    optional SettingProto override_settings_provider_restore_any_version = 88 [ (android.privacy).dest = DEST_AUTOMATIC ];
623    // The series of successively longer delays used in retrying to download PAC file.
624    optional SettingProto pac_change_delay = 89 [ (android.privacy).dest = DEST_AUTOMATIC ];
625
626    message PackageVerifier {
627        option (android.msg_privacy).dest = DEST_EXPLICIT;
628
629        // Whether the package manager should send package verification broadcasts
630        // for verifiers to review apps prior to installation.
631        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
632        optional SettingProto timeout = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
633        optional SettingProto default_response = 3;
634        optional SettingProto setting_visible = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
635        optional SettingProto include_adb = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
636    }
637    optional PackageVerifier package_verifier = 90;
638
639    message PdpWatchdog {
640        option (android.msg_privacy).dest = DEST_EXPLICIT;
641
642        optional SettingProto poll_interval_ms = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
643        optional SettingProto long_poll_interval_ms = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
644        optional SettingProto error_poll_interval_ms = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
645        optional SettingProto trigger_packet_count = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
646        optional SettingProto error_poll_count = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
647        optional SettingProto max_pdp_reset_fail_count = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
648    }
649    optional PdpWatchdog pdp_watchdog = 91;
650
651    // Defines global runtime overrides to window policy.
652    optional SettingProto policy_control = 92;
653    optional SettingProto power_manager_constants = 93;
654    // If true, out-of-the-box execution for priv apps is enabled.
655    optional SettingProto priv_app_oob_enabled = 94 [ (android.privacy).dest = DEST_AUTOMATIC ];
656
657    message PrepaidSetup {
658        option (android.msg_privacy).dest = DEST_EXPLICIT;
659
660        // URL to open browser on to allow user to manage a prepay account.
661        optional SettingProto data_service_url = 1;
662        // URL to attempt a GET on to see if this is a prepay device.
663        optional SettingProto detection_target_url = 2;
664        // Host to check for a redirect to after an attempt to GET
665        // SETUP_PREPAID_DETECTION_TARGET_URL. (If we redirected there, this is a
666        // prepaid device with zero balance.)
667        optional SettingProto detection_redir_host = 3;
668    }
669    optional PrepaidSetup prepaid_setup = 95;
670
671    message Private {
672        option (android.msg_privacy).dest = DEST_LOCAL;
673
674        // The requested Private DNS mode and an accompanying specifier.
675        // msg_privacy settings don't apply to sub messages, only to primitive
676        // fields, so these must also be explicitly set to LOCAL.
677        optional SettingProto dns_mode = 1 [ (android.privacy).dest = DEST_LOCAL ];
678        optional SettingProto dns_specifier = 2 [ (android.privacy).dest = DEST_LOCAL ];
679    }
680    optional Private private = 96;
681
682    // The number of milliseconds to allow the provisioning apn to remain active.
683    optional SettingProto provisioning_apn_alarm_delay_in_ms = 97 [ (android.privacy).dest = DEST_AUTOMATIC ];
684    optional SettingProto read_external_storage_enforced_default = 98 [ (android.privacy).dest = DEST_AUTOMATIC ];
685    optional SettingProto require_password_to_decrypt = 99 [ (android.privacy).dest = DEST_AUTOMATIC ];
686    optional SettingProto safe_boot_disallowed = 100 [ (android.privacy).dest = DEST_AUTOMATIC ];
687
688    message Selinux {
689        option (android.msg_privacy).dest = DEST_EXPLICIT;
690
691        optional SettingProto update_content_url = 1;
692        optional SettingProto update_metadata_url = 2;
693        optional SettingProto status = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
694    }
695    optional Selinux selinux = 101;
696
697    // Flag for allowing ActivityManagerService to send ACTION_APP_ERROR intents
698    // on application crashes and ANRs. If this is disabled, the crash/ANR
699    // dialog will never display the "Report" button.
700    optional SettingProto send_action_app_error = 102 [ (android.privacy).dest = DEST_AUTOMATIC ];
701    // Let user pick default install location.
702    optional SettingProto set_install_location = 103 [ (android.privacy).dest = DEST_AUTOMATIC ];
703    optional SettingProto shortcut_manager_constants = 104;
704    optional SettingProto show_first_crash_dialog = 105 [ (android.privacy).dest = DEST_AUTOMATIC ];
705    optional SettingProto show_restart_in_crash_dialog = 106 [ (android.privacy).dest = DEST_AUTOMATIC ];
706    optional SettingProto show_mute_in_crash_dialog = 107 [ (android.privacy).dest = DEST_AUTOMATIC ];
707
708    message SmartSelection {
709        option (android.msg_privacy).dest = DEST_EXPLICIT;
710
711        optional SettingProto update_content_url = 1;
712        optional SettingProto update_metadata_url = 2;
713    }
714    optional SmartSelection smart_selection = 108;
715
716    message Sms {
717        option (android.msg_privacy).dest = DEST_EXPLICIT;
718
719        optional SettingProto outgoing_check_interval_ms = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
720        optional SettingProto outgoing_check_max_count = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
721        // Used to disable SMS short code confirmation. Defaults to true.
722        optional SettingProto short_code_confirmation = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
723        optional SettingProto short_code_rule = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
724        optional SettingProto short_codes_update_content_url = 5;
725        optional SettingProto short_codes_update_metadata_url = 6;
726    }
727    optional Sms sms = 109;
728
729    message Sounds {
730        option (android.msg_privacy).dest = DEST_EXPLICIT;
731
732        optional SettingProto car_dock = 1;
733        optional SettingProto car_undock = 2;
734        optional SettingProto charging_sounds_enabled = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
735        optional SettingProto charging_started = 4;
736        optional SettingProto desk_dock = 5;
737        optional SettingProto desk_undock = 6;
738        optional SettingProto dock_sounds_enabled = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
739        optional SettingProto dock_sounds_enabled_when_accessibility = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
740        optional SettingProto lock = 9;
741        optional SettingProto low_battery = 10;
742        optional SettingProto low_battery_sound_timeout = 11 [ (android.privacy).dest = DEST_AUTOMATIC ];
743        // Called "power_sounds_enabled" in code.
744        optional SettingProto low_battery_sounds_enabled = 12 [ (android.privacy).dest = DEST_AUTOMATIC ];
745        optional SettingProto trusted = 13;
746        optional SettingProto unlock = 14;
747    }
748    optional Sounds sounds = 110;
749
750    message SoundTrigger {
751        option (android.msg_privacy).dest = DEST_EXPLICIT;
752
753        // Maximum number of SoundTriggerDetectionService operations per day.
754        optional SettingProto max_sound_trigger_detection_service_ops_per_day = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
755        // Timeout for a single SoundTriggerDetectionService operation (in ms).
756        optional SettingProto detection_service_op_timeout_ms = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
757    }
758    optional SoundTrigger sound_trigger = 111;
759
760    // Value to specify how long in milliseconds to retain seen score cache
761    // curves to be used when generating SSID only bases score curves.
762    optional SettingProto speed_label_cache_eviction_age_ms = 112 [ (android.privacy).dest = DEST_AUTOMATIC ];
763    // Configuration flags for SQLite Compatibility WAL. Encoded as a key-value
764    // list, separated by commas.
765    // E.g.: compatibility_wal_supported=true, wal_syncmode=OFF
766    optional SettingProto sqlite_compatibility_wal_flags = 113 [ (android.privacy).dest = DEST_AUTOMATIC ];
767    optional SettingProto stay_on_while_plugged_in = 114 [ (android.privacy).dest = DEST_AUTOMATIC ];
768
769    message Storage {
770        option (android.msg_privacy).dest = DEST_EXPLICIT;
771
772        optional SettingProto benchmark_interval = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
773        optional SettingProto settings_clobber_threshold = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
774    }
775    optional Storage storage = 115;
776
777    message Sync {
778        option (android.msg_privacy).dest = DEST_EXPLICIT;
779
780        // The maximum reconnect delay for short network outages or when the network is suspended due to phone use.
781        optional SettingProto max_retry_delay_in_seconds = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
782        // Simply "sync_manager_constants" in code.
783        optional SettingProto manager_constants = 2;
784    }
785    optional Sync sync = 116;
786
787    message Sys {
788        option (android.msg_privacy).dest = DEST_EXPLICIT;
789
790        // The interval in minutes after which the amount of free storage left on
791        // the device is logged to the event log.
792        optional SettingProto free_storage_log_interval_mins = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
793        optional SettingProto storage_threshold_percentage = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
794        optional SettingProto storage_threshold_max_bytes = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
795        optional SettingProto storage_full_threshold_bytes = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
796        optional SettingProto storage_cache_percentage = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
797        optional SettingProto storage_cache_max_bytes = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
798        // System VDSO global setting. This links to the "sys.vdso" system property.
799        // The following values are supported:
800        // false  -> both 32 and 64 bit vdso disabled
801        // 32     -> 32 bit vdso enabled
802        // 64     -> 64 bit vdso enabled
803        // Any other value defaults to both 32 bit and 64 bit true.
804        optional SettingProto vdso = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
805        // UidCpuPower global setting. This links the sys.uidcpupower system property.
806        // The following values are supported:
807        // 0 -> /proc/uid_cpupower/* are disabled
808        // 1 -> /proc/uid_cpupower/* are enabled
809        // Any other value defaults to enabled.
810        optional SettingProto uidcpupower = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
811    }
812    optional Sys sys = 117;
813
814    optional SettingProto tcp_default_init_rwnd = 118 [ (android.privacy).dest = DEST_AUTOMATIC ];
815
816    message TemperatureWarning {
817        option (android.msg_privacy).dest = DEST_EXPLICIT;
818
819        optional SettingProto show_temperature_warning = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
820        // Temperature at which the high temperature warning notification should
821        // be shown.
822        optional SettingProto warning_temperature_level = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
823    }
824    optional TemperatureWarning temperature_warning = 119;
825
826    message Tether {
827        option (android.msg_privacy).dest = DEST_EXPLICIT;
828
829        optional SettingProto supported = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
830        optional SettingProto dun_required = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
831        optional SettingProto dun_apn = 3;
832        optional SettingProto offload_disabled = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
833        // Simply "soft_ap_timeout_enabled" in code.
834        optional SettingProto timeout_enabled = 112 [ (android.privacy).dest = DEST_AUTOMATIC ];
835    }
836    optional Tether tether = 120;
837
838    optional SettingProto text_classifier_constants = 121;
839    optional SettingProto theater_mode_on = 122 [ (android.privacy).dest = DEST_AUTOMATIC ];
840    optional SettingProto time_only_mode_constants = 123 [ (android.privacy).dest = DEST_AUTOMATIC ];
841    optional SettingProto transition_animation_scale = 124 [ (android.privacy).dest = DEST_AUTOMATIC ];
842
843    message Tzinfo {
844        option (android.msg_privacy).dest = DEST_EXPLICIT;
845
846        optional SettingProto update_content_url = 1;
847        optional SettingProto update_metadata_url = 2;
848    }
849    optional Tzinfo tzinfo = 125;
850
851    // The min period for caching unused static shared libs in milliseconds.
852    optional SettingProto unused_static_shared_lib_min_cache_period_ms = 126 [ (android.privacy).dest = DEST_AUTOMATIC ];
853    optional SettingProto usb_mass_storage_enabled = 127 [ (android.privacy).dest = DEST_AUTOMATIC ];
854    optional SettingProto use_google_mail = 128 [ (android.privacy).dest = DEST_AUTOMATIC ];
855    optional SettingProto use_open_wifi_package = 129 [ (android.privacy).dest = DEST_AUTOMATIC ];
856    optional SettingProto vt_ims_enabled = 130 [ (android.privacy).dest = DEST_AUTOMATIC ];
857    optional SettingProto wait_for_debugger = 131 [ (android.privacy).dest = DEST_AUTOMATIC ];
858
859    message Webview {
860        option (android.msg_privacy).dest = DEST_EXPLICIT;
861
862        optional SettingProto data_reduction_proxy_key = 1;
863        optional SettingProto fallback_logic_enabled = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
864        // Name of the package used as WebView provider.
865        optional SettingProto provider = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
866        optional SettingProto multiprocess = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
867    }
868    optional Webview webview = 132;
869
870    message Wfc {
871        option (android.msg_privacy).dest = DEST_EXPLICIT;
872
873        optional SettingProto ims_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
874        optional SettingProto ims_mode = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
875        optional SettingProto ims_roaming_mode = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
876        optional SettingProto ims_roaming_enabled = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
877    }
878    optional Wfc wfc = 133;
879
880    message Wifi {
881        option (android.msg_privacy).dest = DEST_EXPLICIT;
882
883        optional SettingProto sleep_policy = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
884        optional SettingProto badging_thresholds = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
885        optional SettingProto display_on = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
886        optional SettingProto display_certification_on = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
887        optional SettingProto display_wps_config = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
888        optional SettingProto networks_available_notification_on = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
889        optional SettingProto carrier_networks_available_notification_on = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
890        optional SettingProto networks_available_repeat_delay = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
891        optional SettingProto country_code = 9;
892        optional SettingProto framework_scan_interval_ms = 10 [ (android.privacy).dest = DEST_AUTOMATIC ];
893        optional SettingProto idle_ms = 11 [ (android.privacy).dest = DEST_AUTOMATIC ];
894        optional SettingProto num_open_networks_kept = 12 [ (android.privacy).dest = DEST_AUTOMATIC ];
895        optional SettingProto on = 13 [ (android.privacy).dest = DEST_AUTOMATIC ];
896        optional SettingProto scan_always_available = 14 [ (android.privacy).dest = DEST_AUTOMATIC ];
897        optional SettingProto wakeup_enabled = 15 [ (android.privacy).dest = DEST_AUTOMATIC ];
898        optional SettingProto saved_state = 16 [ (android.privacy).dest = DEST_AUTOMATIC ];
899        optional SettingProto supplicant_scan_interval_ms = 17 [ (android.privacy).dest = DEST_AUTOMATIC ];
900        optional SettingProto enhanced_auto_join = 18 [ (android.privacy).dest = DEST_AUTOMATIC ];
901        optional SettingProto network_show_rssi = 19 [ (android.privacy).dest = DEST_AUTOMATIC ];
902        optional SettingProto scan_interval_when_p2p_connected_ms = 20 [ (android.privacy).dest = DEST_AUTOMATIC ];
903        optional SettingProto watchdog_on = 21 [ (android.privacy).dest = DEST_AUTOMATIC ];
904        optional SettingProto watchdog_poor_network_test_enabled = 22 [ (android.privacy).dest = DEST_AUTOMATIC ];
905        optional SettingProto suspend_optimizations_enabled = 23 [ (android.privacy).dest = DEST_AUTOMATIC ];
906        optional SettingProto verbose_logging_enabled = 24 [ (android.privacy).dest = DEST_AUTOMATIC ];
907        optional SettingProto connected_mac_randomization_enabled = 25 [ (android.privacy).dest = DEST_AUTOMATIC ];
908        optional SettingProto max_dhcp_retry_count = 26 [ (android.privacy).dest = DEST_AUTOMATIC ];
909        optional SettingProto mobile_data_transition_wakelock_timeout_ms = 27 [ (android.privacy).dest = DEST_AUTOMATIC ];
910        optional SettingProto device_owner_configs_lockdown = 28 [ (android.privacy).dest = DEST_AUTOMATIC ];
911        optional SettingProto frequency_band = 29 [ (android.privacy).dest = DEST_AUTOMATIC ];
912        optional SettingProto p2p_device_name = 30;
913        optional SettingProto reenable_delay_ms = 31 [ (android.privacy).dest = DEST_AUTOMATIC ];
914        optional SettingProto ephemeral_out_of_range_timeout_ms = 32 [ (android.privacy).dest = DEST_AUTOMATIC ];
915        optional SettingProto on_when_proxy_disconnected = 33 [ (android.privacy).dest = DEST_AUTOMATIC ];
916        optional SettingProto bounce_delay_override_ms = 34 [ (android.privacy).dest = DEST_AUTOMATIC ];
917    }
918    optional Wifi wifi = 134;
919
920    optional SettingProto wimax_networks_available_notification_on = 135 [ (android.privacy).dest = DEST_AUTOMATIC ];
921    optional SettingProto window_animation_scale = 136 [ (android.privacy).dest = DEST_AUTOMATIC ];
922    optional SettingProto wtf_is_fatal = 137 [ (android.privacy).dest = DEST_AUTOMATIC ];
923
924    message Zen {
925        option (android.msg_privacy).dest = DEST_EXPLICIT;
926
927        optional SettingProto mode = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
928        optional SettingProto mode_ringer_level = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
929        optional SettingProto mode_config_etag = 3;
930        // If 0, turning on dnd manually will last indefinitely. Else if
931        // non-negative, turning on dnd manually will last for this many minutes.
932        // Else (if negative), turning on dnd manually will surface a dialog that
933        // prompts user to specify a duration.
934        optional SettingProto duration = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
935        optional SettingProto show_zen_upgrade_notification = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
936    }
937    optional Zen zen = 138;
938
939    optional SettingProto zram_enabled = 139 [ (android.privacy).dest = DEST_AUTOMATIC ];
940
941    // Please insert fields in alphabetical order and group them into messages
942    // if possible (to avoid reaching the method limit).
943    // Next tag = 140;
944}
945