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="false" /> 82 83 <PreferenceCategory android:key="debug_debugging_category" 84 android:title="@string/debug_debugging_category"> 85 86 <SwitchPreference 87 android:key="enable_adb" 88 android:title="@string/enable_adb" 89 android:summary="@string/enable_adb_summary" 90 android:fragment="com.android.tv.settings.system.development.AdbDialog" /> 91 92 <Preference android:key="clear_adb_keys" 93 android:title="@string/clear_adb_keys" 94 android:fragment="com.android.tv.settings.system.development.AdbKeysDialog" /> 95 96 <SwitchPreference 97 android:key="enable_terminal" 98 android:title="@string/enable_terminal_title" 99 android:summary="@string/enable_terminal_summary" /> 100 101 <PreferenceScreen android:key="mock_location_app" 102 android:title="@string/mock_location_app" /> 103 104 <SwitchPreference 105 android:key="debug_view_attributes" 106 android:title="@string/debug_view_attributes" /> 107 108 <PreferenceScreen android:key="debug_app" 109 android:title="@string/debug_app" /> 110 111 <SwitchPreference 112 android:key="wait_for_debugger" 113 android:title="@string/wait_for_debugger" 114 android:summary="@string/wait_for_debugger_summary"/> 115 116 <SwitchPreference 117 android:key="verify_apps_over_usb" 118 android:title="@string/verify_apps_over_usb_title" 119 android:summary="@string/verify_apps_over_usb_summary"/> 120 121 <ListPreference 122 android:key="select_logd_size" 123 android:title="@string/select_logd_size_title" 124 android:dialogTitle="@string/select_logd_size_dialog_title" 125 android:entries="@array/select_logd_size_titles" 126 android:entryValues="@array/select_logd_size_values" /> 127 128 </PreferenceCategory> 129 130 <PreferenceCategory android:key="debug_networking_category" 131 android:title="@string/debug_networking_category"> 132 133 <SwitchPreference 134 android:key="wifi_display_certification" 135 android:title="@string/wifi_display_certification" 136 android:summary="@string/wifi_display_certification_summary"/> 137 138 <SwitchPreference 139 android:key="wifi_verbose_logging" 140 android:title="@string/wifi_verbose_logging" 141 android:summary="@string/wifi_verbose_logging_summary"/> 142 143 <SwitchPreference 144 android:key="wifi_aggressive_handover" 145 android:title="@string/wifi_aggressive_handover" 146 android:summary="@string/wifi_aggressive_handover_summary"/> 147 148 <SwitchPreference 149 android:key="wifi_allow_scan_with_traffic" 150 android:title="@string/wifi_allow_scan_with_traffic" 151 android:summary="@string/wifi_allow_scan_with_traffic_summary"/> 152 153 <SwitchPreference 154 android:key="mobile_data_always_on" 155 android:title="@string/mobile_data_always_on" 156 android:summary="@string/mobile_data_always_on_summary"/> 157 158 <ListPreference 159 android:key="select_usb_configuration" 160 android:title="@string/select_usb_configuration_title" 161 android:dialogTitle="@string/select_usb_configuration_dialog_title" 162 android:entries="@array/usb_configuration_titles" 163 android:entryValues="@array/usb_configuration_values" /> 164 165 </PreferenceCategory> 166 167 <PreferenceCategory android:key="debug_input_category" 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:title="@string/debug_drawing_category"> 184 185 <SwitchPreference 186 android:key="show_screen_updates" 187 android:title="@string/show_screen_updates" 188 android:summary="@string/show_screen_updates_summary"/> 189 190 <SwitchPreference 191 android:key="debug_layout" 192 android:title="@string/debug_layout" 193 android:summary="@string/debug_layout_summary"/> 194 195 <SwitchPreference 196 android:key="force_rtl_layout_all_locales" 197 android:title="@string/force_rtl_layout_all_locales" 198 android:summary="@string/force_rtl_layout_all_locales_summary"/> 199 200 <ListPreference 201 android:key="window_animation_scale" 202 android:title="@string/window_animation_scale_title" 203 android:persistent="false" 204 android:entries="@array/window_animation_scale_entries" 205 android:entryValues="@array/window_animation_scale_values" /> 206 207 <ListPreference 208 android:key="transition_animation_scale" 209 android:title="@string/transition_animation_scale_title" 210 android:persistent="false" 211 android:entries="@array/transition_animation_scale_entries" 212 android:entryValues="@array/transition_animation_scale_values" /> 213 214 <ListPreference 215 android:key="animator_duration_scale" 216 android:title="@string/animator_duration_scale_title" 217 android:persistent="false" 218 android:entries="@array/animator_duration_scale_entries" 219 android:entryValues="@array/animator_duration_scale_values" /> 220 221 <ListPreference 222 android:key="overlay_display_devices" 223 android:title="@string/overlay_display_devices_title" 224 android:persistent="false" 225 android:entries="@array/overlay_display_devices_entries" 226 android:entryValues="@array/overlay_display_devices_values" /> 227 228 </PreferenceCategory> 229 230 <PreferenceCategory android:key="debug_hw_drawing_category" 231 android:title="@string/debug_hw_drawing_category"> 232 233 <SwitchPreference 234 android:key="force_hw_ui" 235 android:title="@string/force_hw_ui" 236 android:summary="@string/force_hw_ui_summary"/> 237 238 <SwitchPreference 239 android:key="show_hw_screen_udpates" 240 android:title="@string/show_hw_screen_updates" 241 android:summary="@string/show_hw_screen_updates_summary"/> 242 243 <SwitchPreference 244 android:key="show_hw_layers_udpates" 245 android:title="@string/show_hw_layers_updates" 246 android:summary="@string/show_hw_layers_updates_summary"/> 247 248 <ListPreference 249 android:key="debug_hw_overdraw" 250 android:title="@string/debug_hw_overdraw" 251 android:persistent="false" 252 android:entries="@array/debug_hw_overdraw_entries" 253 android:entryValues="@array/debug_hw_overdraw_values" /> 254 255 <ListPreference 256 android:key="show_non_rect_clip" 257 android:title="@string/show_non_rect_clip" 258 android:persistent="false" 259 android:entries="@array/show_non_rect_clip_entries" 260 android:entryValues="@array/show_non_rect_clip_values" /> 261 262 <SwitchPreference 263 android:key="force_msaa" 264 android:title="@string/force_msaa" 265 android:summary="@string/force_msaa_summary"/> 266 267 <SwitchPreference 268 android:key="disable_overlays" 269 android:title="@string/disable_overlays" 270 android:summary="@string/disable_overlays_summary"/> 271 272 <ListPreference 273 android:entries="@array/simulate_color_space_entries" 274 android:entryValues="@array/simulate_color_space_values" 275 android:key="simulate_color_space" 276 android:persistent="false" 277 android:summary="%s" 278 android:title="@string/simulate_color_space" /> 279 280 </PreferenceCategory> 281 282 <PreferenceCategory android:key="media_category" 283 android:title="@string/media_category"> 284 285 <SwitchPreference 286 android:key="usb_audio" 287 android:title="@string/usb_audio_disable_routing" 288 android:summary="@string/usb_audio_disable_routing_summary" /> 289 290 </PreferenceCategory> 291 292 <PreferenceCategory android:key="debug_monitoring_category" 293 android:title="@string/debug_monitoring_category"> 294 295 <SwitchPreference 296 android:key="strict_mode" 297 android:title="@string/strict_mode" 298 android:summary="@string/strict_mode_summary"/> 299 300 <ListPreference 301 android:key="track_frame_time" 302 android:title="@string/track_frame_time" 303 android:persistent="false" 304 android:entries="@array/track_frame_time_entries" 305 android:entryValues="@array/track_frame_time_values" /> 306 307 <ListPreference 308 android:key="enable_opengl_traces" 309 android:title="@string/enable_opengl_traces_title" 310 android:persistent="false" 311 android:entries="@array/enable_opengl_traces_entries" 312 android:entryValues="@array/enable_opengl_traces_values" /> 313 314 </PreferenceCategory> 315 316 <PreferenceCategory android:key="debug_applications_category" 317 android:title="@string/debug_applications_category"> 318 319 <SwitchPreference 320 android:key="immediately_destroy_activities" 321 android:title="@string/immediately_destroy_activities" 322 android:summary="@string/immediately_destroy_activities_summary"/> 323 324 <ListPreference 325 android:key="app_process_limit" 326 android:title="@string/app_process_limit_title" 327 android:persistent="false" 328 android:entries="@array/app_process_limit_entries" 329 android:entryValues="@array/app_process_limit_values" /> 330 331 <SwitchPreference 332 android:key="show_all_anrs" 333 android:title="@string/show_all_anrs" 334 android:summary="@string/show_all_anrs_summary"/> 335 336 <Preference 337 android:key="inactive_apps" 338 android:title="@string/inactive_apps_title" 339 android:fragment="com.android.tv.settings.system.development.InactiveApps" /> 340 341 <SwitchPreference 342 android:key="force_allow_on_external" 343 android:title="@string/force_allow_on_external" 344 android:summary="@string/force_allow_on_external_summary"/> 345 346 <SwitchPreference 347 android:key="force_resizable_activities" 348 android:title="@string/force_resizable_activities" 349 android:summary="@string/force_resizable_activities_summary"/> 350 </PreferenceCategory> 351 352 </PreferenceScreen> 353