Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2008 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 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
     18                   xmlns:settings="http://schemas.android.com/apk/res-auto"
     19                   android:key="development_prefs_screen"
     20                   android:title="@string/development_settings_title">
     21 
     22     <PreferenceCategory
     23         android:key="debug_misc_category"
     24         android:order="100">
     25 
     26         <Preference
     27             android:key="memory"
     28             android:icon="@drawable/ic_settings_memory"
     29             android:title="@string/memory_settings_title"
     30             android:summary="@string/summary_placeholder"
     31             android:fragment="com.android.settings.applications.ProcessStatsSummary" />
     32 
     33         <com.android.settings.BugreportPreference
     34             android:key="bugreport"
     35             android:title="@*android:string/bugreport_title"
     36             android:dialogTitle="@*android:string/bugreport_title" />
     37 
     38         <Preference
     39             android:key="local_backup_password"
     40             android:title="@string/local_backup_password_title"
     41             android:summary="@string/local_backup_password_summary_none"
     42             android:persistent="false">
     43             <intent
     44                 android:action="android.settings.privacy.SET_FULL_BACKUP_PASSWORD"
     45                 android:targetPackage="com.android.settings"
     46                 android:targetClass="com.android.settings.SetFullBackupPassword" />
     47         </Preference>
     48 
     49         <com.android.settingslib.RestrictedSwitchPreference
     50             android:key="keep_screen_on"
     51             android:title="@string/keep_screen_on"
     52             android:summary="@string/keep_screen_on_summary"
     53             settings:useAdditionalSummary="true" />
     54 
     55         <ListPreference
     56             android:key="hdcp_checking"
     57             android:title="@string/hdcp_checking_title"
     58             android:dialogTitle="@string/hdcp_checking_dialog_title"
     59             android:entries="@array/hdcp_checking_titles"
     60             android:entryValues="@array/hdcp_checking_values" />
     61 
     62         <SwitchPreference
     63             android:key="bt_hci_snoop_log"
     64             android:title="@string/bt_hci_snoop_log"
     65             android:summary="@string/bt_hci_snoop_log_summary" />
     66 
     67         <com.android.settingslib.RestrictedSwitchPreference
     68             android:key="oem_unlock_enable"
     69             android:title="@string/oem_unlock_enable"
     70             android:summary="@string/oem_unlock_enable_summary"
     71             settings:useAdditionalSummary="true" />
     72 
     73         <Preference
     74             android:key="running_apps"
     75             android:title="@string/runningservices_settings_title"
     76             android:summary="@string/runningservices_settings_summary"
     77             android:fragment="com.android.settings.applications.RunningServices" />
     78 
     79         <Preference
     80             android:key="convert_to_file_encryption"
     81             android:title="@string/convert_to_file_encryption"
     82             android:summary="@string/convert_to_file_encryption_enabled"
     83             android:fragment="com.android.settings.applications.ConvertToFbe" />
     84 
     85         <com.android.settings.development.ColorModePreference
     86             android:key="picture_color_mode"
     87             android:title="@string/picture_color_mode"
     88             android:summary="@string/picture_color_mode_desc" />
     89 
     90         <Preference android:key="select_webview_provider"
     91                     android:title="@string/select_webview_provider_title"
     92                     android:dialogTitle="@string/select_webview_provider_dialog_title"
     93                     android:fragment="com.android.settings.webview.WebViewAppPicker" />
     94 
     95         <SwitchPreference
     96             android:key="color_temperature"
     97             android:title="@string/color_temperature"
     98             android:summary="@string/color_temperature_desc" />
     99 
    100         <SwitchPreference
    101             android:key="ota_disable_automatic_update"
    102             android:title="@string/ota_disable_automatic_update"
    103             android:summary="@string/ota_disable_automatic_update_summary" />
    104 
    105         <Preference
    106             android:key="demo_mode"
    107             android:title="@string/demo_mode">
    108             <intent android:action="com.android.settings.action.DEMO_MODE" />
    109         </Preference>
    110 
    111         <ListPreference
    112             android:key="dark_ui_mode"
    113             android:title="@string/dark_ui_mode"
    114             android:dialogTitle="@string/dark_ui_mode_title"
    115             android:entries="@array/dark_ui_mode_entries"
    116             android:entryValues="@array/dark_ui_mode_values" />
    117 
    118         <Preference
    119             android:key="quick_settings_tiles"
    120             android:title="@string/quick_settings_developer_tiles"
    121             android:fragment="com.android.settings.development.qstile.DevelopmentTileConfigFragment" />
    122     </PreferenceCategory>
    123 
    124     <PreferenceCategory
    125         android:key="debug_debugging_category"
    126         android:title="@string/debug_debugging_category"
    127         android:order="200">
    128 
    129         <SwitchPreference
    130             android:key="enable_adb"
    131             android:title="@string/enable_adb"
    132             android:summary="@string/enable_adb_summary" />
    133 
    134         <Preference android:key="clear_adb_keys"
    135                     android:title="@string/clear_adb_keys" />
    136 
    137         <SwitchPreference
    138             android:key="enable_terminal"
    139             android:title="@string/enable_terminal_title"
    140             android:summary="@string/enable_terminal_summary" />
    141 
    142         <SwitchPreference
    143             android:key="bugreport_in_power"
    144             android:title="@string/bugreport_in_power"
    145             android:summary="@string/bugreport_in_power_summary" />
    146 
    147         <Preference android:key="mock_location_app"
    148                     android:title="@string/mock_location_app" />
    149 
    150         <SwitchPreference
    151             android:key="enable_gnss_raw_meas_full_tracking"
    152             android:title="@string/enable_gnss_raw_meas_full_tracking"
    153             android:summary="@string/enable_gnss_raw_meas_full_tracking_summary" />
    154 
    155         <SwitchPreference
    156             android:key="debug_view_attributes"
    157             android:title="@string/debug_view_attributes" />
    158 
    159         <Preference android:key="debug_app"
    160                     android:title="@string/debug_app" />
    161 
    162         <SwitchPreference
    163             android:key="wait_for_debugger"
    164             android:title="@string/wait_for_debugger"
    165             android:summary="@string/wait_for_debugger_summary" />
    166 
    167         <com.android.settingslib.RestrictedSwitchPreference
    168             android:key="verify_apps_over_usb"
    169             android:title="@string/verify_apps_over_usb_title"
    170             android:summary="@string/verify_apps_over_usb_summary" />
    171 
    172         <ListPreference
    173             android:key="select_logd_size"
    174             android:title="@string/select_logd_size_title"
    175             android:dialogTitle="@string/select_logd_size_dialog_title"
    176             android:entries="@array/select_logd_size_titles"
    177             android:entryValues="@array/select_logd_size_values" />
    178 
    179         <ListPreference
    180             android:key="select_logpersist"
    181             android:title="@string/select_logpersist_title"
    182             android:dialogTitle="@string/select_logpersist_dialog_title"
    183             android:entries="@array/select_logpersist_titles"
    184             android:entryValues="@array/select_logpersist_values" />
    185 
    186         <SwitchPreference
    187             android:key="camera_laser_sensor_switch"
    188             android:title="@string/camera_laser_sensor_switch" />
    189 
    190         <Preference
    191             android:key="feature_flags_dashboard"
    192             android:title="@string/feature_flags_dashboard_title"
    193             android:fragment="com.android.settings.development.featureflags.FeatureFlagsDashboard" />
    194 
    195         <SwitchPreference
    196             android:key="enable_gpu_debug_layers"
    197             android:title="@string/enable_gpu_debug_layers"
    198             android:summary="@string/enable_gpu_debug_layers_summary" />
    199 
    200     </PreferenceCategory>
    201 
    202     <PreferenceCategory
    203         android:key="dashboard_tile_placeholder"
    204         android:order="300" />
    205 
    206     <PreferenceCategory
    207         android:key="debug_networking_category"
    208         android:title="@string/debug_networking_category"
    209         android:order="400">
    210 
    211         <SwitchPreference
    212             android:key="wifi_display_certification"
    213             android:title="@string/wifi_display_certification"
    214             android:summary="@string/wifi_display_certification_summary" />
    215 
    216         <SwitchPreference
    217             android:key="wifi_verbose_logging"
    218             android:title="@string/wifi_verbose_logging"
    219             android:summary="@string/wifi_verbose_logging_summary" />
    220 
    221         <SwitchPreference
    222             android:key="wifi_connected_mac_randomization"
    223             android:title="@string/wifi_connected_mac_randomization"
    224             android:summary="@string/wifi_connected_mac_randomization_summary" />
    225 
    226         <SwitchPreference
    227             android:key="mobile_data_always_on"
    228             android:title="@string/mobile_data_always_on"
    229             android:summary="@string/mobile_data_always_on_summary" />
    230 
    231         <SwitchPreference
    232             android:key="tethering_hardware_offload"
    233             android:title="@string/tethering_hardware_offload"
    234             android:summary="@string/tethering_hardware_offload_summary" />
    235 
    236         <Preference
    237             android:key="default_usb_configuration"
    238             android:fragment="com.android.settings.connecteddevice.usb.UsbDefaultFragment"
    239             android:icon="@drawable/ic_usb"
    240             android:title="@string/usb_default_label"/>
    241 
    242         <SwitchPreference
    243             android:key="bluetooth_show_devices_without_names"
    244             android:title="@string/bluetooth_show_devices_without_names"
    245             android:summary="@string/bluetooth_show_devices_without_names_summary" />
    246 
    247         <SwitchPreference
    248             android:key="bluetooth_disable_absolute_volume"
    249             android:title="@string/bluetooth_disable_absolute_volume"
    250             android:summary="@string/bluetooth_disable_absolute_volume_summary" />
    251 
    252         <SwitchPreference
    253             android:key="bluetooth_disable_a2dp_hw_offload"
    254             android:title="@string/bluetooth_disable_a2dp_hw_offload" />
    255 
    256         <ListPreference
    257             android:key="bluetooth_select_avrcp_version"
    258             android:title="@string/bluetooth_select_avrcp_version_string"
    259             android:dialogTitle="@string/bluetooth_select_avrcp_version_dialog_title"
    260             android:entries="@array/bluetooth_avrcp_versions"
    261             android:entryValues="@array/bluetooth_avrcp_version_values" />
    262 
    263         <ListPreference
    264             android:key="bluetooth_select_a2dp_codec"
    265             android:title="@string/bluetooth_select_a2dp_codec_type"
    266             android:dialogTitle="@string/bluetooth_select_a2dp_codec_type_dialog_title"
    267             android:entries="@array/bluetooth_a2dp_codec_titles"
    268             android:entryValues="@array/bluetooth_a2dp_codec_values" />
    269 
    270         <ListPreference
    271             android:key="bluetooth_select_a2dp_sample_rate"
    272             android:title="@string/bluetooth_select_a2dp_codec_sample_rate"
    273             android:dialogTitle="@string/bluetooth_select_a2dp_codec_sample_rate_dialog_title"
    274             android:entries="@array/bluetooth_a2dp_codec_sample_rate_titles"
    275             android:entryValues="@array/bluetooth_a2dp_codec_sample_rate_values" />
    276 
    277         <ListPreference
    278             android:key="bluetooth_select_a2dp_bits_per_sample"
    279             android:title="@string/bluetooth_select_a2dp_codec_bits_per_sample"
    280             android:dialogTitle="@string/bluetooth_select_a2dp_codec_bits_per_sample_dialog_title"
    281             android:entries="@array/bluetooth_a2dp_codec_bits_per_sample_titles"
    282             android:entryValues="@array/bluetooth_a2dp_codec_bits_per_sample_values" />
    283 
    284         <ListPreference
    285             android:key="bluetooth_select_a2dp_channel_mode"
    286             android:title="@string/bluetooth_select_a2dp_codec_channel_mode"
    287             android:dialogTitle="@string/bluetooth_select_a2dp_codec_channel_mode_dialog_title"
    288             android:entries="@array/bluetooth_a2dp_codec_channel_mode_titles"
    289             android:entryValues="@array/bluetooth_a2dp_codec_channel_mode_values" />
    290 
    291         <ListPreference
    292             android:key="bluetooth_select_a2dp_ldac_playback_quality"
    293             android:title="@string/bluetooth_select_a2dp_codec_ldac_playback_quality"
    294             android:dialogTitle="@string/bluetooth_select_a2dp_codec_ldac_playback_quality_dialog_title"
    295             android:entries="@array/bluetooth_a2dp_codec_ldac_playback_quality_titles"
    296             android:entryValues="@array/bluetooth_a2dp_codec_ldac_playback_quality_values" />
    297 
    298         <ListPreference
    299             android:key="bluetooth_max_connected_audio_devices"
    300             android:title="@string/bluetooth_max_connected_audio_devices_string"
    301             android:dialogTitle="@string/bluetooth_max_connected_audio_devices_dialog_title"
    302             android:entries="@array/bluetooth_max_connected_audio_devices"
    303             android:entryValues="@array/bluetooth_max_connected_audio_devices_values" />
    304 
    305     </PreferenceCategory>
    306 
    307     <PreferenceCategory
    308         android:key="debug_input_category"
    309         android:title="@string/debug_input_category"
    310         android:order="500">
    311 
    312         <SwitchPreference
    313             android:key="show_touches"
    314             android:title="@string/show_touches"
    315             android:summary="@string/show_touches_summary" />
    316 
    317         <SwitchPreference
    318             android:key="pointer_location"
    319             android:title="@string/pointer_location"
    320             android:summary="@string/pointer_location_summary" />
    321 
    322     </PreferenceCategory>
    323 
    324     <PreferenceCategory
    325         android:key="debug_drawing_category"
    326         android:title="@string/debug_drawing_category"
    327         android:order="600">
    328 
    329         <SwitchPreference
    330             android:key="show_screen_updates"
    331             android:title="@string/show_screen_updates"
    332             android:summary="@string/show_screen_updates_summary" />
    333 
    334         <SwitchPreference
    335             android:key="debug_layout"
    336             android:title="@string/debug_layout"
    337             android:summary="@string/debug_layout_summary" />
    338 
    339         <SwitchPreference
    340             android:key="force_rtl_layout_all_locales"
    341             android:title="@string/force_rtl_layout_all_locales"
    342             android:summary="@string/force_rtl_layout_all_locales_summary" />
    343 
    344         <ListPreference
    345             android:key="window_animation_scale"
    346             android:title="@string/window_animation_scale_title"
    347             android:entries="@array/window_animation_scale_entries"
    348             android:entryValues="@array/window_animation_scale_values" />
    349 
    350         <ListPreference
    351             android:key="transition_animation_scale"
    352             android:title="@string/transition_animation_scale_title"
    353             android:entries="@array/transition_animation_scale_entries"
    354             android:entryValues="@array/transition_animation_scale_values" />
    355 
    356         <ListPreference
    357             android:key="animator_duration_scale"
    358             android:title="@string/animator_duration_scale_title"
    359             android:entries="@array/animator_duration_scale_entries"
    360             android:entryValues="@array/animator_duration_scale_values" />
    361 
    362         <ListPreference
    363             android:key="overlay_display_devices"
    364             android:title="@string/overlay_display_devices_title"
    365             android:entries="@array/overlay_display_devices_entries"
    366             android:entryValues="@array/overlay_display_devices_values" />
    367 
    368         <com.android.settings.display.DensityPreference
    369             android:key="density"
    370             android:title="@string/developer_smallest_width" />
    371 
    372         <ListPreference
    373             android:key="display_cutout_emulation"
    374             android:title="@string/display_cutout_emulation"
    375             settings:keywords="@string/display_cutout_emulation_keywords" />
    376 
    377     </PreferenceCategory>
    378 
    379     <PreferenceCategory
    380         android:key="debug_hw_drawing_category"
    381         android:title="@string/debug_hw_drawing_category"
    382         android:order="700">
    383 
    384         <SwitchPreference
    385             android:key="force_hw_ui"
    386             android:title="@string/force_hw_ui"
    387             android:summary="@string/force_hw_ui_summary" />
    388 
    389         <SwitchPreference
    390             android:key="show_hw_screen_updates"
    391             android:title="@string/show_hw_screen_updates"
    392             android:summary="@string/show_hw_screen_updates_summary" />
    393 
    394         <SwitchPreference
    395             android:key="show_hw_layers_updates"
    396             android:title="@string/show_hw_layers_updates"
    397             android:summary="@string/show_hw_layers_updates_summary" />
    398 
    399         <ListPreference
    400             android:key="debug_hw_overdraw"
    401             android:title="@string/debug_hw_overdraw"
    402             android:entries="@array/debug_hw_overdraw_entries"
    403             android:entryValues="@array/debug_hw_overdraw_values" />
    404 
    405         <ListPreference
    406             android:key="show_non_rect_clip"
    407             android:title="@string/show_non_rect_clip"
    408             android:entries="@array/show_non_rect_clip_entries"
    409             android:entryValues="@array/show_non_rect_clip_values" />
    410 
    411         <SwitchPreference
    412             android:key="force_msaa"
    413             android:title="@string/force_msaa"
    414             android:summary="@string/force_msaa_summary" />
    415 
    416         <SwitchPreference
    417             android:key="disable_overlays"
    418             android:title="@string/disable_overlays"
    419             android:summary="@string/disable_overlays_summary" />
    420 
    421         <ListPreference
    422             android:entries="@array/simulate_color_space_entries"
    423             android:entryValues="@array/simulate_color_space_values"
    424             android:key="simulate_color_space"
    425             android:summary="%s"
    426             android:title="@string/simulate_color_space" />
    427 
    428     </PreferenceCategory>
    429 
    430     <PreferenceCategory
    431         android:key="media_category"
    432         android:title="@string/media_category"
    433         android:order="800">
    434 
    435         <SwitchPreference
    436             android:key="usb_audio"
    437             android:title="@string/usb_audio_disable_routing"
    438             android:summary="@string/usb_audio_disable_routing_summary" />
    439 
    440     </PreferenceCategory>
    441 
    442     <PreferenceCategory
    443         android:key="debug_monitoring_category"
    444         android:title="@string/debug_monitoring_category"
    445         android:order="900">
    446 
    447         <SwitchPreference
    448             android:key="strict_mode"
    449             android:title="@string/strict_mode"
    450             android:summary="@string/strict_mode_summary" />
    451 
    452         <ListPreference
    453             android:key="track_frame_time"
    454             android:title="@string/track_frame_time"
    455             android:entries="@array/track_frame_time_entries"
    456             android:entryValues="@array/track_frame_time_values" />
    457 
    458     </PreferenceCategory>
    459 
    460     <PreferenceCategory
    461         android:key="debug_applications_category"
    462         android:title="@string/debug_applications_category"
    463         android:order="1000">
    464 
    465         <SwitchPreference
    466             android:key="immediately_destroy_activities"
    467             android:title="@string/immediately_destroy_activities"
    468             android:summary="@string/immediately_destroy_activities_summary" />
    469 
    470         <ListPreference
    471             android:key="app_process_limit"
    472             android:title="@string/app_process_limit_title"
    473             android:entries="@array/app_process_limit_entries"
    474             android:entryValues="@array/app_process_limit_values" />
    475 
    476         <Preference
    477             android:key="background_check"
    478             android:fragment="com.android.settings.applications.appops.BackgroundCheckSummary"
    479             android:title="@string/background_check_pref" />
    480 
    481         <SwitchPreference
    482             android:key="show_first_crash_dialog"
    483             android:title="@string/show_first_crash_dialog"
    484             android:summary="@string/show_first_crash_dialog_summary" />
    485 
    486         <SwitchPreference
    487             android:key="show_all_anrs"
    488             android:title="@string/show_all_anrs"
    489             android:summary="@string/show_all_anrs_summary" />
    490 
    491         <SwitchPreference
    492             android:key="show_notification_channel_warnings"
    493             android:title="@string/show_notification_channel_warnings"
    494             android:summary="@string/show_notification_channel_warnings_summary" />
    495 
    496         <Preference
    497             android:key="inactive_apps"
    498             android:title="@string/inactive_apps_title"
    499             android:fragment="com.android.settings.fuelgauge.InactiveApps" />
    500 
    501         <SwitchPreference
    502             android:key="force_allow_on_external"
    503             android:title="@string/force_allow_on_external"
    504             android:summary="@string/force_allow_on_external_summary" />
    505 
    506         <SwitchPreference
    507             android:key="force_resizable_activities"
    508             android:title="@string/force_resizable_activities"
    509             android:summary="@string/force_resizable_activities_summary" />
    510 
    511         <SwitchPreference
    512             android:key="enable_freeform_support"
    513             android:title="@string/enable_freeform_support"
    514             android:summary="@string/enable_freeform_support_summary" />
    515 
    516         <Preference
    517             android:key="reset_shortcut_manager_throttling"
    518             android:title="@string/reset_shortcut_manager_throttling" />
    519     </PreferenceCategory>
    520 
    521 </PreferenceScreen>
    522