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