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 xmlns:settings="http://schemas.android.com/apk/res-auto" 20 android:title="@string/development_settings_title"> 21 <com.android.tv.settings.widget.SwitchWithSoundPreference 22 android:key="development_settings_enable" 23 android:title="@string/development_settings_enable" 24 android:fragment="com.android.tv.settings.system.development.EnableDevelopmentDialog" 25 /> 26 <Preference 27 android:key="bugreport" 28 android:title="@*android:string/bugreport_title" 29 android:dialogTitle="@*android:string/bugreport_title" /> 30 <PreferenceScreen 31 android:key="local_backup_password" 32 android:title="@string/local_backup_password_title" 33 android:summary="@string/local_backup_password_summary_none" 34 android:persistent="false" > 35 <intent 36 android:action="android.settings.privacy.SET_FULL_BACKUP_PASSWORD" 37 android:targetPackage="com.android.settings" 38 android:targetClass="com.android.settings.SetFullBackupPassword" /> 39 </PreferenceScreen> 40 41 <com.android.tv.settings.widget.SwitchWithSoundPreference 42 android:key="keep_screen_on" 43 android:title="@string/keep_screen_on" 44 android:summary="@string/keep_screen_on_summary"/> 45 46 <ListPreference 47 android:key="hdcp_checking" 48 android:title="@string/hdcp_checking_title" 49 android:dialogTitle="@string/hdcp_checking_dialog_title" 50 android:entries="@array/hdcp_checking_titles" 51 android:entryValues="@array/hdcp_checking_values" /> 52 53 <ListPreference 54 android:key="bt_hci_snoop_log" 55 android:title="@string/bt_hci_snoop_log" 56 android:dialogTitle="@string/bt_hci_snoop_log_summary" 57 android:entries="@array/bt_hci_snoop_log_entries" 58 android:entryValues="@array/bt_hci_snoop_log_values" /> 59 60 <com.android.settingslib.RestrictedSwitchPreference 61 android:key="oem_unlock_enable" 62 android:title="@string/oem_unlock_enable" 63 android:summary="@string/oem_unlock_enable_summary" 64 android:fragment="com.android.tv.settings.system.development.OemUnlockDialog" 65 settings:userRestriction="no_factory_reset" 66 settings:useAdminDisabledSummary="true" /> 67 68 <PreferenceScreen 69 android:key="running_apps" 70 android:title="@string/runningservices_settings_title" 71 android:summary="@string/runningservices_settings_summary" /> 72 <!-- TODO: implement this --> 73 <!--android:fragment="com.android.settings.applications.RunningServices" />--> 74 75 <com.android.tv.settings.system.development.ColorModePreference 76 android:key="color_mode" 77 android:title="@string/picture_color_mode" 78 android:summary="@string/picture_color_mode_desc" 79 android:persistent="true" /> 80 81 <PreferenceCategory android:key="debug_debugging_category" 82 android:title="@string/debug_debugging_category"> 83 84 <com.android.tv.settings.widget.SwitchWithSoundPreference 85 android:key="enable_adb" 86 android:title="@string/enable_adb" 87 android:summary="@string/enable_adb_summary" 88 android:fragment="com.android.tv.settings.system.development.AdbDialog" /> 89 90 <Preference android:key="clear_adb_keys" 91 android:title="@string/clear_adb_keys" 92 android:fragment="com.android.tv.settings.system.development.AdbKeysDialog" /> 93 94 <Preference 95 android:key="toggle_adb_wireless" 96 android:title="@string/enable_adb_wireless" 97 android:summary="@string/connectivity_summary_no_network_connected" /> 98 99 <com.android.tv.settings.widget.SwitchWithSoundPreference 100 android:key="enable_terminal" 101 android:title="@string/enable_terminal_title" 102 android:summary="@string/enable_terminal_summary" /> 103 104 <PreferenceScreen android:key="mock_location_app" 105 android:title="@string/mock_location_app" /> 106 107 <com.android.tv.settings.widget.SwitchWithSoundPreference 108 android:key="debug_view_attributes" 109 android:title="@string/debug_view_attributes" /> 110 111 <PreferenceScreen android:key="debug_app" 112 android:title="@string/debug_app" /> 113 114 <com.android.tv.settings.widget.SwitchWithSoundPreference 115 android:key="wait_for_debugger" 116 android:title="@string/wait_for_debugger" 117 android:summary="@string/wait_for_debugger_summary"/> 118 119 <com.android.tv.settings.widget.SwitchWithSoundPreference 120 android:key="verify_apps_over_usb" 121 android:title="@string/verify_apps_over_usb_title" 122 android:summary="@string/verify_apps_over_usb_summary"/> 123 124 <ListPreference 125 android:key="select_logd_size" 126 android:title="@string/select_logd_size_title" 127 android:dialogTitle="@string/select_logd_size_dialog_title" 128 android:entries="@array/select_logd_size_titles" 129 android:entryValues="@array/select_logd_size_values" /> 130 131 <ListPreference 132 android:key="select_logpersist" 133 android:title="@string/select_logpersist_title" 134 android:dialogTitle="@string/select_logpersist_dialog_title" 135 android:entries="@array/select_logpersist_titles" 136 android:entryValues="@array/select_logpersist_values" /> 137 138 </PreferenceCategory> 139 140 <PreferenceCategory android:key="debug_networking_category" 141 android:title="@string/debug_networking_category"> 142 143 <com.android.tv.settings.widget.SwitchWithSoundPreference 144 android:key="wifi_display_certification" 145 android:title="@string/wifi_display_certification" 146 android:summary="@string/wifi_display_certification_summary"/> 147 148 <com.android.tv.settings.widget.SwitchWithSoundPreference 149 android:key="wifi_verbose_logging" 150 android:title="@string/wifi_verbose_logging" 151 android:summary="@string/wifi_verbose_logging_summary"/> 152 153 <com.android.tv.settings.widget.SwitchWithSoundPreference 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 <com.android.tv.settings.widget.SwitchWithSoundPreference 171 android:key="show_touches" 172 android:title="@string/show_touches" 173 android:summary="@string/show_touches_summary"/> 174 175 <com.android.tv.settings.widget.SwitchWithSoundPreference 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 <com.android.tv.settings.widget.SwitchWithSoundPreference 186 android:key="show_screen_updates" 187 android:title="@string/show_screen_updates" 188 android:summary="@string/show_screen_updates_summary"/> 189 190 <com.android.tv.settings.widget.SwitchWithSoundPreference 191 android:key="debug_layout" 192 android:title="@string/debug_layout" 193 android:summary="@string/debug_layout_summary"/> 194 195 <com.android.tv.settings.widget.SwitchWithSoundPreference 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="true" 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="true" 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="true" 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="true" 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 <com.android.tv.settings.widget.SwitchWithSoundPreference 233 android:key="show_hw_screen_udpates" 234 android:title="@string/show_hw_screen_updates" 235 android:summary="@string/show_hw_screen_updates_summary"/> 236 237 <com.android.tv.settings.widget.SwitchWithSoundPreference 238 android:key="show_hw_layers_udpates" 239 android:title="@string/show_hw_layers_updates" 240 android:summary="@string/show_hw_layers_updates_summary"/> 241 242 <ListPreference 243 android:key="debug_hw_overdraw" 244 android:title="@string/debug_hw_overdraw" 245 android:persistent="true" 246 android:entries="@array/debug_hw_overdraw_entries" 247 android:entryValues="@array/debug_hw_overdraw_values" /> 248 249 <ListPreference 250 android:key="show_non_rect_clip" 251 android:title="@string/show_non_rect_clip" 252 android:persistent="true" 253 android:entries="@array/show_non_rect_clip_entries" 254 android:entryValues="@array/show_non_rect_clip_values" /> 255 256 <com.android.tv.settings.widget.SwitchWithSoundPreference 257 android:key="window_blurs" 258 android:title="@string/window_blurs"/> 259 260 <com.android.tv.settings.widget.SwitchWithSoundPreference 261 android:key="force_msaa" 262 android:title="@string/force_msaa" 263 android:summary="@string/force_msaa_summary"/> 264 265 <com.android.tv.settings.widget.SwitchWithSoundPreference 266 android:key="disable_overlays" 267 android:title="@string/disable_overlays" 268 android:summary="@string/disable_overlays_summary"/> 269 270 <ListPreference 271 android:entries="@array/simulate_color_space_entries" 272 android:entryValues="@array/simulate_color_space_values" 273 android:key="simulate_color_space" 274 android:persistent="true" 275 android:summary="%s" 276 android:title="@string/simulate_color_space" /> 277 278 </PreferenceCategory> 279 280 <PreferenceCategory android:key="media_category" 281 android:title="@string/media_category"> 282 283 <com.android.tv.settings.widget.SwitchWithSoundPreference 284 android:key="usb_audio" 285 android:title="@string/usb_audio_disable_routing" 286 android:summary="@string/usb_audio_disable_routing_summary" /> 287 288 </PreferenceCategory> 289 290 <PreferenceCategory android:key="audio_category" 291 android:title="@string/audio_category"> 292 <com.android.tv.settings.widget.SwitchWithSoundPreference 293 android:key="record_audio" 294 android:title="@string/record_audio" 295 android:summaryOn="@string/record_audio_summary_on" 296 android:summaryOff="@string/record_audio_summary_off"/> 297 <ListPreference 298 android:key="record_audio_source" 299 android:title="@string/record_audio_source_title" 300 android:dialogTitle="@string/record_audio_source_dialog_title" 301 android:summary="%s" 302 android:defaultValue="0" 303 android:entries="@array/record_audio_source_entries" 304 android:entryValues="@array/record_audio_source_values" /> 305 <Preference 306 android:key="play_recorded_audio" 307 android:title="@string/play_recorded_audio_title"/> 308 <Preference 309 android:key="save_recorded_audio" 310 android:title="@string/save_recorded_audio_title"/> 311 <Preference 312 android:key="time_to_start_read" 313 android:title="@string/time_to_start_read_title"/> 314 <Preference 315 android:key="time_to_valid_audio" 316 android:title="@string/time_to_valid_audio_title"/> 317 <Preference 318 android:key="empty_audio_duration" 319 android:title="@string/empty_audio_duration_title"/> 320 </PreferenceCategory> 321 322 <PreferenceCategory android:key="debug_monitoring_category" 323 android:title="@string/debug_monitoring_category"> 324 325 <com.android.tv.settings.widget.SwitchWithSoundPreference 326 android:key="strict_mode" 327 android:title="@string/strict_mode" 328 android:summary="@string/strict_mode_summary"/> 329 330 <ListPreference 331 android:key="track_frame_time" 332 android:title="@string/track_frame_time" 333 android:persistent="true" 334 android:entries="@array/track_frame_time_entries" 335 android:entryValues="@array/track_frame_time_values" /> 336 337 <ListPreference 338 android:key="enable_opengl_traces" 339 android:title="@string/enable_opengl_traces_title" 340 android:persistent="true" 341 android:entries="@array/enable_opengl_traces_entries" 342 android:entryValues="@array/enable_opengl_traces_values" /> 343 344 </PreferenceCategory> 345 346 <PreferenceCategory android:key="debug_applications_category" 347 android:title="@string/debug_applications_category"> 348 349 <com.android.tv.settings.widget.SwitchWithSoundPreference 350 android:key="immediately_destroy_activities" 351 android:title="@string/immediately_destroy_activities" 352 android:summary="@string/immediately_destroy_activities_summary"/> 353 354 <ListPreference 355 android:key="app_process_limit" 356 android:title="@string/app_process_limit_title" 357 android:persistent="true" 358 android:entries="@array/app_process_limit_entries" 359 android:entryValues="@array/app_process_limit_values" /> 360 361 <com.android.tv.settings.widget.SwitchWithSoundPreference 362 android:key="show_all_anrs" 363 android:title="@string/show_all_anrs" 364 android:summary="@string/show_all_anrs_summary"/> 365 366 <Preference 367 android:key="inactive_apps" 368 android:title="@string/inactive_apps_title" 369 android:fragment="com.android.tv.settings.system.development.InactiveApps" /> 370 371 <com.android.tv.settings.widget.SwitchWithSoundPreference 372 android:key="force_allow_on_external" 373 android:title="@string/force_allow_on_external" 374 android:summary="@string/force_allow_on_external_summary"/> 375 376 <com.android.tv.settings.widget.SwitchWithSoundPreference 377 android:key="force_resizable_activities" 378 android:title="@string/force_resizable_activities" 379 android:summary="@string/force_resizable_activities_summary"/> 380 </PreferenceCategory> 381 382</PreferenceScreen> 383