Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   Copyright (C) 2015 The Android Open Source Project
      4 
      5   Licensed under the Apache License, Version 2.0 (the "License");
      6   you may not use this file except in compliance with the License.
      7   You may obtain a copy of the License at
      8 
      9        http://www.apache.org/licenses/LICENSE-2.0
     10 
     11   Unless required by applicable law or agreed to in writing, software
     12   distributed under the License is distributed on an "AS IS" BASIS,
     13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14   See the License for the specific language governing permissions and
     15   limitations under the License
     16   -->
     17 
     18 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
     19                   android:title="@string/development_settings_title">
     20     <SwitchPreference
     21         android:key="development_settings_enable"
     22         android:title="@string/development_settings_enable"
     23         android:fragment="com.android.tv.settings.system.development.EnableDevelopmentDialog"
     24     />
     25     <Preference
     26         android:key="bugreport"
     27         android:title="@*android:string/bugreport_title"
     28         android:dialogTitle="@*android:string/bugreport_title" />
     29     <PreferenceScreen
     30         android:key="local_backup_password"
     31         android:title="@string/local_backup_password_title"
     32         android:summary="@string/local_backup_password_summary_none"
     33         android:persistent="false" >
     34         <intent
     35             android:action="android.settings.privacy.SET_FULL_BACKUP_PASSWORD"
     36             android:targetPackage="com.android.settings"
     37             android:targetClass="com.android.settings.SetFullBackupPassword" />
     38     </PreferenceScreen>
     39 
     40     <SwitchPreference
     41         android:key="keep_screen_on"
     42         android:title="@string/keep_screen_on"
     43         android:summary="@string/keep_screen_on_summary"/>
     44 
     45     <ListPreference
     46         android:key="hdcp_checking"
     47         android:title="@string/hdcp_checking_title"
     48         android:dialogTitle="@string/hdcp_checking_dialog_title"
     49         android:entries="@array/hdcp_checking_titles"
     50         android:entryValues="@array/hdcp_checking_values" />
     51 
     52     <SwitchPreference
     53         android:key="bt_hci_snoop_log"
     54         android:title="@string/bt_hci_snoop_log"
     55         android:summary="@string/bt_hci_snoop_log_summary"/>
     56 
     57     <SwitchPreference
     58         android:key="oem_unlock_enable"
     59         android:title="@string/oem_unlock_enable"
     60         android:summary="@string/oem_unlock_enable_summary"
     61         android:fragment="com.android.tv.settings.system.development.OemUnlockDialog" />
     62 
     63     <PreferenceScreen
     64         android:key="running_apps"
     65         android:title="@string/runningservices_settings_title"
     66         android:summary="@string/runningservices_settings_summary" />
     67     <!-- TODO: implement this -->
     68     <!--android:fragment="com.android.settings.applications.RunningServices" />-->
     69 
     70     <PreferenceScreen
     71         android:key="convert_to_file_encryption"
     72         android:title="@string/convert_to_file_encryption"
     73         android:summary="@string/convert_to_file_encryption_enabled" />
     74     <!-- TODO: implement this-->
     75     <!--android:fragment="com.android.settings.applications.ConvertToFbe" />-->
     76 
     77     <com.android.tv.settings.system.development.ColorModePreference
     78         android:key="color_mode"
     79         android:title="@string/picture_color_mode"
     80         android:summary="@string/picture_color_mode_desc"
     81         android:persistent="true" />
     82 
     83     <PreferenceCategory android:key="debug_debugging_category"
     84                         android:layout="@layout/preference_category_compact_layout"
     85                         android:title="@string/debug_debugging_category">
     86 
     87         <SwitchPreference
     88             android:key="enable_adb"
     89             android:title="@string/enable_adb"
     90             android:summary="@string/enable_adb_summary"
     91             android:fragment="com.android.tv.settings.system.development.AdbDialog" />
     92 
     93         <Preference android:key="clear_adb_keys"
     94                     android:title="@string/clear_adb_keys"
     95                     android:fragment="com.android.tv.settings.system.development.AdbKeysDialog" />
     96 
     97         <SwitchPreference
     98             android:key="enable_terminal"
     99             android:title="@string/enable_terminal_title"
    100             android:summary="@string/enable_terminal_summary" />
    101 
    102         <PreferenceScreen android:key="mock_location_app"
    103                           android:title="@string/mock_location_app" />
    104 
    105         <SwitchPreference
    106             android:key="debug_view_attributes"
    107             android:title="@string/debug_view_attributes" />
    108 
    109         <PreferenceScreen android:key="debug_app"
    110                           android:title="@string/debug_app" />
    111 
    112         <SwitchPreference
    113             android:key="wait_for_debugger"
    114             android:title="@string/wait_for_debugger"
    115             android:summary="@string/wait_for_debugger_summary"/>
    116 
    117         <SwitchPreference
    118             android:key="verify_apps_over_usb"
    119             android:title="@string/verify_apps_over_usb_title"
    120             android:summary="@string/verify_apps_over_usb_summary"/>
    121 
    122         <ListPreference
    123             android:key="select_logd_size"
    124             android:title="@string/select_logd_size_title"
    125             android:dialogTitle="@string/select_logd_size_dialog_title"
    126             android:entries="@array/select_logd_size_titles"
    127             android:entryValues="@array/select_logd_size_values" />
    128 
    129         <ListPreference
    130             android:key="select_logpersist"
    131             android:title="@string/select_logpersist_title"
    132             android:dialogTitle="@string/select_logpersist_dialog_title"
    133             android:entries="@array/select_logpersist_titles"
    134             android:entryValues="@array/select_logpersist_values" />
    135 
    136     </PreferenceCategory>
    137 
    138     <PreferenceCategory android:key="debug_networking_category"
    139                         android:layout="@layout/preference_category_compact_layout"
    140                         android:title="@string/debug_networking_category">
    141 
    142         <SwitchPreference
    143             android:key="wifi_display_certification"
    144             android:title="@string/wifi_display_certification"
    145             android:summary="@string/wifi_display_certification_summary"/>
    146 
    147         <SwitchPreference
    148             android:key="wifi_verbose_logging"
    149             android:title="@string/wifi_verbose_logging"
    150             android:summary="@string/wifi_verbose_logging_summary"/>
    151 
    152         <SwitchPreference
    153             android:key="mobile_data_always_on"
    154             android:title="@string/mobile_data_always_on"
    155             android:summary="@string/mobile_data_always_on_summary"/>
    156 
    157         <ListPreference
    158             android:key="select_usb_configuration"
    159             android:title="@string/select_usb_configuration_title"
    160             android:dialogTitle="@string/select_usb_configuration_dialog_title"
    161             android:entries="@array/usb_configuration_titles"
    162             android:entryValues="@array/usb_configuration_values" />
    163 
    164     </PreferenceCategory>
    165 
    166     <PreferenceCategory android:key="debug_input_category"
    167                         android:layout="@layout/preference_category_compact_layout"
    168                         android:title="@string/debug_input_category">
    169 
    170         <SwitchPreference
    171             android:key="show_touches"
    172             android:title="@string/show_touches"
    173             android:summary="@string/show_touches_summary"/>
    174 
    175         <SwitchPreference
    176             android:key="pointer_location"
    177             android:title="@string/pointer_location"
    178             android:summary="@string/pointer_location_summary"/>
    179 
    180     </PreferenceCategory>
    181 
    182     <PreferenceCategory android:key="debug_drawing_category"
    183                         android:layout="@layout/preference_category_compact_layout"
    184                         android:title="@string/debug_drawing_category">
    185 
    186         <SwitchPreference
    187             android:key="show_screen_updates"
    188             android:title="@string/show_screen_updates"
    189             android:summary="@string/show_screen_updates_summary"/>
    190 
    191         <SwitchPreference
    192             android:key="debug_layout"
    193             android:title="@string/debug_layout"
    194             android:summary="@string/debug_layout_summary"/>
    195 
    196         <SwitchPreference
    197             android:key="force_rtl_layout_all_locales"
    198             android:title="@string/force_rtl_layout_all_locales"
    199             android:summary="@string/force_rtl_layout_all_locales_summary"/>
    200 
    201         <ListPreference
    202             android:key="window_animation_scale"
    203             android:title="@string/window_animation_scale_title"
    204             android:persistent="true"
    205             android:entries="@array/window_animation_scale_entries"
    206             android:entryValues="@array/window_animation_scale_values" />
    207 
    208         <ListPreference
    209             android:key="transition_animation_scale"
    210             android:title="@string/transition_animation_scale_title"
    211             android:persistent="true"
    212             android:entries="@array/transition_animation_scale_entries"
    213             android:entryValues="@array/transition_animation_scale_values" />
    214 
    215         <ListPreference
    216             android:key="animator_duration_scale"
    217             android:title="@string/animator_duration_scale_title"
    218             android:persistent="true"
    219             android:entries="@array/animator_duration_scale_entries"
    220             android:entryValues="@array/animator_duration_scale_values" />
    221 
    222         <ListPreference
    223             android:key="overlay_display_devices"
    224             android:title="@string/overlay_display_devices_title"
    225             android:persistent="true"
    226             android:entries="@array/overlay_display_devices_entries"
    227             android:entryValues="@array/overlay_display_devices_values" />
    228 
    229     </PreferenceCategory>
    230 
    231     <PreferenceCategory android:key="debug_hw_drawing_category"
    232                         android:layout="@layout/preference_category_compact_layout"
    233                         android:title="@string/debug_hw_drawing_category">
    234         <SwitchPreference
    235             android:key="force_hw_ui"
    236             android:title="@string/force_hw_ui"
    237             android:summary="@string/force_hw_ui_summary"/>
    238 
    239         <SwitchPreference
    240             android:key="show_hw_screen_udpates"
    241             android:title="@string/show_hw_screen_updates"
    242             android:summary="@string/show_hw_screen_updates_summary"/>
    243 
    244         <SwitchPreference
    245             android:key="show_hw_layers_udpates"
    246             android:title="@string/show_hw_layers_updates"
    247             android:summary="@string/show_hw_layers_updates_summary"/>
    248 
    249         <ListPreference
    250             android:key="debug_hw_overdraw"
    251             android:title="@string/debug_hw_overdraw"
    252             android:persistent="true"
    253             android:entries="@array/debug_hw_overdraw_entries"
    254             android:entryValues="@array/debug_hw_overdraw_values" />
    255 
    256         <ListPreference
    257             android:key="show_non_rect_clip"
    258             android:title="@string/show_non_rect_clip"
    259             android:persistent="true"
    260             android:entries="@array/show_non_rect_clip_entries"
    261             android:entryValues="@array/show_non_rect_clip_values" />
    262 
    263         <SwitchPreference
    264             android:key="force_msaa"
    265             android:title="@string/force_msaa"
    266             android:summary="@string/force_msaa_summary"/>
    267 
    268         <SwitchPreference
    269             android:key="disable_overlays"
    270             android:title="@string/disable_overlays"
    271             android:summary="@string/disable_overlays_summary"/>
    272 
    273         <ListPreference
    274             android:entries="@array/simulate_color_space_entries"
    275             android:entryValues="@array/simulate_color_space_values"
    276             android:key="simulate_color_space"
    277             android:persistent="true"
    278             android:summary="%s"
    279             android:title="@string/simulate_color_space" />
    280 
    281     </PreferenceCategory>
    282 
    283     <PreferenceCategory android:key="media_category"
    284                         android:layout="@layout/preference_category_compact_layout"
    285                         android:title="@string/media_category">
    286 
    287         <SwitchPreference
    288             android:key="usb_audio"
    289             android:title="@string/usb_audio_disable_routing"
    290             android:summary="@string/usb_audio_disable_routing_summary" />
    291 
    292     </PreferenceCategory>
    293 
    294     <PreferenceCategory android:key="debug_monitoring_category"
    295                         android:layout="@layout/preference_category_compact_layout"
    296                         android:title="@string/debug_monitoring_category">
    297 
    298         <SwitchPreference
    299             android:key="strict_mode"
    300             android:title="@string/strict_mode"
    301             android:summary="@string/strict_mode_summary"/>
    302 
    303         <ListPreference
    304             android:key="track_frame_time"
    305             android:title="@string/track_frame_time"
    306             android:persistent="true"
    307             android:entries="@array/track_frame_time_entries"
    308             android:entryValues="@array/track_frame_time_values" />
    309 
    310         <ListPreference
    311             android:key="enable_opengl_traces"
    312             android:title="@string/enable_opengl_traces_title"
    313             android:persistent="true"
    314             android:entries="@array/enable_opengl_traces_entries"
    315             android:entryValues="@array/enable_opengl_traces_values" />
    316 
    317     </PreferenceCategory>
    318 
    319     <PreferenceCategory android:key="debug_applications_category"
    320                         android:layout="@layout/preference_category_compact_layout"
    321                         android:title="@string/debug_applications_category">
    322 
    323         <SwitchPreference
    324             android:key="immediately_destroy_activities"
    325             android:title="@string/immediately_destroy_activities"
    326             android:summary="@string/immediately_destroy_activities_summary"/>
    327 
    328         <ListPreference
    329             android:key="app_process_limit"
    330             android:title="@string/app_process_limit_title"
    331             android:persistent="true"
    332             android:entries="@array/app_process_limit_entries"
    333             android:entryValues="@array/app_process_limit_values" />
    334 
    335         <SwitchPreference
    336             android:key="show_all_anrs"
    337             android:title="@string/show_all_anrs"
    338             android:summary="@string/show_all_anrs_summary"/>
    339 
    340         <Preference
    341             android:key="inactive_apps"
    342             android:title="@string/inactive_apps_title"
    343             android:fragment="com.android.tv.settings.system.development.InactiveApps" />
    344 
    345         <SwitchPreference
    346             android:key="force_allow_on_external"
    347             android:title="@string/force_allow_on_external"
    348             android:summary="@string/force_allow_on_external_summary"/>
    349 
    350         <SwitchPreference
    351             android:key="force_resizable_activities"
    352             android:title="@string/force_resizable_activities"
    353             android:summary="@string/force_resizable_activities_summary"/>
    354     </PreferenceCategory>
    355 
    356 </PreferenceScreen>