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