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 578 message ManagedDeviceProvisioning { 579 optional SettingProto managed_provisioning_defer_provisioning_to_role_holder = 1; 580 } 581 optional ManagedDeviceProvisioning managed_device_provisioning = 156; 582 583 optional SettingProto mdc_initial_max_retry = 72 [ (android.privacy).dest = DEST_AUTOMATIC ]; 584 585 message Mhl { 586 option (android.msg_privacy).dest = DEST_EXPLICIT; 587 588 optional SettingProto input_switching_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 589 optional SettingProto power_charge_enabled = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 590 } 591 optional Mhl mhl = 73; 592 593 message MobileData { 594 option (android.msg_privacy).dest = DEST_EXPLICIT; 595 596 // Whether mobile data connections are allowed by the user. Simply 597 // "mobile_data" in code. 598 optional SettingProto allowed = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 599 // Whether the mobile data connection should remain active even when higher 600 // priority networks like WiFi are active, to help make network switching 601 // faster. 602 optional SettingProto always_on = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 603 } 604 optional MobileData mobile_data = 74; 605 606 // Ringer mode. A change in this value will not reflect as a change in the 607 // ringer mode. 608 optional SettingProto mode_ringer = 75 [ (android.privacy).dest = DEST_AUTOMATIC ]; 609 610 reserved 147; // Used to be apply_ramping_ringer 611 612 message MultiSim { 613 option (android.msg_privacy).dest = DEST_EXPLICIT; 614 615 // Subscription to be used for voice call on a multi sim device. The 616 // supported values are 0 = SUB1, 1 = SUB2 and etc. 617 optional SettingProto voice_call_subscription = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 618 optional SettingProto voice_prompt = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 619 optional SettingProto data_call_subscription = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 620 optional SettingProto sms_subscription = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; 621 optional SettingProto sms_prompt = 5 [ (android.privacy).dest = DEST_AUTOMATIC ]; 622 } 623 optional MultiSim multi_sim = 76; 624 625 // Whether we've enabled native flags health check on this device. Takes effect on 626 // reboot. The value "1" enables native flags health check; otherwise it's disabled. 627 optional SettingProto native_flags_health_check_enabled = 144 [ (android.privacy).dest = DEST_AUTOMATIC ]; 628 629 message Netstats { 630 option (android.msg_privacy).dest = DEST_EXPLICIT; 631 632 optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 633 optional SettingProto poll_interval = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 634 optional SettingProto time_cache_max_age = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 635 optional SettingProto global_alert_bytes = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; 636 optional SettingProto sample_enabled = 5 [ (android.privacy).dest = DEST_AUTOMATIC ]; 637 optional SettingProto augment_enabled = 6 [ (android.privacy).dest = DEST_AUTOMATIC ]; 638 optional SettingProto dev_bucket_duration = 7 [ (android.privacy).dest = DEST_AUTOMATIC ]; 639 optional SettingProto dev_persist_bytes = 8 [ (android.privacy).dest = DEST_AUTOMATIC ]; 640 optional SettingProto dev_rotate_age = 9 [ (android.privacy).dest = DEST_AUTOMATIC ]; 641 optional SettingProto dev_delete_age = 10 [ (android.privacy).dest = DEST_AUTOMATIC ]; 642 optional SettingProto uid_bucket_duration = 11 [ (android.privacy).dest = DEST_AUTOMATIC ]; 643 optional SettingProto uid_persist_bytes = 12 [ (android.privacy).dest = DEST_AUTOMATIC ]; 644 optional SettingProto uid_rotate_age = 13 [ (android.privacy).dest = DEST_AUTOMATIC ]; 645 optional SettingProto uid_delete_age = 14 [ (android.privacy).dest = DEST_AUTOMATIC ]; 646 optional SettingProto uid_tag_bucket_duration = 15 [ (android.privacy).dest = DEST_AUTOMATIC ]; 647 optional SettingProto uid_tag_persist_bytes = 16 [ (android.privacy).dest = DEST_AUTOMATIC ]; 648 optional SettingProto uid_tag_rotate_age = 17 [ (android.privacy).dest = DEST_AUTOMATIC ]; 649 optional SettingProto uid_tag_delete_age = 18 [ (android.privacy).dest = DEST_AUTOMATIC ]; 650 } 651 optional Netstats netstats = 77; 652 653 message Network { 654 option (android.msg_privacy).dest = DEST_EXPLICIT; 655 656 // User preference for which network(s) should be used. 657 optional SettingProto preference = 1; 658 optional SettingProto preferred_network_mode = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 659 optional SettingProto scorer_app = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 660 optional SettingProto switch_notification_daily_limit = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; 661 optional SettingProto switch_notification_rate_limit_millis = 5 [ (android.privacy).dest = DEST_AUTOMATIC ]; 662 optional SettingProto avoid_bad_wifi = 6 [ (android.privacy).dest = DEST_AUTOMATIC ]; 663 optional SettingProto metered_multipath_preference = 7 [ (android.privacy).dest = DEST_AUTOMATIC ]; 664 optional SettingProto watchlist_last_report_time = 8 [ (android.privacy).dest = DEST_AUTOMATIC ]; 665 optional SettingProto scoring_ui_enabled = 9 [ (android.privacy).dest = DEST_AUTOMATIC ]; 666 optional SettingProto recommendations_enabled = 10 [ (android.privacy).dest = DEST_AUTOMATIC ]; 667 optional SettingProto recommendations_package = 11 [ (android.privacy).dest = DEST_AUTOMATIC ]; 668 optional SettingProto recommendation_request_timeout_ms = 12 [ (android.privacy).dest = DEST_AUTOMATIC ]; 669 optional SettingProto watchlist_enabled = 13 [ (android.privacy).dest = DEST_AUTOMATIC ]; 670 optional SettingProto scoring_provisioned = 14 [ (android.privacy).dest = DEST_AUTOMATIC ]; 671 optional SettingProto access_timeout_ms = 15 [ (android.privacy).dest = DEST_AUTOMATIC ]; 672 optional SettingProto recommended_network_evaluator_cache_expiry_ms = 16 [ (android.privacy).dest = DEST_AUTOMATIC ]; 673 } 674 optional Network network = 78; 675 676 // Whether to enable new contacts aggregator or not. 677 // 1 = enable, 0 = disable. 678 optional SettingProto new_contact_aggregator = 79 [ (android.privacy).dest = DEST_AUTOMATIC ]; 679 optional SettingProto night_display_forced_auto_mode_available = 80 [ (android.privacy).dest = DEST_AUTOMATIC ]; 680 681 message Nitz { 682 option (android.msg_privacy).dest = DEST_EXPLICIT; 683 684 // If UTC time between two NITZ signals is greater than this value then the second signal 685 // cannot be ignored. 686 // 687 // This value is in milliseconds. It is used for telephony-based time and time zone 688 // detection. 689 optional SettingProto update_diff = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 690 691 // If the elapsed realtime between two NITZ signals is greater than this value then the 692 // second signal cannot be ignored. 693 // 694 // This value is in milliseconds. It is used for telephony-based time and time zone 695 // detection. 696 optional SettingProto update_spacing = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 697 698 // If the device connects to a telephony network and was disconnected from a telephony 699 // network for less than this time, a previously received NITZ signal can be restored. 700 // 701 // This value is in milliseconds. It is used for telephony-based time and time zone 702 // detection. 703 optional SettingProto network_disconnect_retention = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 704 } 705 optional Nitz nitz = 81; 706 707 message Notification { 708 option (android.msg_privacy).dest = DEST_EXPLICIT; 709 710 optional SettingProto max_notification_enqueue_rate = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 711 optional SettingProto show_notification_channel_warnings = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 712 // The list of snooze options for notifications. This is encoded as a key=value list, 713 // separated by commas. 714 optional SettingProto snooze_options = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 715 optional SettingProto smart_replies_in_notifications_flags = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; 716 // Configuration options for smart replies and smart actions in notifications. This is 717 // encoded as a key=value list separated by commas. 718 optional SettingProto smart_suggestions_in_notifications_flags = 5 [ (android.privacy).dest = DEST_AUTOMATIC ]; 719 optional SettingProto bubbles = 6 [ (android.privacy).dest = DEST_AUTOMATIC ]; 720 } 721 optional Notification notification = 82; 722 723 optional SettingProto nr_nsa_tracking_screen_off_mode = 153 [ (android.privacy).dest = DEST_AUTOMATIC ]; 724 725 message Ntp { 726 option (android.msg_privacy).dest = DEST_EXPLICIT; 727 728 // Preferred NTP server. 729 optional SettingProto server = 1; 730 // Timeout in milliseconds to wait for NTP server. 731 optional SettingProto timeout_ms = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 732 } 733 optional Ntp ntp = 84; 734 735 // Details about the User Absent For Small Battery feature. 736 message UserAbsentSmallBattery { 737 option (android.msg_privacy).dest = DEST_EXPLICIT; 738 739 // Whether or not to enable the User Absent, Radios Off feature 740 optional SettingProto radios_off_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 741 742 // Whether or not to enable the User Absent, Touch Off feature 743 optional SettingProto touch_off_enabled = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 744 } 745 optional UserAbsentSmallBattery user_absent_small_battery = 85; 746 747 // Whether to disable the automatic scheduling of system updates. 748 optional SettingProto ota_disable_automatic_update = 86 [ (android.privacy).dest = DEST_AUTOMATIC ]; 749 // Overlay display devices setting. 750 // The value is a specially formatted string that describes the size and 751 // density of simulated secondary devices. 752 // Format: {width}x{height}/dpi;... 753 optional SettingProto overlay_display_devices = 87 [ (android.privacy).dest = DEST_AUTOMATIC ]; 754 // If set to 1, SettingsProvider's restoreAnyVersion="true" attribute will 755 // be ignored and restoring to lower version of platform API will be 756 // skipped. 757 optional SettingProto override_settings_provider_restore_any_version = 88 [ (android.privacy).dest = DEST_AUTOMATIC ]; 758 // The series of successively longer delays used in retrying to download PAC file. 759 optional SettingProto pac_change_delay = 89 [ (android.privacy).dest = DEST_AUTOMATIC ]; 760 761 message PackageVerifier { 762 option (android.msg_privacy).dest = DEST_EXPLICIT; 763 764 // Whether the package manager should send package verification broadcasts 765 // for verifiers to review apps prior to installation. 766 optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 767 optional SettingProto timeout = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 768 optional SettingProto default_response = 3; 769 optional SettingProto setting_visible = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; 770 optional SettingProto include_adb = 5 [ (android.privacy).dest = DEST_AUTOMATIC ]; 771 } 772 optional PackageVerifier package_verifier = 90; 773 774 message PdpWatchdog { 775 option (android.msg_privacy).dest = DEST_EXPLICIT; 776 777 optional SettingProto poll_interval_ms = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 778 optional SettingProto long_poll_interval_ms = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 779 optional SettingProto error_poll_interval_ms = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 780 optional SettingProto trigger_packet_count = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; 781 optional SettingProto error_poll_count = 5 [ (android.privacy).dest = DEST_AUTOMATIC ]; 782 optional SettingProto max_pdp_reset_fail_count = 6 [ (android.privacy).dest = DEST_AUTOMATIC ]; 783 } 784 optional PdpWatchdog pdp_watchdog = 91; 785 786 // Defines global runtime overrides to window policy. 787 optional SettingProto policy_control = 92; 788 optional SettingProto power_manager_constants = 93; 789 reserved 94; // Used to be priv_app_oob_enabled 790 791 optional SettingProto power_button_long_press_duration_ms = 154 [ (android.privacy).dest = DEST_AUTOMATIC ]; 792 793 message PrepaidSetup { 794 option (android.msg_privacy).dest = DEST_EXPLICIT; 795 796 // URL to open browser on to allow user to manage a prepay account. 797 optional SettingProto data_service_url = 1; 798 // URL to attempt a GET on to see if this is a prepay device. 799 optional SettingProto detection_target_url = 2; 800 // Host to check for a redirect to after an attempt to GET 801 // SETUP_PREPAID_DETECTION_TARGET_URL. (If we redirected there, this is a 802 // prepaid device with zero balance.) 803 optional SettingProto detection_redir_host = 3; 804 } 805 optional PrepaidSetup prepaid_setup = 95; 806 807 message Private { 808 option (android.msg_privacy).dest = DEST_LOCAL; 809 810 // The requested Private DNS mode and an accompanying specifier. 811 // msg_privacy settings don't apply to sub messages, only to primitive 812 // fields, so these must also be explicitly set to LOCAL. 813 optional SettingProto dns_mode = 1 [ (android.privacy).dest = DEST_LOCAL ]; 814 optional SettingProto dns_specifier = 2 [ (android.privacy).dest = DEST_LOCAL ]; 815 } 816 optional Private private = 96; 817 818 // The number of milliseconds to allow the provisioning apn to remain active. 819 optional SettingProto provisioning_apn_alarm_delay_in_ms = 97 [ (android.privacy).dest = DEST_AUTOMATIC ]; 820 optional SettingProto read_external_storage_enforced_default = 98 [ (android.privacy).dest = DEST_AUTOMATIC ]; 821 optional SettingProto require_password_to_decrypt = 99 [ (android.privacy).dest = DEST_AUTOMATIC ]; 822 optional SettingProto safe_boot_disallowed = 100 [ (android.privacy).dest = DEST_AUTOMATIC ]; 823 824 message Selinux { 825 option (android.msg_privacy).dest = DEST_EXPLICIT; 826 827 optional SettingProto update_content_url = 1; 828 optional SettingProto update_metadata_url = 2; 829 optional SettingProto status = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 830 } 831 optional Selinux selinux = 101; 832 833 // Flag for allowing ActivityManagerService to send ACTION_APP_ERROR intents 834 // on application crashes and ANRs. If this is disabled, the crash/ANR 835 // dialog will never display the "Report" button. 836 optional SettingProto send_action_app_error = 102 [ (android.privacy).dest = DEST_AUTOMATIC ]; 837 // Let user pick default install location. 838 optional SettingProto set_install_location = 103 [ (android.privacy).dest = DEST_AUTOMATIC ]; 839 optional SettingProto shortcut_manager_constants = 104; 840 optional SettingProto show_first_crash_dialog = 105 [ (android.privacy).dest = DEST_AUTOMATIC ]; 841 optional SettingProto show_hidden_launcher_icon_apps_enabled = 141 [ (android.privacy).dest = DEST_AUTOMATIC ]; 842 optional SettingProto show_restart_in_crash_dialog = 106 [ (android.privacy).dest = DEST_AUTOMATIC ]; 843 optional SettingProto show_mute_in_crash_dialog = 107 [ (android.privacy).dest = DEST_AUTOMATIC ]; 844 optional SettingProto show_new_app_installed_notification_enabled = 142 [ (android.privacy).dest = DEST_AUTOMATIC ]; 845 846 message SmartSelection { 847 option (android.msg_privacy).dest = DEST_EXPLICIT; 848 849 optional SettingProto update_content_url = 1; 850 optional SettingProto update_metadata_url = 2; 851 } 852 optional SmartSelection smart_selection = 108; 853 854 message Sms { 855 option (android.msg_privacy).dest = DEST_EXPLICIT; 856 857 optional SettingProto outgoing_check_interval_ms = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 858 optional SettingProto outgoing_check_max_count = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 859 // Used to disable SMS short code confirmation. Defaults to true. 860 optional SettingProto short_code_confirmation = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 861 optional SettingProto short_code_rule = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; 862 optional SettingProto short_codes_update_content_url = 5; 863 optional SettingProto short_codes_update_metadata_url = 6; 864 optional SettingProto access_restriction_enabled = 7 [ (android.privacy).dest = DEST_AUTOMATIC ]; 865 } 866 optional Sms sms = 109; 867 868 message Sounds { 869 option (android.msg_privacy).dest = DEST_EXPLICIT; 870 871 optional SettingProto car_dock = 1; 872 optional SettingProto car_undock = 2; 873 reserved 3; // Moved to secure settings Sound.charging_sounds_enabled 874 optional SettingProto charging_started = 4; 875 optional SettingProto desk_dock = 5; 876 optional SettingProto desk_undock = 6; 877 optional SettingProto dock_sounds_enabled = 7 [ (android.privacy).dest = DEST_AUTOMATIC ]; 878 optional SettingProto dock_sounds_enabled_when_accessibility = 8 [ (android.privacy).dest = DEST_AUTOMATIC ]; 879 optional SettingProto lock = 9; 880 optional SettingProto low_battery = 10; 881 optional SettingProto low_battery_sound_timeout = 11 [ (android.privacy).dest = DEST_AUTOMATIC ]; 882 // Called "power_sounds_enabled" in code. 883 optional SettingProto low_battery_sounds_enabled = 12 [ (android.privacy).dest = DEST_AUTOMATIC ]; 884 optional SettingProto trusted = 13; 885 optional SettingProto unlock = 14; 886 optional SettingProto wireless_charging_started = 15; 887 } 888 optional Sounds sounds = 110; 889 890 message SoundTrigger { 891 option (android.msg_privacy).dest = DEST_EXPLICIT; 892 893 // Maximum number of SoundTriggerDetectionService operations per day. 894 optional SettingProto max_sound_trigger_detection_service_ops_per_day = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 895 // Timeout for a single SoundTriggerDetectionService operation (in ms). 896 optional SettingProto detection_service_op_timeout_ms = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 897 } 898 optional SoundTrigger sound_trigger = 111; 899 900 // Value to specify how long in milliseconds to retain seen score cache 901 // curves to be used when generating SSID only bases score curves. 902 optional SettingProto speed_label_cache_eviction_age_ms = 112 [ (android.privacy).dest = DEST_AUTOMATIC ]; 903 // Configuration flags for SQLite Compatibility WAL. Encoded as a key-value 904 // list, separated by commas. 905 // E.g.: compatibility_wal_supported=true, wal_syncmode=OFF 906 optional SettingProto sqlite_compatibility_wal_flags = 113 [ (android.privacy).dest = DEST_AUTOMATIC ]; 907 optional SettingProto stay_on_while_plugged_in = 114 [ (android.privacy).dest = DEST_AUTOMATIC ]; 908 909 message Storage { 910 option (android.msg_privacy).dest = DEST_EXPLICIT; 911 912 optional SettingProto benchmark_interval = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 913 optional SettingProto settings_clobber_threshold = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 914 } 915 optional Storage storage = 115; 916 917 message Sync { 918 option (android.msg_privacy).dest = DEST_EXPLICIT; 919 920 // The maximum reconnect delay for short network outages or when the network is suspended due to phone use. 921 optional SettingProto max_retry_delay_in_seconds = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 922 // Simply "sync_manager_constants" in code. 923 optional SettingProto manager_constants = 2; 924 } 925 optional Sync sync = 116; 926 927 message Sys { 928 option (android.msg_privacy).dest = DEST_EXPLICIT; 929 930 // The interval in minutes after which the amount of free storage left on 931 // the device is logged to the event log. 932 optional SettingProto free_storage_log_interval_mins = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 933 optional SettingProto storage_threshold_percentage = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 934 optional SettingProto storage_threshold_max_bytes = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 935 optional SettingProto storage_full_threshold_bytes = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; 936 optional SettingProto storage_cache_percentage = 5 [ (android.privacy).dest = DEST_AUTOMATIC ]; 937 optional SettingProto storage_cache_max_bytes = 6 [ (android.privacy).dest = DEST_AUTOMATIC ]; 938 // Used to be sys_vdso 939 reserved 7; 940 // UidCpuPower global setting. This links the sys.uidcpupower system property. 941 // The following values are supported: 942 // 0 -> /proc/uid_cpupower/* are disabled 943 // 1 -> /proc/uid_cpupower/* are enabled 944 // Any other value defaults to enabled. 945 optional SettingProto uidcpupower = 8 [ (android.privacy).dest = DEST_AUTOMATIC ]; 946 } 947 optional Sys sys = 117; 948 949 optional SettingProto tcp_default_init_rwnd = 118 [ (android.privacy).dest = DEST_AUTOMATIC ]; 950 951 message TemperatureWarning { 952 option (android.msg_privacy).dest = DEST_EXPLICIT; 953 954 optional SettingProto show_temperature_warning = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 955 // Temperature at which the high temperature warning notification should 956 // be shown. 957 optional SettingProto warning_temperature_level = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 958 optional SettingProto show_usb_temperature_alarm = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 959 } 960 optional TemperatureWarning temperature_warning = 119; 961 962 message Tether { 963 option (android.msg_privacy).dest = DEST_EXPLICIT; 964 965 optional SettingProto supported = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 966 optional SettingProto dun_required = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 967 optional SettingProto dun_apn = 3; 968 optional SettingProto offload_disabled = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; 969 // Simply "soft_ap_timeout_enabled" in code. 970 optional SettingProto timeout_enabled = 112 [ (android.privacy).dest = DEST_AUTOMATIC ]; 971 } 972 optional Tether tether = 120; 973 974 optional SettingProto text_classifier_constants = 121; 975 optional SettingProto theater_mode_on = 122 [ (android.privacy).dest = DEST_AUTOMATIC ]; 976 optional SettingProto time_only_mode_constants = 123 [ (android.privacy).dest = DEST_AUTOMATIC ]; 977 optional SettingProto transition_animation_scale = 124 [ (android.privacy).dest = DEST_AUTOMATIC ]; 978 979 message Tzinfo { 980 option (android.msg_privacy).dest = DEST_EXPLICIT; 981 982 optional SettingProto update_content_url = 1; 983 optional SettingProto update_metadata_url = 2; 984 } 985 optional Tzinfo tzinfo = 125; 986 987 // The min period for caching unused static shared libs in milliseconds. 988 optional SettingProto unused_static_shared_lib_min_cache_period_ms = 126 [ (android.privacy).dest = DEST_AUTOMATIC ]; 989 optional SettingProto usb_mass_storage_enabled = 127 [ (android.privacy).dest = DEST_AUTOMATIC ]; 990 optional SettingProto use_google_mail = 128 [ (android.privacy).dest = DEST_AUTOMATIC ]; 991 optional SettingProto use_open_wifi_package = 129 [ (android.privacy).dest = DEST_AUTOMATIC ]; 992 optional SettingProto uwb_enabled = 155 [ (android.privacy).dest = DEST_AUTOMATIC ]; 993 optional SettingProto vt_ims_enabled = 130 [ (android.privacy).dest = DEST_AUTOMATIC ]; 994 optional SettingProto wait_for_debugger = 131 [ (android.privacy).dest = DEST_AUTOMATIC ]; 995 996 message Webview { 997 option (android.msg_privacy).dest = DEST_EXPLICIT; 998 999 optional SettingProto data_reduction_proxy_key = 1; 1000 optional SettingProto fallback_logic_enabled = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1001 // Name of the package used as WebView provider. 1002 optional SettingProto provider = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1003 optional SettingProto multiprocess = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1004 } 1005 optional Webview webview = 132; 1006 1007 message Wfc { 1008 option (android.msg_privacy).dest = DEST_EXPLICIT; 1009 1010 optional SettingProto ims_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1011 optional SettingProto ims_mode = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1012 optional SettingProto ims_roaming_mode = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1013 optional SettingProto ims_roaming_enabled = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1014 } 1015 optional Wfc wfc = 133; 1016 1017 message Wifi { 1018 option (android.msg_privacy).dest = DEST_EXPLICIT; 1019 1020 optional SettingProto sleep_policy = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1021 optional SettingProto badging_thresholds = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1022 optional SettingProto display_on = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1023 optional SettingProto display_certification_on = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1024 optional SettingProto display_wps_config = 5 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1025 optional SettingProto networks_available_notification_on = 6 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1026 reserved 7; reserved "carrier_networks_available_notification_on"; 1027 optional SettingProto networks_available_repeat_delay = 8 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1028 optional SettingProto country_code = 9; 1029 optional SettingProto framework_scan_interval_ms = 10 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1030 optional SettingProto idle_ms = 11 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1031 optional SettingProto num_open_networks_kept = 12 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1032 optional SettingProto on = 13 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1033 optional SettingProto scan_always_available = 14 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1034 optional SettingProto wakeup_enabled = 15 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1035 optional SettingProto saved_state = 16 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1036 optional SettingProto supplicant_scan_interval_ms = 17 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1037 optional SettingProto enhanced_auto_join = 18 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1038 optional SettingProto network_show_rssi = 19 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1039 optional SettingProto scan_interval_when_p2p_connected_ms = 20 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1040 optional SettingProto watchdog_on = 21 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1041 optional SettingProto watchdog_poor_network_test_enabled = 22 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1042 optional SettingProto suspend_optimizations_enabled = 23 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1043 optional SettingProto verbose_logging_enabled = 24 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1044 reserved 25; reserved "connected_mac_randomization_enabled"; 1045 optional SettingProto max_dhcp_retry_count = 26 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1046 optional SettingProto mobile_data_transition_wakelock_timeout_ms = 27 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1047 // Controls whether WiFi configurations created by a Device Owner app should 1048 // be locked down (that is, be editable or removable only by the Device 1049 // Owner App, not even by Settings app). This setting takes integer values. 1050 // Non-zero values mean that the Device Owner-created configurations are 1051 // locked down. Value of zero means they are not. Default value in the 1052 // absence of actual value to this setting is 0. 1053 optional SettingProto device_owner_configs_lockdown = 28 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1054 optional SettingProto frequency_band = 29 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1055 optional SettingProto p2p_device_name = 30; 1056 reserved 31; reserved "reenable_delay_ms"; 1057 optional SettingProto ephemeral_out_of_range_timeout_ms = 32 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1058 optional SettingProto on_when_proxy_disconnected = 33 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1059 optional SettingProto bounce_delay_override_ms = 34 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1060 } 1061 optional Wifi wifi = 134; 1062 1063 optional SettingProto wimax_networks_available_notification_on = 135 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1064 optional SettingProto window_animation_scale = 136 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1065 optional SettingProto wtf_is_fatal = 137 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1066 1067 message Zen { 1068 option (android.msg_privacy).dest = DEST_EXPLICIT; 1069 1070 optional SettingProto mode = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1071 optional SettingProto mode_ringer_level = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1072 optional SettingProto mode_config_etag = 3; 1073 reserved 4; // Moved to secure settings Zen.duration 1074 reserved 5; // Moved to secure settings Zen.show_zen_upgrade_notification 1075 } 1076 optional Zen zen = 138; 1077 1078 optional SettingProto zram_enabled = 139 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1079 1080 optional SettingProto app_ops_constants = 148 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1081 1082 optional SettingProto text_classifier_action_model_params = 145 [ (android.privacy).dest = DEST_AUTOMATIC ]; 1083 1084 // Please insert fields in alphabetical order and group them into messages 1085 // if possible (to avoid reaching the method limit). 1086 // Next tag = 157; 1087} 1088