Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 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 | |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 17 | syntax = "proto2"; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 18 | package android.providers.settings; |
| 19 | |
| 20 | option java_multiple_files = true; |
| 21 | option java_outer_classname = "SettingsServiceProto"; |
| 22 | |
| 23 | message SettingsServiceDumpProto { |
| 24 | // Per user settings |
| 25 | repeated UserSettingsProto user_settings = 1; |
| 26 | |
| 27 | // Global settings |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 28 | optional GlobalSettingsProto global_settings = 2; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 29 | } |
| 30 | |
| 31 | message UserSettingsProto { |
| 32 | // Should be 0, 10, 11, 12, etc. where 0 is the owner. |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 33 | optional int32 user_id = 1; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 34 | |
| 35 | // The secure settings for this user |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 36 | optional SecureSettingsProto secure_settings = 2; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 37 | |
| 38 | // The system settings for this user |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 39 | optional SystemSettingsProto system_settings = 3; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 40 | } |
| 41 | |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 42 | // Note: it's a conscious decision to add each setting as a separate field. This |
| 43 | // allows annotating each setting with its own privacy tag. |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 44 | message GlobalSettingsProto { |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 45 | repeated SettingsOperationProto historical_operations = 1; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 46 | |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 47 | optional SettingProto add_users_when_locked = 2; |
| 48 | optional SettingProto enable_accessibility_global_gesture_enabled = 3; |
| 49 | optional SettingProto airplane_mode_on = 4; |
| 50 | optional SettingProto theater_mode_on = 5; |
| 51 | optional SettingProto radio_bluetooth = 6; |
| 52 | optional SettingProto radio_wifi = 7; |
| 53 | optional SettingProto radio_wimax = 8; |
| 54 | optional SettingProto radio_cell = 9; |
| 55 | optional SettingProto radio_nfc = 10; |
| 56 | optional SettingProto airplane_mode_radios = 11; |
| 57 | optional SettingProto airplane_mode_toggleable_radios = 12; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 58 | optional SettingProto bluetooth_class_of_device = 293; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 59 | optional SettingProto bluetooth_disabled_profiles = 13; |
| 60 | optional SettingProto bluetooth_interoperability_list = 14; |
| 61 | optional SettingProto wifi_sleep_policy = 15; |
| 62 | optional SettingProto auto_time = 16; |
| 63 | optional SettingProto auto_time_zone = 17; |
| 64 | optional SettingProto car_dock_sound = 18; |
| 65 | optional SettingProto car_undock_sound = 19; |
| 66 | optional SettingProto desk_dock_sound = 20; |
| 67 | optional SettingProto desk_undock_sound = 21; |
| 68 | optional SettingProto dock_sounds_enabled = 22; |
| 69 | optional SettingProto dock_sounds_enabled_when_accessibility = 23; |
| 70 | optional SettingProto lock_sound = 24; |
| 71 | optional SettingProto unlock_sound = 25; |
| 72 | optional SettingProto trusted_sound = 26; |
| 73 | optional SettingProto low_battery_sound = 27; |
| 74 | optional SettingProto power_sounds_enabled = 28; |
| 75 | optional SettingProto wireless_charging_started_sound = 29; |
| 76 | optional SettingProto charging_sounds_enabled = 30; |
| 77 | optional SettingProto stay_on_while_plugged_in = 31; |
| 78 | optional SettingProto bugreport_in_power_menu = 32; |
| 79 | optional SettingProto adb_enabled = 33; |
| 80 | optional SettingProto debug_view_attributes = 34; |
| 81 | optional SettingProto assisted_gps_enabled = 35; |
| 82 | optional SettingProto bluetooth_on = 36; |
| 83 | optional SettingProto cdma_cell_broadcast_sms = 37; |
| 84 | optional SettingProto cdma_roaming_mode = 38; |
| 85 | optional SettingProto cdma_subscription_mode = 39; |
| 86 | optional SettingProto data_activity_timeout_mobile = 40; |
| 87 | optional SettingProto data_activity_timeout_wifi = 41; |
| 88 | optional SettingProto data_roaming = 42; |
| 89 | optional SettingProto mdc_initial_max_retry = 43; |
| 90 | optional SettingProto force_allow_on_external = 44; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 91 | optional SettingProto euicc_provisioned = 294; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 92 | optional SettingProto development_force_resizable_activities = 45; |
| 93 | optional SettingProto development_enable_freeform_windows_support = 46; |
| 94 | optional SettingProto development_settings_enabled = 47; |
| 95 | optional SettingProto device_provisioned = 48; |
| 96 | optional SettingProto device_provisioning_mobile_data_enabled = 49; |
| 97 | optional SettingProto display_size_forced = 50; |
| 98 | optional SettingProto display_scaling_force = 51; |
| 99 | optional SettingProto download_max_bytes_over_mobile = 52; |
| 100 | optional SettingProto download_recommended_max_bytes_over_mobile = 53; |
| 101 | optional SettingProto hdmi_control_enabled = 54; |
| 102 | optional SettingProto hdmi_system_audio_control_enabled = 55; |
| 103 | optional SettingProto hdmi_control_auto_wakeup_enabled = 56; |
| 104 | optional SettingProto hdmi_control_auto_device_off_enabled = 57; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 105 | optional SettingProto location_background_throttle_interval_ms = 295; |
| 106 | optional SettingProto location_background_throttle_proximity_alert_interval_ms = 296; |
| 107 | optional SettingProto location_background_throttle_package_whitelist = 297; |
| 108 | optional SettingProto wifi_scan_background_throttle_interval_ms = 298; |
| 109 | optional SettingProto wifi_scan_background_throttle_package_whitelist = 299; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 110 | optional SettingProto mhl_input_switching_enabled = 58; |
| 111 | optional SettingProto mhl_power_charge_enabled = 59; |
| 112 | optional SettingProto mobile_data = 60; |
| 113 | optional SettingProto mobile_data_always_on = 61; |
| 114 | optional SettingProto connectivity_metrics_buffer_size = 62; |
| 115 | optional SettingProto netstats_enabled = 63; |
| 116 | optional SettingProto netstats_poll_interval = 64; |
| 117 | optional SettingProto netstats_time_cache_max_age = 65; |
| 118 | optional SettingProto netstats_global_alert_bytes = 66; |
| 119 | optional SettingProto netstats_sample_enabled = 67; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 120 | optional SettingProto netstats_augment_enabled = 300; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 121 | optional SettingProto netstats_dev_bucket_duration = 68; |
| 122 | optional SettingProto netstats_dev_persist_bytes = 69; |
| 123 | optional SettingProto netstats_dev_rotate_age = 70; |
| 124 | optional SettingProto netstats_dev_delete_age = 71; |
| 125 | optional SettingProto netstats_uid_bucket_duration = 72; |
| 126 | optional SettingProto netstats_uid_persist_bytes = 73; |
| 127 | optional SettingProto netstats_uid_rotate_age = 74; |
| 128 | optional SettingProto netstats_uid_delete_age = 75; |
| 129 | optional SettingProto netstats_uid_tag_bucket_duration = 76; |
| 130 | optional SettingProto netstats_uid_tag_persist_bytes = 77; |
| 131 | optional SettingProto netstats_uid_tag_rotate_age = 78; |
| 132 | optional SettingProto netstats_uid_tag_delete_age = 79; |
| 133 | optional SettingProto network_preference = 80; |
| 134 | optional SettingProto network_scorer_app = 81; |
| 135 | optional SettingProto nitz_update_diff = 82; |
| 136 | optional SettingProto nitz_update_spacing = 83; |
| 137 | optional SettingProto ntp_server = 84; |
| 138 | optional SettingProto ntp_timeout = 85; |
| 139 | optional SettingProto storage_benchmark_interval = 86; |
| 140 | optional SettingProto dns_resolver_sample_validity_seconds = 87; |
| 141 | optional SettingProto dns_resolver_success_threshold_percent = 88; |
| 142 | optional SettingProto dns_resolver_min_samples = 89; |
| 143 | optional SettingProto dns_resolver_max_samples = 90; |
| 144 | optional SettingProto ota_disable_automatic_update = 91; |
| 145 | optional SettingProto package_verifier_enable = 92; |
| 146 | optional SettingProto package_verifier_timeout = 93; |
| 147 | optional SettingProto package_verifier_default_response = 94; |
| 148 | optional SettingProto package_verifier_setting_visible = 95; |
| 149 | optional SettingProto package_verifier_include_adb = 96; |
| 150 | optional SettingProto fstrim_mandatory_interval = 97; |
| 151 | optional SettingProto pdp_watchdog_poll_interval_ms = 98; |
| 152 | optional SettingProto pdp_watchdog_long_poll_interval_ms = 99; |
| 153 | optional SettingProto pdp_watchdog_error_poll_interval_ms = 100; |
| 154 | optional SettingProto pdp_watchdog_trigger_packet_count = 101; |
| 155 | optional SettingProto pdp_watchdog_error_poll_count = 102; |
| 156 | optional SettingProto pdp_watchdog_max_pdp_reset_fail_count = 103; |
| 157 | optional SettingProto setup_prepaid_data_service_url = 105; |
| 158 | optional SettingProto setup_prepaid_detection_target_url = 106; |
| 159 | optional SettingProto setup_prepaid_detection_redir_host = 107; |
| 160 | optional SettingProto sms_outgoing_check_interval_ms = 108; |
| 161 | optional SettingProto sms_outgoing_check_max_count = 109; |
| 162 | optional SettingProto sms_short_code_confirmation = 110; |
| 163 | optional SettingProto sms_short_code_rule = 111; |
| 164 | optional SettingProto tcp_default_init_rwnd = 112; |
| 165 | optional SettingProto tether_supported = 113; |
| 166 | optional SettingProto tether_dun_required = 114; |
| 167 | optional SettingProto tether_dun_apn = 115; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 168 | optional SettingProto tether_offload_disabled = 301; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 169 | optional SettingProto carrier_app_whitelist = 116; |
| 170 | optional SettingProto usb_mass_storage_enabled = 117; |
| 171 | optional SettingProto use_google_mail = 118; |
| 172 | optional SettingProto webview_data_reduction_proxy_key = 119; |
| 173 | optional SettingProto webview_fallback_logic_enabled = 120; |
| 174 | optional SettingProto webview_provider = 121; |
| 175 | optional SettingProto webview_multiprocess = 122; |
| 176 | optional SettingProto network_switch_notification_daily_limit = 123; |
| 177 | optional SettingProto network_switch_notification_rate_limit_millis = 124; |
| 178 | optional SettingProto network_avoid_bad_wifi = 125; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 179 | optional SettingProto network_metered_multipath_preference = 302; |
| 180 | optional SettingProto network_watchlist_last_report_time = 303; |
| 181 | optional SettingProto wifi_badging_thresholds = 304; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 182 | optional SettingProto wifi_display_on = 126; |
| 183 | optional SettingProto wifi_display_certification_on = 127; |
| 184 | optional SettingProto wifi_display_wps_config = 128; |
| 185 | optional SettingProto wifi_networks_available_notification_on = 129; |
| 186 | optional SettingProto wimax_networks_available_notification_on = 130; |
| 187 | optional SettingProto wifi_networks_available_repeat_delay = 131; |
| 188 | optional SettingProto wifi_country_code = 132; |
| 189 | optional SettingProto wifi_framework_scan_interval_ms = 133; |
| 190 | optional SettingProto wifi_idle_ms = 134; |
| 191 | optional SettingProto wifi_num_open_networks_kept = 135; |
| 192 | optional SettingProto wifi_on = 136; |
| 193 | optional SettingProto wifi_scan_always_available = 137; |
| 194 | optional SettingProto wifi_wakeup_enabled = 138; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 195 | optional SettingProto wifi_wakeup_available = 305; |
| 196 | optional SettingProto network_scoring_ui_enabled = 306; |
| 197 | optional SettingProto speed_label_cache_eviction_age_millis = 307; |
| 198 | optional SettingProto recommended_network_evaluator_cache_expiry_ms = 308; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 199 | optional SettingProto network_recommendations_enabled = 139; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 200 | optional SettingProto network_recommendations_package = 286; |
| 201 | optional SettingProto use_open_wifi_package = 309; |
| 202 | optional SettingProto network_recommendation_request_timeout_ms = 310; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 203 | optional SettingProto ble_scan_always_available = 140; |
| 204 | optional SettingProto wifi_saved_state = 141; |
| 205 | optional SettingProto wifi_supplicant_scan_interval_ms = 142; |
| 206 | optional SettingProto wifi_enhanced_auto_join = 143; |
| 207 | optional SettingProto wifi_network_show_rssi = 144; |
| 208 | optional SettingProto wifi_scan_interval_when_p2p_connected_ms = 145; |
| 209 | optional SettingProto wifi_watchdog_on = 146; |
| 210 | optional SettingProto wifi_watchdog_poor_network_test_enabled = 147; |
| 211 | optional SettingProto wifi_suspend_optimizations_enabled = 148; |
| 212 | optional SettingProto wifi_verbose_logging_enabled = 149; |
| 213 | optional SettingProto wifi_max_dhcp_retry_count = 150; |
| 214 | optional SettingProto wifi_mobile_data_transition_wakelock_timeout_ms = 151; |
| 215 | optional SettingProto wifi_device_owner_configs_lockdown = 152; |
| 216 | optional SettingProto wifi_frequency_band = 153; |
| 217 | optional SettingProto wifi_p2p_device_name = 154; |
| 218 | optional SettingProto wifi_reenable_delay_ms = 155; |
| 219 | optional SettingProto wifi_ephemeral_out_of_range_timeout_ms = 156; |
| 220 | optional SettingProto data_stall_alarm_non_aggressive_delay_in_ms = 157; |
| 221 | optional SettingProto data_stall_alarm_aggressive_delay_in_ms = 158; |
| 222 | optional SettingProto provisioning_apn_alarm_delay_in_ms = 159; |
| 223 | optional SettingProto gprs_register_check_period_ms = 160; |
| 224 | optional SettingProto wtf_is_fatal = 161; |
| 225 | optional SettingProto mode_ringer = 162; |
| 226 | optional SettingProto overlay_display_devices = 163; |
| 227 | optional SettingProto battery_discharge_duration_threshold = 164; |
| 228 | optional SettingProto battery_discharge_threshold = 165; |
| 229 | optional SettingProto send_action_app_error = 166; |
| 230 | optional SettingProto dropbox_age_seconds = 167; |
| 231 | optional SettingProto dropbox_max_files = 168; |
| 232 | optional SettingProto dropbox_quota_kb = 169; |
| 233 | optional SettingProto dropbox_quota_percent = 170; |
| 234 | optional SettingProto dropbox_reserve_percent = 171; |
| 235 | optional SettingProto dropbox_tag_prefix = 172; |
| 236 | optional SettingProto error_logcat_prefix = 173; |
| 237 | optional SettingProto sys_free_storage_log_interval = 174; |
| 238 | optional SettingProto disk_free_change_reporting_threshold = 175; |
| 239 | optional SettingProto sys_storage_threshold_percentage = 176; |
| 240 | optional SettingProto sys_storage_threshold_max_bytes = 177; |
| 241 | optional SettingProto sys_storage_full_threshold_bytes = 178; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 242 | optional SettingProto sys_storage_cache_percentage = 311; |
| 243 | optional SettingProto sys_storage_cache_max_bytes = 312; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 244 | optional SettingProto sync_max_retry_delay_in_seconds = 179; |
| 245 | optional SettingProto connectivity_change_delay = 180; |
| 246 | optional SettingProto connectivity_sampling_interval_in_seconds = 181; |
| 247 | optional SettingProto pac_change_delay = 182; |
| 248 | optional SettingProto captive_portal_mode = 183; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 249 | optional SettingProto captive_portal_detection_enabled = 313; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 250 | optional SettingProto captive_portal_server = 184; |
| 251 | optional SettingProto captive_portal_https_url = 185; |
| 252 | optional SettingProto captive_portal_http_url = 186; |
| 253 | optional SettingProto captive_portal_fallback_url = 187; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 254 | optional SettingProto captive_portal_other_fallback_urls = 314; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 255 | optional SettingProto captive_portal_use_https = 188; |
| 256 | optional SettingProto captive_portal_user_agent = 189; |
| 257 | optional SettingProto nsd_on = 190; |
| 258 | optional SettingProto set_install_location = 191; |
| 259 | optional SettingProto default_install_location = 192; |
| 260 | optional SettingProto inet_condition_debounce_up_delay = 193; |
| 261 | optional SettingProto inet_condition_debounce_down_delay = 194; |
| 262 | optional SettingProto read_external_storage_enforced_default = 195; |
| 263 | optional SettingProto http_proxy = 196; |
| 264 | optional SettingProto global_http_proxy_host = 197; |
| 265 | optional SettingProto global_http_proxy_port = 198; |
| 266 | optional SettingProto global_http_proxy_exclusion_list = 199; |
| 267 | optional SettingProto global_http_proxy_pac = 200; |
| 268 | optional SettingProto set_global_http_proxy = 201; |
| 269 | optional SettingProto default_dns_server = 202; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 270 | // The requested Private DNS mode and an accompanying specifier. |
| 271 | optional SettingProto private_dns_mode = 315; |
| 272 | optional SettingProto private_dns_specifier = 316; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 273 | optional SettingProto bluetooth_headset_priority_prefix = 203; |
| 274 | optional SettingProto bluetooth_a2dp_sink_priority_prefix = 204; |
| 275 | optional SettingProto bluetooth_a2dp_src_priority_prefix = 205; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 276 | optional SettingProto bluetooth_a2dp_supports_optional_codecs_prefix = 287; |
| 277 | optional SettingProto bluetooth_a2dp_optional_codecs_enabled_prefix = 288; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 278 | optional SettingProto bluetooth_input_device_priority_prefix = 206; |
| 279 | optional SettingProto bluetooth_map_priority_prefix = 207; |
| 280 | optional SettingProto bluetooth_map_client_priority_prefix = 208; |
| 281 | optional SettingProto bluetooth_pbap_client_priority_prefix = 209; |
| 282 | optional SettingProto bluetooth_sap_priority_prefix = 210; |
| 283 | optional SettingProto bluetooth_pan_priority_prefix = 211; |
Jakub Pawlowski | c2d7be6 | 2017-11-22 10:57:42 -0800 | [diff] [blame] | 284 | optional SettingProto bluetooth_hearing_aid_priority_prefix = 345; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 285 | optional SettingProto activity_manager_constants = 317; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 286 | optional SettingProto device_idle_constants = 212; |
| 287 | optional SettingProto device_idle_constants_watch = 213; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 288 | optional SettingProto battery_saver_constants = 318; |
| 289 | optional SettingProto anomaly_detection_constants = 319; |
| 290 | optional SettingProto always_on_display_constants = 320; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 291 | optional SettingProto app_idle_constants = 214; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 292 | optional SettingProto power_manager_constants = 321; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 293 | optional SettingProto alarm_manager_constants = 215; |
| 294 | optional SettingProto job_scheduler_constants = 216; |
| 295 | optional SettingProto shortcut_manager_constants = 217; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 296 | optional SettingProto device_policy_constants = 322; |
| 297 | optional SettingProto text_classifier_constants = 323; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 298 | optional SettingProto window_animation_scale = 218; |
| 299 | optional SettingProto transition_animation_scale = 219; |
| 300 | optional SettingProto animator_duration_scale = 220; |
| 301 | optional SettingProto fancy_ime_animations = 221; |
| 302 | optional SettingProto compatibility_mode = 222; |
| 303 | optional SettingProto emergency_tone = 223; |
| 304 | optional SettingProto call_auto_retry = 224; |
| 305 | optional SettingProto emergency_affordance_needed = 225; |
| 306 | optional SettingProto preferred_network_mode = 226; |
| 307 | optional SettingProto debug_app = 227; |
| 308 | optional SettingProto wait_for_debugger = 228; |
Cody Northrop | 86cedcb | 2017-10-20 09:03:13 -0600 | [diff] [blame] | 309 | optional SettingProto enable_gpu_debug_layers = 342; |
| 310 | optional SettingProto gpu_debug_app = 343; |
| 311 | optional SettingProto gpu_debug_layers = 344; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 312 | optional SettingProto low_power_mode = 229; |
| 313 | optional SettingProto low_power_mode_trigger_level = 230; |
| 314 | optional SettingProto always_finish_activities = 231; |
| 315 | optional SettingProto dock_audio_media_enabled = 232; |
| 316 | optional SettingProto encoded_surround_output = 233; |
| 317 | optional SettingProto audio_safe_volume_state = 234; |
| 318 | optional SettingProto tzinfo_update_content_url = 235; |
| 319 | optional SettingProto tzinfo_update_metadata_url = 236; |
| 320 | optional SettingProto selinux_update_content_url = 237; |
| 321 | optional SettingProto selinux_update_metadata_url = 238; |
| 322 | optional SettingProto sms_short_codes_update_content_url = 239; |
| 323 | optional SettingProto sms_short_codes_update_metadata_url = 240; |
| 324 | optional SettingProto apn_db_update_content_url = 241; |
| 325 | optional SettingProto apn_db_update_metadata_url = 242; |
| 326 | optional SettingProto cert_pin_update_content_url = 243; |
| 327 | optional SettingProto cert_pin_update_metadata_url = 244; |
| 328 | optional SettingProto intent_firewall_update_content_url = 245; |
| 329 | optional SettingProto intent_firewall_update_metadata_url = 246; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 330 | optional SettingProto lang_id_update_content_url = 324; |
| 331 | optional SettingProto lang_id_update_metadata_url = 325; |
| 332 | optional SettingProto smart_selection_update_content_url = 326; |
| 333 | optional SettingProto smart_selection_update_metadata_url = 327; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 334 | optional SettingProto selinux_status = 247; |
| 335 | optional SettingProto development_force_rtl = 248; |
| 336 | optional SettingProto low_battery_sound_timeout = 249; |
| 337 | optional SettingProto wifi_bounce_delay_override_ms = 250; |
| 338 | optional SettingProto policy_control = 251; |
| 339 | optional SettingProto zen_mode = 252; |
| 340 | optional SettingProto zen_mode_ringer_level = 253; |
| 341 | optional SettingProto zen_mode_config_etag = 254; |
| 342 | optional SettingProto heads_up_notifications_enabled = 255; |
| 343 | optional SettingProto device_name = 256; |
| 344 | optional SettingProto network_scoring_provisioned = 257; |
| 345 | optional SettingProto require_password_to_decrypt = 258; |
| 346 | optional SettingProto enhanced_4g_mode_enabled = 259; |
| 347 | optional SettingProto vt_ims_enabled = 260; |
| 348 | optional SettingProto wfc_ims_enabled = 261; |
| 349 | optional SettingProto wfc_ims_mode = 262; |
| 350 | optional SettingProto wfc_ims_roaming_mode = 263; |
| 351 | optional SettingProto wfc_ims_roaming_enabled = 264; |
| 352 | optional SettingProto lte_service_forced = 265; |
| 353 | optional SettingProto ephemeral_cookie_max_size_bytes = 266; |
| 354 | optional SettingProto enable_ephemeral_feature = 267; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 355 | optional SettingProto instant_app_dexopt_enabled = 328; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 356 | optional SettingProto installed_instant_app_min_cache_period = 268; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 357 | optional SettingProto installed_instant_app_max_cache_period = 289; |
| 358 | optional SettingProto uninstalled_instant_app_min_cache_period = 290; |
| 359 | optional SettingProto uninstalled_instant_app_max_cache_period = 291; |
| 360 | optional SettingProto unused_static_shared_lib_min_cache_period = 292; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 361 | optional SettingProto allow_user_switching_when_system_user_locked = 269; |
| 362 | optional SettingProto boot_count = 270; |
| 363 | optional SettingProto safe_boot_disallowed = 271; |
| 364 | optional SettingProto device_demo_mode = 272; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 365 | optional SettingProto network_access_timeout_ms = 329; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 366 | optional SettingProto database_downgrade_reason = 274; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 367 | optional SettingProto database_creation_buildid = 330; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 368 | optional SettingProto contacts_database_wal_enabled = 275; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 369 | optional SettingProto location_settings_link_to_permissions_enabled = 331; |
Bernardo Rufino | 728dcea | 2017-11-30 16:17:26 +0000 | [diff] [blame] | 370 | reserved 332; // Removed backup_refactored_service_disabled |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 371 | optional SettingProto euicc_factory_reset_timeout_millis = 333; |
| 372 | optional SettingProto storage_settings_clobber_threshold = 334; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 373 | optional SettingProto multi_sim_voice_call_subscription = 276; |
| 374 | optional SettingProto multi_sim_voice_prompt = 277; |
| 375 | optional SettingProto multi_sim_data_call_subscription = 278; |
| 376 | optional SettingProto multi_sim_sms_subscription = 279; |
| 377 | optional SettingProto multi_sim_sms_prompt = 280; |
| 378 | optional SettingProto new_contact_aggregator = 281; |
| 379 | optional SettingProto contact_metadata_sync_enabled = 282; |
| 380 | optional SettingProto enable_cellular_on_boot = 283; |
| 381 | optional SettingProto max_notification_enqueue_rate = 284; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 382 | optional SettingProto show_notification_channel_warnings = 335; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 383 | optional SettingProto cell_on = 285; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 384 | optional SettingProto show_temperature_warning = 336; |
| 385 | optional SettingProto warning_temperature = 337; |
| 386 | optional SettingProto enable_diskstats_logging = 338; |
| 387 | optional SettingProto enable_cache_quota_calculation = 339; |
| 388 | optional SettingProto enable_deletion_helper_no_threshold_toggle = 340; |
| 389 | optional SettingProto notification_snooze_options = 341; |
gomo | 48f1a64 | 2017-11-10 20:35:46 -0800 | [diff] [blame] | 390 | optional SettingProto enable_gnss_raw_meas_full_tracking = 346; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 391 | |
gomo | 48f1a64 | 2017-11-10 20:35:46 -0800 | [diff] [blame] | 392 | // Next tag = 347; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 393 | } |
| 394 | |
| 395 | message SecureSettingsProto { |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 396 | repeated SettingsOperationProto historical_operations = 1; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 397 | |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 398 | optional SettingProto android_id = 2; |
| 399 | optional SettingProto default_input_method = 3; |
| 400 | optional SettingProto selected_input_method_subtype = 4; |
| 401 | optional SettingProto input_methods_subtype_history = 5; |
| 402 | optional SettingProto input_method_selector_visibility = 6; |
| 403 | optional SettingProto voice_interaction_service = 7; |
| 404 | optional SettingProto autofill_service = 8; |
| 405 | optional SettingProto bluetooth_hci_log = 9; |
| 406 | optional SettingProto user_setup_complete = 10; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 407 | // Whether the current user has been set up via setup wizard (0 = false, |
| 408 | // 1 = true). This value differs from USER_SETUP_COMPLETE in that it can be |
| 409 | // reset back to 0 in case SetupWizard has been re-enabled on TV devices. |
| 410 | optional SettingProto tv_user_setup_complete = 170; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 411 | optional SettingProto completed_category_prefix = 11; |
| 412 | optional SettingProto enabled_input_methods = 12; |
| 413 | optional SettingProto disabled_system_input_methods = 13; |
| 414 | optional SettingProto show_ime_with_hard_keyboard = 14; |
| 415 | optional SettingProto always_on_vpn_app = 15; |
| 416 | optional SettingProto always_on_vpn_lockdown = 16; |
| 417 | optional SettingProto install_non_market_apps = 17; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 418 | optional SettingProto unknown_sources_default_reversed = 171; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 419 | optional SettingProto location_mode = 18; |
| 420 | optional SettingProto location_previous_mode = 19; |
| 421 | optional SettingProto lock_to_app_exit_locked = 20; |
| 422 | optional SettingProto lock_screen_lock_after_timeout = 21; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 423 | optional SettingProto lock_screen_allow_private_notifications = 172; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 424 | optional SettingProto lock_screen_allow_remote_input = 22; |
| 425 | optional SettingProto show_note_about_notification_hiding = 23; |
| 426 | optional SettingProto trust_agents_initialized = 24; |
| 427 | optional SettingProto parental_control_enabled = 25; |
| 428 | optional SettingProto parental_control_last_update = 26; |
| 429 | optional SettingProto parental_control_redirect_url = 27; |
| 430 | optional SettingProto settings_classname = 28; |
| 431 | optional SettingProto accessibility_enabled = 29; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 432 | optional SettingProto accessibility_shortcut_enabled = 173; |
| 433 | optional SettingProto accessibility_shortcut_on_lock_screen = 174; |
| 434 | optional SettingProto accessibility_shortcut_dialog_shown = 175; |
| 435 | optional SettingProto accessibility_shortcut_target_service = 176; |
| 436 | optional SettingProto accessibility_button_target_component = 177; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 437 | optional SettingProto touch_exploration_enabled = 30; |
| 438 | optional SettingProto enabled_accessibility_services = 31; |
| 439 | optional SettingProto touch_exploration_granted_accessibility_services = 32; |
| 440 | optional SettingProto accessibility_speak_password = 33; |
| 441 | optional SettingProto accessibility_high_text_contrast_enabled = 34; |
| 442 | optional SettingProto accessibility_script_injection = 35; |
| 443 | optional SettingProto accessibility_screen_reader_url = 36; |
| 444 | optional SettingProto accessibility_web_content_key_bindings = 37; |
| 445 | optional SettingProto accessibility_display_magnification_enabled = 38; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 446 | optional SettingProto accessibility_display_magnification_navbar_enabled = 178; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 447 | optional SettingProto accessibility_display_magnification_scale = 39; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 448 | optional SettingProto accessibility_display_magnification_auto_update = 179; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 449 | optional SettingProto accessibility_soft_keyboard_mode = 40; |
| 450 | optional SettingProto accessibility_captioning_enabled = 41; |
| 451 | optional SettingProto accessibility_captioning_locale = 42; |
| 452 | optional SettingProto accessibility_captioning_preset = 43; |
| 453 | optional SettingProto accessibility_captioning_background_color = 44; |
| 454 | optional SettingProto accessibility_captioning_foreground_color = 45; |
| 455 | optional SettingProto accessibility_captioning_edge_type = 46; |
| 456 | optional SettingProto accessibility_captioning_edge_color = 47; |
| 457 | optional SettingProto accessibility_captioning_window_color = 48; |
| 458 | optional SettingProto accessibility_captioning_typeface = 49; |
| 459 | optional SettingProto accessibility_captioning_font_scale = 50; |
| 460 | optional SettingProto accessibility_display_inversion_enabled = 51; |
| 461 | optional SettingProto accessibility_display_daltonizer_enabled = 52; |
| 462 | optional SettingProto accessibility_display_daltonizer = 53; |
| 463 | optional SettingProto accessibility_autoclick_enabled = 54; |
| 464 | optional SettingProto accessibility_autoclick_delay = 55; |
| 465 | optional SettingProto accessibility_large_pointer_icon = 56; |
| 466 | optional SettingProto long_press_timeout = 57; |
| 467 | optional SettingProto multi_press_timeout = 58; |
| 468 | optional SettingProto enabled_print_services = 59; |
| 469 | optional SettingProto disabled_print_services = 60; |
| 470 | optional SettingProto display_density_forced = 61; |
| 471 | optional SettingProto tts_default_rate = 62; |
| 472 | optional SettingProto tts_default_pitch = 63; |
| 473 | optional SettingProto tts_default_synth = 64; |
| 474 | optional SettingProto tts_default_locale = 65; |
| 475 | optional SettingProto tts_enabled_plugins = 66; |
| 476 | optional SettingProto connectivity_release_pending_intent_delay_ms = 67; |
| 477 | optional SettingProto allowed_geolocation_origins = 68; |
| 478 | optional SettingProto preferred_tty_mode = 69; |
| 479 | optional SettingProto enhanced_voice_privacy_enabled = 70; |
| 480 | optional SettingProto tty_mode_enabled = 71; |
| 481 | optional SettingProto backup_enabled = 72; |
| 482 | optional SettingProto backup_auto_restore = 73; |
| 483 | optional SettingProto backup_provisioned = 74; |
| 484 | optional SettingProto backup_transport = 75; |
| 485 | optional SettingProto last_setup_shown = 76; |
| 486 | optional SettingProto search_global_search_activity = 77; |
| 487 | optional SettingProto search_num_promoted_sources = 78; |
| 488 | optional SettingProto search_max_results_to_display = 79; |
| 489 | optional SettingProto search_max_results_per_source = 80; |
| 490 | optional SettingProto search_web_results_override_limit = 81; |
| 491 | optional SettingProto search_promoted_source_deadline_millis = 82; |
| 492 | optional SettingProto search_source_timeout_millis = 83; |
| 493 | optional SettingProto search_prefill_millis = 84; |
| 494 | optional SettingProto search_max_stat_age_millis = 85; |
| 495 | optional SettingProto search_max_source_event_age_millis = 86; |
| 496 | optional SettingProto search_min_impressions_for_source_ranking = 87; |
| 497 | optional SettingProto search_min_clicks_for_source_ranking = 88; |
| 498 | optional SettingProto search_max_shortcuts_returned = 89; |
| 499 | optional SettingProto search_query_thread_core_pool_size = 90; |
| 500 | optional SettingProto search_query_thread_max_pool_size = 91; |
| 501 | optional SettingProto search_shortcut_refresh_core_pool_size = 92; |
| 502 | optional SettingProto search_shortcut_refresh_max_pool_size = 93; |
| 503 | optional SettingProto search_thread_keepalive_seconds = 94; |
| 504 | optional SettingProto search_per_source_concurrent_query_limit = 95; |
| 505 | optional SettingProto mount_play_notification_snd = 96; |
| 506 | optional SettingProto mount_ums_autostart = 97; |
| 507 | optional SettingProto mount_ums_prompt = 98; |
| 508 | optional SettingProto mount_ums_notify_enabled = 99; |
| 509 | optional SettingProto anr_show_background = 100; |
| 510 | optional SettingProto voice_recognition_service = 101; |
| 511 | optional SettingProto package_verifier_user_consent = 102; |
| 512 | optional SettingProto selected_spell_checker = 103; |
| 513 | optional SettingProto selected_spell_checker_subtype = 104; |
| 514 | optional SettingProto spell_checker_enabled = 105; |
| 515 | optional SettingProto incall_power_button_behavior = 106; |
| 516 | optional SettingProto incall_back_button_behavior = 107; |
| 517 | optional SettingProto wake_gesture_enabled = 108; |
| 518 | optional SettingProto doze_enabled = 109; |
| 519 | optional SettingProto doze_always_on = 110; |
| 520 | optional SettingProto doze_pulse_on_pick_up = 111; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 521 | optional SettingProto doze_pulse_on_long_press = 180; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 522 | optional SettingProto doze_pulse_on_double_tap = 112; |
| 523 | optional SettingProto ui_night_mode = 113; |
| 524 | optional SettingProto screensaver_enabled = 114; |
| 525 | optional SettingProto screensaver_components = 115; |
| 526 | optional SettingProto screensaver_activate_on_dock = 116; |
| 527 | optional SettingProto screensaver_activate_on_sleep = 117; |
| 528 | optional SettingProto screensaver_default_component = 118; |
| 529 | optional SettingProto nfc_payment_default_component = 119; |
| 530 | optional SettingProto nfc_payment_foreground = 120; |
| 531 | optional SettingProto sms_default_application = 121; |
| 532 | optional SettingProto dialer_default_application = 122; |
| 533 | optional SettingProto emergency_assistance_application = 123; |
| 534 | optional SettingProto assist_structure_enabled = 124; |
| 535 | optional SettingProto assist_screenshot_enabled = 125; |
| 536 | optional SettingProto assist_disclosure_enabled = 126; |
| 537 | optional SettingProto enabled_notification_assistant = 127; |
| 538 | optional SettingProto enabled_notification_listeners = 128; |
| 539 | optional SettingProto enabled_notification_policy_access_packages = 129; |
| 540 | optional SettingProto sync_parent_sounds = 130; |
| 541 | optional SettingProto immersive_mode_confirmations = 131; |
| 542 | optional SettingProto print_service_search_uri = 132; |
| 543 | optional SettingProto payment_service_search_uri = 133; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 544 | optional SettingProto autofill_service_search_uri = 181; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 545 | optional SettingProto skip_first_use_hints = 134; |
| 546 | optional SettingProto unsafe_volume_music_active_ms = 135; |
| 547 | optional SettingProto lock_screen_show_notifications = 136; |
| 548 | optional SettingProto tv_input_hidden_inputs = 137; |
| 549 | optional SettingProto tv_input_custom_labels = 138; |
| 550 | optional SettingProto usb_audio_automatic_routing_disabled = 139; |
| 551 | optional SettingProto sleep_timeout = 140; |
| 552 | optional SettingProto double_tap_to_wake = 141; |
| 553 | optional SettingProto assistant = 142; |
| 554 | optional SettingProto camera_gesture_disabled = 143; |
| 555 | optional SettingProto camera_double_tap_power_gesture_disabled = 144; |
| 556 | optional SettingProto camera_double_twist_to_flip_enabled = 145; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 557 | optional SettingProto camera_lift_trigger_enabled = 182; |
| 558 | optional SettingProto assist_gesture_enabled = 183; |
| 559 | optional SettingProto assist_gesture_sensitivity = 184; |
| 560 | optional SettingProto assist_gesture_silence_alerts_enabled = 185; |
| 561 | optional SettingProto assist_gesture_wake_enabled = 186; |
| 562 | optional SettingProto assist_gesture_setup_complete = 187; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 563 | optional SettingProto night_display_activated = 146; |
| 564 | optional SettingProto night_display_auto_mode = 147; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 565 | optional SettingProto night_display_color_temperature = 188; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 566 | optional SettingProto night_display_custom_start_time = 148; |
| 567 | optional SettingProto night_display_custom_end_time = 149; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 568 | optional SettingProto night_display_last_activated_time = 189; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 569 | optional SettingProto brightness_use_twilight = 150; |
| 570 | optional SettingProto enabled_vr_listeners = 151; |
| 571 | optional SettingProto vr_display_mode = 152; |
| 572 | optional SettingProto carrier_apps_handled = 153; |
| 573 | optional SettingProto managed_profile_contact_remote_search = 154; |
| 574 | optional SettingProto automatic_storage_manager_enabled = 155; |
| 575 | optional SettingProto automatic_storage_manager_days_to_retain = 156; |
| 576 | optional SettingProto automatic_storage_manager_bytes_cleared = 157; |
| 577 | optional SettingProto automatic_storage_manager_last_run = 158; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 578 | optional SettingProto automatic_storage_manager_turned_off_by_policy = 190; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 579 | optional SettingProto system_navigation_keys_enabled = 159; |
| 580 | optional SettingProto downloads_backup_enabled = 160; |
| 581 | optional SettingProto downloads_backup_allow_metered = 161; |
| 582 | optional SettingProto downloads_backup_charging_only = 162; |
| 583 | optional SettingProto automatic_storage_manager_downloads_days_to_retain = 163; |
| 584 | optional SettingProto qs_tiles = 164; |
Christine Franks | 7b76e93 | 2018-01-08 13:40:19 -0800 | [diff] [blame] | 585 | reserved 165; // Removed demo_user_setup_complete |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 586 | optional SettingProto instant_apps_enabled = 166; |
| 587 | optional SettingProto device_paired = 167; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 588 | optional SettingProto package_verifier_state = 191; |
| 589 | optional SettingProto cmas_additional_broadcast_pkg = 192; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 590 | optional SettingProto notification_badging = 168; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 591 | optional SettingProto qs_auto_added_tiles = 193; |
| 592 | optional SettingProto lockdown_in_power_menu = 194; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 593 | optional SettingProto backup_manager_constants = 169; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 594 | |
| 595 | // Next tag = 195 |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 596 | } |
| 597 | |
| 598 | message SystemSettingsProto { |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 599 | repeated SettingsOperationProto historical_operations = 1; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 600 | |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 601 | optional SettingProto end_button_behavior = 2; |
| 602 | optional SettingProto advanced_settings = 3; |
| 603 | optional SettingProto bluetooth_discoverability = 4; |
| 604 | optional SettingProto bluetooth_discoverability_timeout = 5; |
| 605 | optional SettingProto font_scale = 6; |
| 606 | optional SettingProto system_locales = 7; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 607 | optional SettingProto display_color_mode = 67; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 608 | optional SettingProto screen_off_timeout = 8; |
| 609 | optional SettingProto screen_brightness = 9; |
| 610 | optional SettingProto screen_brightness_for_vr = 10; |
| 611 | optional SettingProto screen_brightness_mode = 11; |
| 612 | optional SettingProto screen_auto_brightness_adj = 12; |
| 613 | optional SettingProto mode_ringer_streams_affected = 13; |
| 614 | optional SettingProto mute_streams_affected = 14; |
| 615 | optional SettingProto vibrate_on = 15; |
| 616 | optional SettingProto vibrate_input_devices = 16; |
| 617 | optional SettingProto volume_ring = 17; |
| 618 | optional SettingProto volume_system = 18; |
| 619 | optional SettingProto volume_voice = 19; |
| 620 | optional SettingProto volume_music = 20; |
| 621 | optional SettingProto volume_alarm = 21; |
| 622 | optional SettingProto volume_notification = 22; |
| 623 | optional SettingProto volume_bluetooth_sco = 23; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 624 | optional SettingProto volume_accessibility = 68; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 625 | optional SettingProto volume_master = 24; |
| 626 | optional SettingProto master_mono = 25; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 627 | // Whether silent mode should allow vibration feedback. This is used |
| 628 | // internally in AudioService and the Sound settings activity to coordinate |
| 629 | // decoupling of vibrate and silent modes. This setting will likely be |
| 630 | // removed in a future release with support for audio/vibe feedback |
| 631 | // profiles. |
| 632 | // Not used anymore. On devices with vibrator, the user explicitly selects |
| 633 | // silent or vibrate mode. Kept for use by legacy database upgrade code in |
| 634 | // DatabaseHelper. |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 635 | optional SettingProto vibrate_in_silent = 26; |
| 636 | optional SettingProto append_for_last_audible = 27; |
| 637 | optional SettingProto ringtone = 28; |
| 638 | optional SettingProto ringtone_cache = 29; |
| 639 | optional SettingProto notification_sound = 30; |
| 640 | optional SettingProto notification_sound_cache = 31; |
| 641 | optional SettingProto alarm_alert = 32; |
| 642 | optional SettingProto alarm_alert_cache = 33; |
| 643 | optional SettingProto media_button_receiver = 34; |
| 644 | optional SettingProto text_auto_replace = 35; |
| 645 | optional SettingProto text_auto_caps = 36; |
| 646 | optional SettingProto text_auto_punctuate = 37; |
| 647 | optional SettingProto text_show_password = 38; |
| 648 | optional SettingProto show_gtalk_service_status = 39; |
| 649 | optional SettingProto time_12_24 = 40; |
| 650 | optional SettingProto date_format = 41; |
| 651 | optional SettingProto setup_wizard_has_run = 42; |
| 652 | optional SettingProto accelerometer_rotation = 43; |
| 653 | optional SettingProto user_rotation = 44; |
| 654 | optional SettingProto hide_rotation_lock_toggle_for_accessibility = 45; |
| 655 | optional SettingProto vibrate_when_ringing = 46; |
| 656 | optional SettingProto dtmf_tone_when_dialing = 47; |
| 657 | optional SettingProto dtmf_tone_type_when_dialing = 48; |
| 658 | optional SettingProto hearing_aid = 49; |
| 659 | optional SettingProto tty_mode = 50; |
| 660 | optional SettingProto sound_effects_enabled = 51; |
| 661 | optional SettingProto haptic_feedback_enabled = 52; |
| 662 | optional SettingProto notification_light_pulse = 53; |
| 663 | optional SettingProto pointer_location = 54; |
| 664 | optional SettingProto show_touches = 55; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 665 | // Log raw orientation data from {@link |
| 666 | // com.android.server.policy.WindowOrientationListener} for use with the |
| 667 | // orientationplot.py tool. |
| 668 | // 0 = no, 1 = yes |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 669 | optional SettingProto window_orientation_listener_log = 56; |
| 670 | optional SettingProto lockscreen_sounds_enabled = 57; |
| 671 | optional SettingProto lockscreen_disabled = 58; |
| 672 | optional SettingProto sip_receive_calls = 59; |
| 673 | optional SettingProto sip_call_options = 60; |
| 674 | optional SettingProto sip_always = 61; |
| 675 | optional SettingProto sip_address_only = 62; |
| 676 | optional SettingProto pointer_speed = 63; |
| 677 | optional SettingProto lock_to_app_enabled = 64; |
| 678 | optional SettingProto egg_mode = 65; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 679 | optional SettingProto show_battery_percent = 69; |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 680 | optional SettingProto when_to_make_wifi_calls = 66; |
Kweku Adams | b0886f3 | 2017-10-31 15:32:09 -0700 | [diff] [blame] | 681 | |
| 682 | // Next tag = 70; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 683 | } |
| 684 | |
| 685 | message SettingProto { |
| 686 | // ID of the setting |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 687 | optional string id = 1; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 688 | |
| 689 | // Name of the setting |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 690 | optional string name = 2; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 691 | |
| 692 | // Package name of the setting |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 693 | optional string pkg = 3; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 694 | |
| 695 | // Value of this setting |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 696 | optional string value = 4; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 697 | |
| 698 | // Default value of this setting |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 699 | optional string default_value = 5; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 700 | |
| 701 | // Whether the default is set by the system |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 702 | optional bool default_from_system = 6; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 703 | } |
| 704 | |
Kweku Adams | e6b00c2 | 2017-10-23 16:46:45 -0700 | [diff] [blame] | 705 | message SettingsProto { |
| 706 | // Enum values gotten from Settings.java |
| 707 | enum ScreenBrightnessMode { |
| 708 | SCREEN_BRIGHTNESS_MODE_MANUAL = 0; |
| 709 | SCREEN_BRIGHTNESS_MODE_AUTOMATIC = 1; |
| 710 | } |
| 711 | } |
| 712 | |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 713 | message SettingsOperationProto { |
| 714 | // When the operation happened |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 715 | optional int64 timestamp = 1; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 716 | |
| 717 | // Type of the operation |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 718 | optional string operation = 2; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 719 | |
| 720 | // Name of the setting that was affected (optional) |
Yi Jin | c7f9307 | 2017-09-29 15:29:38 -0700 | [diff] [blame] | 721 | optional string setting = 3; |
Eugene Susla | d72c397 | 2016-12-27 15:49:30 -0800 | [diff] [blame] | 722 | } |