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