Home | History | Annotate | Download | only in providers
      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 
     17 syntax = "proto3";
     18 
     19 package android.providers.settings;
     20 
     21 option java_multiple_files = true;
     22 option java_outer_classname = "SettingsServiceProto";
     23 
     24 message SettingsServiceDumpProto {
     25     // Per user settings
     26     repeated UserSettingsProto user_settings = 1;
     27 
     28     // Global settings
     29     GlobalSettingsProto global_settings = 2;
     30 }
     31 
     32 message UserSettingsProto {
     33     // Should be 0, 10, 11, 12, etc. where 0 is the owner.
     34     int32 user_id = 1;
     35 
     36     // The secure settings for this user
     37     SecureSettingsProto secure_settings = 2;
     38 
     39     // The system settings for this user
     40     SystemSettingsProto system_settings = 3;
     41 }
     42 
     43 message GlobalSettingsProto {
     44     // Historical operations
     45     repeated SettingsOperationProto historical_op = 1;
     46 
     47     SettingProto add_users_when_locked = 2;
     48     SettingProto enable_accessibility_global_gesture_enabled = 3;
     49     SettingProto airplane_mode_on = 4;
     50     SettingProto theater_mode_on = 5;
     51     SettingProto radio_bluetooth = 6;
     52     SettingProto radio_wifi = 7;
     53     SettingProto radio_wimax = 8;
     54     SettingProto radio_cell = 9;
     55     SettingProto radio_nfc = 10;
     56     SettingProto airplane_mode_radios = 11;
     57     SettingProto airplane_mode_toggleable_radios = 12;
     58     SettingProto bluetooth_disabled_profiles = 13;
     59     SettingProto bluetooth_interoperability_list = 14;
     60     SettingProto wifi_sleep_policy = 15;
     61     SettingProto auto_time = 16;
     62     SettingProto auto_time_zone = 17;
     63     SettingProto car_dock_sound = 18;
     64     SettingProto car_undock_sound = 19;
     65     SettingProto desk_dock_sound = 20;
     66     SettingProto desk_undock_sound = 21;
     67     SettingProto dock_sounds_enabled = 22;
     68     SettingProto dock_sounds_enabled_when_accessibility = 23;
     69     SettingProto lock_sound = 24;
     70     SettingProto unlock_sound = 25;
     71     SettingProto trusted_sound = 26;
     72     SettingProto low_battery_sound = 27;
     73     SettingProto power_sounds_enabled = 28;
     74     SettingProto wireless_charging_started_sound = 29;
     75     SettingProto charging_sounds_enabled = 30;
     76     SettingProto stay_on_while_plugged_in = 31;
     77     SettingProto bugreport_in_power_menu = 32;
     78     SettingProto adb_enabled = 33;
     79     SettingProto debug_view_attributes = 34;
     80     SettingProto assisted_gps_enabled = 35;
     81     SettingProto bluetooth_on = 36;
     82     SettingProto cdma_cell_broadcast_sms = 37;
     83     SettingProto cdma_roaming_mode = 38;
     84     SettingProto cdma_subscription_mode = 39;
     85     SettingProto data_activity_timeout_mobile = 40;
     86     SettingProto data_activity_timeout_wifi = 41;
     87     SettingProto data_roaming = 42;
     88     SettingProto mdc_initial_max_retry = 43;
     89     SettingProto force_allow_on_external = 44;
     90     SettingProto development_force_resizable_activities = 45;
     91     SettingProto development_enable_freeform_windows_support = 46;
     92     SettingProto development_settings_enabled = 47;
     93     SettingProto device_provisioned = 48;
     94     SettingProto device_provisioning_mobile_data_enabled = 49;
     95     SettingProto display_size_forced = 50;
     96     SettingProto display_scaling_force = 51;
     97     SettingProto download_max_bytes_over_mobile = 52;
     98     SettingProto download_recommended_max_bytes_over_mobile = 53;
     99     SettingProto hdmi_control_enabled = 54;
    100     SettingProto hdmi_system_audio_control_enabled = 55;
    101     SettingProto hdmi_control_auto_wakeup_enabled = 56;
    102     SettingProto hdmi_control_auto_device_off_enabled = 57;
    103     SettingProto mhl_input_switching_enabled = 58;
    104     SettingProto mhl_power_charge_enabled = 59;
    105     SettingProto mobile_data = 60;
    106     SettingProto mobile_data_always_on = 61;
    107     SettingProto connectivity_metrics_buffer_size = 62;
    108     SettingProto netstats_enabled = 63;
    109     SettingProto netstats_poll_interval = 64;
    110     SettingProto netstats_time_cache_max_age = 65;
    111     SettingProto netstats_global_alert_bytes = 66;
    112     SettingProto netstats_sample_enabled = 67;
    113     SettingProto netstats_dev_bucket_duration = 68;
    114     SettingProto netstats_dev_persist_bytes = 69;
    115     SettingProto netstats_dev_rotate_age = 70;
    116     SettingProto netstats_dev_delete_age = 71;
    117     SettingProto netstats_uid_bucket_duration = 72;
    118     SettingProto netstats_uid_persist_bytes = 73;
    119     SettingProto netstats_uid_rotate_age = 74;
    120     SettingProto netstats_uid_delete_age = 75;
    121     SettingProto netstats_uid_tag_bucket_duration = 76;
    122     SettingProto netstats_uid_tag_persist_bytes = 77;
    123     SettingProto netstats_uid_tag_rotate_age = 78;
    124     SettingProto netstats_uid_tag_delete_age = 79;
    125     SettingProto network_preference = 80;
    126     SettingProto network_scorer_app = 81;
    127     SettingProto nitz_update_diff = 82;
    128     SettingProto nitz_update_spacing = 83;
    129     SettingProto ntp_server = 84;
    130     SettingProto ntp_timeout = 85;
    131     SettingProto storage_benchmark_interval = 86;
    132     SettingProto dns_resolver_sample_validity_seconds = 87;
    133     SettingProto dns_resolver_success_threshold_percent = 88;
    134     SettingProto dns_resolver_min_samples = 89;
    135     SettingProto dns_resolver_max_samples = 90;
    136     SettingProto ota_disable_automatic_update = 91;
    137     SettingProto package_verifier_enable = 92;
    138     SettingProto package_verifier_timeout = 93;
    139     SettingProto package_verifier_default_response = 94;
    140     SettingProto package_verifier_setting_visible = 95;
    141     SettingProto package_verifier_include_adb = 96;
    142     SettingProto fstrim_mandatory_interval = 97;
    143     SettingProto pdp_watchdog_poll_interval_ms = 98;
    144     SettingProto pdp_watchdog_long_poll_interval_ms = 99;
    145     SettingProto pdp_watchdog_error_poll_interval_ms = 100;
    146     SettingProto pdp_watchdog_trigger_packet_count = 101;
    147     SettingProto pdp_watchdog_error_poll_count = 102;
    148     SettingProto pdp_watchdog_max_pdp_reset_fail_count = 103;
    149     SettingProto sampling_profiler_ms = 104;
    150     SettingProto setup_prepaid_data_service_url = 105;
    151     SettingProto setup_prepaid_detection_target_url = 106;
    152     SettingProto setup_prepaid_detection_redir_host = 107;
    153     SettingProto sms_outgoing_check_interval_ms = 108;
    154     SettingProto sms_outgoing_check_max_count = 109;
    155     SettingProto sms_short_code_confirmation = 110;
    156     SettingProto sms_short_code_rule = 111;
    157     SettingProto tcp_default_init_rwnd = 112;
    158     SettingProto tether_supported = 113;
    159     SettingProto tether_dun_required = 114;
    160     SettingProto tether_dun_apn = 115;
    161     SettingProto carrier_app_whitelist = 116;
    162     SettingProto usb_mass_storage_enabled = 117;
    163     SettingProto use_google_mail = 118;
    164     SettingProto webview_data_reduction_proxy_key = 119;
    165     SettingProto webview_fallback_logic_enabled = 120;
    166     SettingProto webview_provider = 121;
    167     SettingProto webview_multiprocess = 122;
    168     SettingProto network_switch_notification_daily_limit = 123;
    169     SettingProto network_switch_notification_rate_limit_millis = 124;
    170     SettingProto network_avoid_bad_wifi = 125;
    171     SettingProto wifi_display_on = 126;
    172     SettingProto wifi_display_certification_on = 127;
    173     SettingProto wifi_display_wps_config = 128;
    174     SettingProto wifi_networks_available_notification_on = 129;
    175     SettingProto wimax_networks_available_notification_on = 130;
    176     SettingProto wifi_networks_available_repeat_delay = 131;
    177     SettingProto wifi_country_code = 132;
    178     SettingProto wifi_framework_scan_interval_ms = 133;
    179     SettingProto wifi_idle_ms = 134;
    180     SettingProto wifi_num_open_networks_kept = 135;
    181     SettingProto wifi_on = 136;
    182     SettingProto wifi_scan_always_available = 137;
    183     SettingProto wifi_wakeup_enabled = 138;
    184     SettingProto network_recommendations_enabled = 139;
    185     SettingProto ble_scan_always_available = 140;
    186     SettingProto wifi_saved_state = 141;
    187     SettingProto wifi_supplicant_scan_interval_ms = 142;
    188     SettingProto wifi_enhanced_auto_join = 143;
    189     SettingProto wifi_network_show_rssi = 144;
    190     SettingProto wifi_scan_interval_when_p2p_connected_ms = 145;
    191     SettingProto wifi_watchdog_on = 146;
    192     SettingProto wifi_watchdog_poor_network_test_enabled = 147;
    193     SettingProto wifi_suspend_optimizations_enabled = 148;
    194     SettingProto wifi_verbose_logging_enabled = 149;
    195     SettingProto wifi_max_dhcp_retry_count = 150;
    196     SettingProto wifi_mobile_data_transition_wakelock_timeout_ms = 151;
    197     SettingProto wifi_device_owner_configs_lockdown = 152;
    198     SettingProto wifi_frequency_band = 153;
    199     SettingProto wifi_p2p_device_name = 154;
    200     SettingProto wifi_reenable_delay_ms = 155;
    201     SettingProto wifi_ephemeral_out_of_range_timeout_ms = 156;
    202     SettingProto data_stall_alarm_non_aggressive_delay_in_ms = 157;
    203     SettingProto data_stall_alarm_aggressive_delay_in_ms = 158;
    204     SettingProto provisioning_apn_alarm_delay_in_ms = 159;
    205     SettingProto gprs_register_check_period_ms = 160;
    206     SettingProto wtf_is_fatal = 161;
    207     SettingProto mode_ringer = 162;
    208     SettingProto overlay_display_devices = 163;
    209     SettingProto battery_discharge_duration_threshold = 164;
    210     SettingProto battery_discharge_threshold = 165;
    211     SettingProto send_action_app_error = 166;
    212     SettingProto dropbox_age_seconds = 167;
    213     SettingProto dropbox_max_files = 168;
    214     SettingProto dropbox_quota_kb = 169;
    215     SettingProto dropbox_quota_percent = 170;
    216     SettingProto dropbox_reserve_percent = 171;
    217     SettingProto dropbox_tag_prefix = 172;
    218     SettingProto error_logcat_prefix = 173;
    219     SettingProto sys_free_storage_log_interval = 174;
    220     SettingProto disk_free_change_reporting_threshold = 175;
    221     SettingProto sys_storage_threshold_percentage = 176;
    222     SettingProto sys_storage_threshold_max_bytes = 177;
    223     SettingProto sys_storage_full_threshold_bytes = 178;
    224     SettingProto sync_max_retry_delay_in_seconds = 179;
    225     SettingProto connectivity_change_delay = 180;
    226     SettingProto connectivity_sampling_interval_in_seconds = 181;
    227     SettingProto pac_change_delay = 182;
    228     SettingProto captive_portal_mode = 183;
    229     SettingProto captive_portal_server = 184;
    230     SettingProto captive_portal_https_url = 185;
    231     SettingProto captive_portal_http_url = 186;
    232     SettingProto captive_portal_fallback_url = 187;
    233     SettingProto captive_portal_use_https = 188;
    234     SettingProto captive_portal_user_agent = 189;
    235     SettingProto nsd_on = 190;
    236     SettingProto set_install_location = 191;
    237     SettingProto default_install_location = 192;
    238     SettingProto inet_condition_debounce_up_delay = 193;
    239     SettingProto inet_condition_debounce_down_delay = 194;
    240     SettingProto read_external_storage_enforced_default = 195;
    241     SettingProto http_proxy = 196;
    242     SettingProto global_http_proxy_host = 197;
    243     SettingProto global_http_proxy_port = 198;
    244     SettingProto global_http_proxy_exclusion_list = 199;
    245     SettingProto global_http_proxy_pac = 200;
    246     SettingProto set_global_http_proxy = 201;
    247     SettingProto default_dns_server = 202;
    248     SettingProto bluetooth_headset_priority_prefix = 203;
    249     SettingProto bluetooth_a2dp_sink_priority_prefix = 204;
    250     SettingProto bluetooth_a2dp_src_priority_prefix = 205;
    251     SettingProto bluetooth_input_device_priority_prefix = 206;
    252     SettingProto bluetooth_map_priority_prefix = 207;
    253     SettingProto bluetooth_map_client_priority_prefix = 208;
    254     SettingProto bluetooth_pbap_client_priority_prefix = 209;
    255     SettingProto bluetooth_sap_priority_prefix = 210;
    256     SettingProto bluetooth_pan_priority_prefix = 211;
    257     SettingProto device_idle_constants = 212;
    258     SettingProto device_idle_constants_watch = 213;
    259     SettingProto app_idle_constants = 214;
    260     SettingProto alarm_manager_constants = 215;
    261     SettingProto job_scheduler_constants = 216;
    262     SettingProto shortcut_manager_constants = 217;
    263     SettingProto window_animation_scale = 218;
    264     SettingProto transition_animation_scale = 219;
    265     SettingProto animator_duration_scale = 220;
    266     SettingProto fancy_ime_animations = 221;
    267     SettingProto compatibility_mode = 222;
    268     SettingProto emergency_tone = 223;
    269     SettingProto call_auto_retry = 224;
    270     SettingProto emergency_affordance_needed = 225;
    271     SettingProto preferred_network_mode = 226;
    272     SettingProto debug_app = 227;
    273     SettingProto wait_for_debugger = 228;
    274     SettingProto low_power_mode = 229;
    275     SettingProto low_power_mode_trigger_level = 230;
    276     SettingProto always_finish_activities = 231;
    277     SettingProto dock_audio_media_enabled = 232;
    278     SettingProto encoded_surround_output = 233;
    279     SettingProto audio_safe_volume_state = 234;
    280     SettingProto tzinfo_update_content_url = 235;
    281     SettingProto tzinfo_update_metadata_url = 236;
    282     SettingProto selinux_update_content_url = 237;
    283     SettingProto selinux_update_metadata_url = 238;
    284     SettingProto sms_short_codes_update_content_url = 239;
    285     SettingProto sms_short_codes_update_metadata_url = 240;
    286     SettingProto apn_db_update_content_url = 241;
    287     SettingProto apn_db_update_metadata_url = 242;
    288     SettingProto cert_pin_update_content_url = 243;
    289     SettingProto cert_pin_update_metadata_url = 244;
    290     SettingProto intent_firewall_update_content_url = 245;
    291     SettingProto intent_firewall_update_metadata_url = 246;
    292     SettingProto selinux_status = 247;
    293     SettingProto development_force_rtl = 248;
    294     SettingProto low_battery_sound_timeout = 249;
    295     SettingProto wifi_bounce_delay_override_ms = 250;
    296     SettingProto policy_control = 251;
    297     SettingProto zen_mode = 252;
    298     SettingProto zen_mode_ringer_level = 253;
    299     SettingProto zen_mode_config_etag = 254;
    300     SettingProto heads_up_notifications_enabled = 255;
    301     SettingProto device_name = 256;
    302     SettingProto network_scoring_provisioned = 257;
    303     SettingProto require_password_to_decrypt = 258;
    304     SettingProto enhanced_4g_mode_enabled = 259;
    305     SettingProto vt_ims_enabled = 260;
    306     SettingProto wfc_ims_enabled = 261;
    307     SettingProto wfc_ims_mode = 262;
    308     SettingProto wfc_ims_roaming_mode = 263;
    309     SettingProto wfc_ims_roaming_enabled = 264;
    310     SettingProto lte_service_forced = 265;
    311     SettingProto ephemeral_cookie_max_size_bytes = 266;
    312     SettingProto enable_ephemeral_feature = 267;
    313     SettingProto installed_instant_app_min_cache_period = 268;
    314     SettingProto allow_user_switching_when_system_user_locked = 269;
    315     SettingProto boot_count = 270;
    316     SettingProto safe_boot_disallowed = 271;
    317     SettingProto device_demo_mode = 272;
    318     SettingProto database_downgrade_reason = 274;
    319     SettingProto contacts_database_wal_enabled = 275;
    320     SettingProto multi_sim_voice_call_subscription = 276;
    321     SettingProto multi_sim_voice_prompt = 277;
    322     SettingProto multi_sim_data_call_subscription = 278;
    323     SettingProto multi_sim_sms_subscription = 279;
    324     SettingProto multi_sim_sms_prompt = 280;
    325     SettingProto new_contact_aggregator = 281;
    326     SettingProto contact_metadata_sync_enabled = 282;
    327     SettingProto enable_cellular_on_boot = 283;
    328     SettingProto max_notification_enqueue_rate = 284;
    329     SettingProto cell_on = 285;
    330     SettingProto network_recommendations_package = 286;
    331     SettingProto bluetooth_a2dp_supports_optional_codecs_prefix = 287;
    332     SettingProto bluetooth_a2dp_optional_codecs_enabled_prefix = 288;
    333     SettingProto installed_instant_app_max_cache_period = 289;
    334     SettingProto uninstalled_instant_app_min_cache_period = 290;
    335     SettingProto uninstalled_instant_app_max_cache_period = 291;
    336     SettingProto unused_static_shared_lib_min_cache_period = 292;
    337 }
    338 
    339 message SecureSettingsProto {
    340     // Historical operations
    341     repeated SettingsOperationProto historical_op = 1;
    342 
    343     SettingProto android_id = 2;
    344     SettingProto default_input_method = 3;
    345     SettingProto selected_input_method_subtype = 4;
    346     SettingProto input_methods_subtype_history = 5;
    347     SettingProto input_method_selector_visibility = 6;
    348     SettingProto voice_interaction_service = 7;
    349     SettingProto autofill_service = 8;
    350     SettingProto bluetooth_hci_log = 9;
    351     SettingProto user_setup_complete = 10;
    352     SettingProto completed_category_prefix = 11;
    353     SettingProto enabled_input_methods = 12;
    354     SettingProto disabled_system_input_methods = 13;
    355     SettingProto show_ime_with_hard_keyboard = 14;
    356     SettingProto always_on_vpn_app = 15;
    357     SettingProto always_on_vpn_lockdown = 16;
    358     SettingProto install_non_market_apps = 17;
    359     SettingProto location_mode = 18;
    360     SettingProto location_previous_mode = 19;
    361     SettingProto lock_to_app_exit_locked = 20;
    362     SettingProto lock_screen_lock_after_timeout = 21;
    363     SettingProto lock_screen_allow_remote_input = 22;
    364     SettingProto show_note_about_notification_hiding = 23;
    365     SettingProto trust_agents_initialized = 24;
    366     SettingProto parental_control_enabled = 25;
    367     SettingProto parental_control_last_update = 26;
    368     SettingProto parental_control_redirect_url = 27;
    369     SettingProto settings_classname = 28;
    370     SettingProto accessibility_enabled = 29;
    371     SettingProto touch_exploration_enabled = 30;
    372     SettingProto enabled_accessibility_services = 31;
    373     SettingProto touch_exploration_granted_accessibility_services = 32;
    374     SettingProto accessibility_speak_password = 33;
    375     SettingProto accessibility_high_text_contrast_enabled = 34;
    376     SettingProto accessibility_script_injection = 35;
    377     SettingProto accessibility_screen_reader_url = 36;
    378     SettingProto accessibility_web_content_key_bindings = 37;
    379     SettingProto accessibility_display_magnification_enabled = 38;
    380     SettingProto accessibility_display_magnification_scale = 39;
    381     SettingProto accessibility_soft_keyboard_mode = 40;
    382     SettingProto accessibility_captioning_enabled = 41;
    383     SettingProto accessibility_captioning_locale = 42;
    384     SettingProto accessibility_captioning_preset = 43;
    385     SettingProto accessibility_captioning_background_color = 44;
    386     SettingProto accessibility_captioning_foreground_color = 45;
    387     SettingProto accessibility_captioning_edge_type = 46;
    388     SettingProto accessibility_captioning_edge_color = 47;
    389     SettingProto accessibility_captioning_window_color = 48;
    390     SettingProto accessibility_captioning_typeface = 49;
    391     SettingProto accessibility_captioning_font_scale = 50;
    392     SettingProto accessibility_display_inversion_enabled = 51;
    393     SettingProto accessibility_display_daltonizer_enabled = 52;
    394     SettingProto accessibility_display_daltonizer = 53;
    395     SettingProto accessibility_autoclick_enabled = 54;
    396     SettingProto accessibility_autoclick_delay = 55;
    397     SettingProto accessibility_large_pointer_icon = 56;
    398     SettingProto long_press_timeout = 57;
    399     SettingProto multi_press_timeout = 58;
    400     SettingProto enabled_print_services = 59;
    401     SettingProto disabled_print_services = 60;
    402     SettingProto display_density_forced = 61;
    403     SettingProto tts_default_rate = 62;
    404     SettingProto tts_default_pitch = 63;
    405     SettingProto tts_default_synth = 64;
    406     SettingProto tts_default_locale = 65;
    407     SettingProto tts_enabled_plugins = 66;
    408     SettingProto connectivity_release_pending_intent_delay_ms = 67;
    409     SettingProto allowed_geolocation_origins = 68;
    410     SettingProto preferred_tty_mode = 69;
    411     SettingProto enhanced_voice_privacy_enabled = 70;
    412     SettingProto tty_mode_enabled = 71;
    413     SettingProto backup_enabled = 72;
    414     SettingProto backup_auto_restore = 73;
    415     SettingProto backup_provisioned = 74;
    416     SettingProto backup_transport = 75;
    417     SettingProto last_setup_shown = 76;
    418     SettingProto search_global_search_activity = 77;
    419     SettingProto search_num_promoted_sources = 78;
    420     SettingProto search_max_results_to_display = 79;
    421     SettingProto search_max_results_per_source = 80;
    422     SettingProto search_web_results_override_limit = 81;
    423     SettingProto search_promoted_source_deadline_millis = 82;
    424     SettingProto search_source_timeout_millis = 83;
    425     SettingProto search_prefill_millis = 84;
    426     SettingProto search_max_stat_age_millis = 85;
    427     SettingProto search_max_source_event_age_millis = 86;
    428     SettingProto search_min_impressions_for_source_ranking = 87;
    429     SettingProto search_min_clicks_for_source_ranking = 88;
    430     SettingProto search_max_shortcuts_returned = 89;
    431     SettingProto search_query_thread_core_pool_size = 90;
    432     SettingProto search_query_thread_max_pool_size = 91;
    433     SettingProto search_shortcut_refresh_core_pool_size = 92;
    434     SettingProto search_shortcut_refresh_max_pool_size = 93;
    435     SettingProto search_thread_keepalive_seconds = 94;
    436     SettingProto search_per_source_concurrent_query_limit = 95;
    437     SettingProto mount_play_notification_snd = 96;
    438     SettingProto mount_ums_autostart = 97;
    439     SettingProto mount_ums_prompt = 98;
    440     SettingProto mount_ums_notify_enabled = 99;
    441     SettingProto anr_show_background = 100;
    442     SettingProto voice_recognition_service = 101;
    443     SettingProto package_verifier_user_consent = 102;
    444     SettingProto selected_spell_checker = 103;
    445     SettingProto selected_spell_checker_subtype = 104;
    446     SettingProto spell_checker_enabled = 105;
    447     SettingProto incall_power_button_behavior = 106;
    448     SettingProto incall_back_button_behavior = 107;
    449     SettingProto wake_gesture_enabled = 108;
    450     SettingProto doze_enabled = 109;
    451     SettingProto doze_always_on = 110;
    452     SettingProto doze_pulse_on_pick_up = 111;
    453     SettingProto doze_pulse_on_double_tap = 112;
    454     SettingProto ui_night_mode = 113;
    455     SettingProto screensaver_enabled = 114;
    456     SettingProto screensaver_components = 115;
    457     SettingProto screensaver_activate_on_dock = 116;
    458     SettingProto screensaver_activate_on_sleep = 117;
    459     SettingProto screensaver_default_component = 118;
    460     SettingProto nfc_payment_default_component = 119;
    461     SettingProto nfc_payment_foreground = 120;
    462     SettingProto sms_default_application = 121;
    463     SettingProto dialer_default_application = 122;
    464     SettingProto emergency_assistance_application = 123;
    465     SettingProto assist_structure_enabled = 124;
    466     SettingProto assist_screenshot_enabled = 125;
    467     SettingProto assist_disclosure_enabled = 126;
    468     SettingProto enabled_notification_assistant = 127;
    469     SettingProto enabled_notification_listeners = 128;
    470     SettingProto enabled_notification_policy_access_packages = 129;
    471     SettingProto sync_parent_sounds = 130;
    472     SettingProto immersive_mode_confirmations = 131;
    473     SettingProto print_service_search_uri = 132;
    474     SettingProto payment_service_search_uri = 133;
    475     SettingProto skip_first_use_hints = 134;
    476     SettingProto unsafe_volume_music_active_ms = 135;
    477     SettingProto lock_screen_show_notifications = 136;
    478     SettingProto tv_input_hidden_inputs = 137;
    479     SettingProto tv_input_custom_labels = 138;
    480     SettingProto usb_audio_automatic_routing_disabled = 139;
    481     SettingProto sleep_timeout = 140;
    482     SettingProto double_tap_to_wake = 141;
    483     SettingProto assistant = 142;
    484     SettingProto camera_gesture_disabled = 143;
    485     SettingProto camera_double_tap_power_gesture_disabled = 144;
    486     SettingProto camera_double_twist_to_flip_enabled = 145;
    487     SettingProto night_display_activated = 146;
    488     SettingProto night_display_auto_mode = 147;
    489     SettingProto night_display_custom_start_time = 148;
    490     SettingProto night_display_custom_end_time = 149;
    491     SettingProto brightness_use_twilight = 150;
    492     SettingProto enabled_vr_listeners = 151;
    493     SettingProto vr_display_mode = 152;
    494     SettingProto carrier_apps_handled = 153;
    495     SettingProto managed_profile_contact_remote_search = 154;
    496     SettingProto automatic_storage_manager_enabled = 155;
    497     SettingProto automatic_storage_manager_days_to_retain = 156;
    498     SettingProto automatic_storage_manager_bytes_cleared = 157;
    499     SettingProto automatic_storage_manager_last_run = 158;
    500     SettingProto system_navigation_keys_enabled = 159;
    501     SettingProto downloads_backup_enabled = 160;
    502     SettingProto downloads_backup_allow_metered = 161;
    503     SettingProto downloads_backup_charging_only = 162;
    504     SettingProto automatic_storage_manager_downloads_days_to_retain = 163;
    505     SettingProto qs_tiles = 164;
    506     SettingProto demo_user_setup_complete = 165;
    507     SettingProto instant_apps_enabled = 166;
    508     SettingProto device_paired = 167;
    509     SettingProto notification_badging = 168;
    510 }
    511 
    512 message SystemSettingsProto {
    513     // Historical operations
    514     repeated SettingsOperationProto historical_op = 1;
    515 
    516     SettingProto end_button_behavior = 2;
    517     SettingProto advanced_settings = 3;
    518     SettingProto bluetooth_discoverability = 4;
    519     SettingProto bluetooth_discoverability_timeout = 5;
    520     SettingProto font_scale = 6;
    521     SettingProto system_locales = 7;
    522     SettingProto screen_off_timeout = 8;
    523     SettingProto screen_brightness = 9;
    524     SettingProto screen_brightness_for_vr = 10;
    525     SettingProto screen_brightness_mode = 11;
    526     SettingProto screen_auto_brightness_adj = 12;
    527     SettingProto mode_ringer_streams_affected = 13;
    528     SettingProto mute_streams_affected = 14;
    529     SettingProto vibrate_on = 15;
    530     SettingProto vibrate_input_devices = 16;
    531     SettingProto volume_ring = 17;
    532     SettingProto volume_system = 18;
    533     SettingProto volume_voice = 19;
    534     SettingProto volume_music = 20;
    535     SettingProto volume_alarm = 21;
    536     SettingProto volume_notification = 22;
    537     SettingProto volume_bluetooth_sco = 23;
    538     SettingProto volume_master = 24;
    539     SettingProto master_mono = 25;
    540     SettingProto vibrate_in_silent = 26;
    541     SettingProto append_for_last_audible = 27;
    542     SettingProto ringtone = 28;
    543     SettingProto ringtone_cache = 29;
    544     SettingProto notification_sound = 30;
    545     SettingProto notification_sound_cache = 31;
    546     SettingProto alarm_alert = 32;
    547     SettingProto alarm_alert_cache = 33;
    548     SettingProto media_button_receiver = 34;
    549     SettingProto text_auto_replace = 35;
    550     SettingProto text_auto_caps = 36;
    551     SettingProto text_auto_punctuate = 37;
    552     SettingProto text_show_password = 38;
    553     SettingProto show_gtalk_service_status = 39;
    554     SettingProto time_12_24 = 40;
    555     SettingProto date_format = 41;
    556     SettingProto setup_wizard_has_run = 42;
    557     SettingProto accelerometer_rotation = 43;
    558     SettingProto user_rotation = 44;
    559     SettingProto hide_rotation_lock_toggle_for_accessibility = 45;
    560     SettingProto vibrate_when_ringing = 46;
    561     SettingProto dtmf_tone_when_dialing = 47;
    562     SettingProto dtmf_tone_type_when_dialing = 48;
    563     SettingProto hearing_aid = 49;
    564     SettingProto tty_mode = 50;
    565     SettingProto sound_effects_enabled = 51;
    566     SettingProto haptic_feedback_enabled = 52;
    567     SettingProto notification_light_pulse = 53;
    568     SettingProto pointer_location = 54;
    569     SettingProto show_touches = 55;
    570     SettingProto window_orientation_listener_log = 56;
    571     SettingProto lockscreen_sounds_enabled = 57;
    572     SettingProto lockscreen_disabled = 58;
    573     SettingProto sip_receive_calls = 59;
    574     SettingProto sip_call_options = 60;
    575     SettingProto sip_always = 61;
    576     SettingProto sip_address_only = 62;
    577     SettingProto pointer_speed = 63;
    578     SettingProto lock_to_app_enabled = 64;
    579     SettingProto egg_mode = 65;
    580     SettingProto when_to_make_wifi_calls = 66;
    581 }
    582 
    583 message SettingProto {
    584     // ID of the setting
    585     string id = 1;
    586 
    587     // Name of the setting
    588     string name = 2;
    589 
    590     // Package name of the setting
    591     string pkg = 3;
    592 
    593     // Value of this setting
    594     string value = 4;
    595 
    596     // Default value of this setting
    597     string default_value = 5;
    598 
    599     // Whether the default is set by the system
    600     bool default_from_system = 6;
    601 }
    602 
    603 message SettingsOperationProto {
    604     // When the operation happened
    605     int64 timestamp = 1;
    606 
    607     // Type of the operation
    608     string operation = 2;
    609 
    610     // Name of the setting that was affected (optional)
    611     string setting = 3;
    612 }
    613