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