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 android:fragment="com.android.tv.settings.system.development.WirelessDebuggingFragment" /> 99 100 <com.android.tv.settings.widget.SwitchWithSoundPreference 101 android:key="enable_terminal" 102 android:title="@string/enable_terminal_title" 103 android:summary="@string/enable_terminal_summary" /> 104 105 <PreferenceScreen android:key="mock_location_app" 106 android:title="@string/mock_location_app" /> 107 108 <com.android.tv.settings.widget.SwitchWithSoundPreference 109 android:key="debug_view_attributes" 110 android:title="@string/debug_view_attributes" /> 111 112 <PreferenceScreen android:key="debug_app" 113 android:title="@string/debug_app" /> 114 115 <com.android.tv.settings.widget.SwitchWithSoundPreference 116 android:key="wait_for_debugger" 117 android:title="@string/wait_for_debugger" 118 android:summary="@string/wait_for_debugger_summary"/> 119 120 <com.android.tv.settings.widget.SwitchWithSoundPreference 121 android:key="verify_apps_over_usb" 122 android:title="@string/verify_apps_over_usb_title" 123 android:summary="@string/verify_apps_over_usb_summary"/> 124 125 <ListPreference 126 android:key="select_logd_size" 127 android:title="@string/select_logd_size_title" 128 android:dialogTitle="@string/select_logd_size_dialog_title" 129 android:entries="@array/select_logd_size_titles" 130 android:entryValues="@array/select_logd_size_values" /> 131 132 <ListPreference 133 android:key="select_logpersist" 134 android:title="@string/select_logpersist_title" 135 android:dialogTitle="@string/select_logpersist_dialog_title" 136 android:entries="@array/select_logpersist_titles" 137 android:entryValues="@array/select_logpersist_values" /> 138 139 </PreferenceCategory> 140 141 <PreferenceCategory android:key="debug_networking_category" 142 android:title="@string/debug_networking_category"> 143 144 <com.android.tv.settings.widget.SwitchWithSoundPreference 145 android:key="wifi_display_certification" 146 android:title="@string/wifi_display_certification" 147 android:summary="@string/wifi_display_certification_summary"/> 148 149 <com.android.tv.settings.widget.SwitchWithSoundPreference 150 android:key="wifi_verbose_logging" 151 android:title="@string/wifi_verbose_logging" 152 android:summary="@string/wifi_verbose_logging_summary"/> 153 154 <com.android.tv.settings.widget.SwitchWithSoundPreference 155 android:key="mobile_data_always_on" 156 android:title="@string/mobile_data_always_on" 157 android:summary="@string/mobile_data_always_on_summary"/> 158 159 <ListPreference 160 android:key="select_usb_configuration" 161 android:title="@string/select_usb_configuration_title" 162 android:dialogTitle="@string/select_usb_configuration_dialog_title" 163 android:entries="@array/usb_configuration_titles" 164 android:entryValues="@array/usb_configuration_values" /> 165 166 </PreferenceCategory> 167 168 <PreferenceCategory android:key="debug_input_category" 169 android:title="@string/debug_input_category"> 170 171 <com.android.tv.settings.widget.SwitchWithSoundPreference 172 android:key="show_touches" 173 android:title="@string/show_touches" 174 android:summary="@string/show_touches_summary"/> 175 176 <com.android.tv.settings.widget.SwitchWithSoundPreference 177 android:key="pointer_location" 178 android:title="@string/pointer_location" 179 android:summary="@string/pointer_location_summary"/> 180 181 </PreferenceCategory> 182 183 <PreferenceCategory android:key="debug_drawing_category" 184 android:title="@string/debug_drawing_category"> 185 186 <com.android.tv.settings.widget.SwitchWithSoundPreference 187 android:key="show_screen_updates" 188 android:title="@string/show_screen_updates" 189 android:summary="@string/show_screen_updates_summary"/> 190 191 <com.android.tv.settings.widget.SwitchWithSoundPreference 192 android:key="debug_layout" 193 android:title="@string/debug_layout" 194 android:summary="@string/debug_layout_summary"/> 195 196 <com.android.tv.settings.widget.SwitchWithSoundPreference 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:title="@string/debug_hw_drawing_category"> 233 <com.android.tv.settings.widget.SwitchWithSoundPreference 234 android:key="show_hw_screen_udpates" 235 android:title="@string/show_hw_screen_updates" 236 android:summary="@string/show_hw_screen_updates_summary"/> 237 238 <com.android.tv.settings.widget.SwitchWithSoundPreference 239 android:key="show_hw_layers_udpates" 240 android:title="@string/show_hw_layers_updates" 241 android:summary="@string/show_hw_layers_updates_summary"/> 242 243 <ListPreference 244 android:key="debug_hw_overdraw" 245 android:title="@string/debug_hw_overdraw" 246 android:persistent="true" 247 android:entries="@array/debug_hw_overdraw_entries" 248 android:entryValues="@array/debug_hw_overdraw_values" /> 249 250 <ListPreference 251 android:key="show_non_rect_clip" 252 android:title="@string/show_non_rect_clip" 253 android:persistent="true" 254 android:entries="@array/show_non_rect_clip_entries" 255 android:entryValues="@array/show_non_rect_clip_values" /> 256 257 <SwitchPreference 258 android:key="window_blurs" 259 android:title="@string/window_blurs"/> 260 261 <com.android.tv.settings.widget.SwitchWithSoundPreference 262 android:key="force_msaa" 263 android:title="@string/force_msaa" 264 android:summary="@string/force_msaa_summary"/> 265 266 <com.android.tv.settings.widget.SwitchWithSoundPreference 267 android:key="disable_overlays" 268 android:title="@string/disable_overlays" 269 android:summary="@string/disable_overlays_summary"/> 270 271 <ListPreference 272 android:entries="@array/simulate_color_space_entries" 273 android:entryValues="@array/simulate_color_space_values" 274 android:key="simulate_color_space" 275 android:persistent="true" 276 android:summary="%s" 277 android:title="@string/simulate_color_space" /> 278 279 </PreferenceCategory> 280 281 <PreferenceCategory android:key="media_category" 282 android:title="@string/media_category"> 283 284 <com.android.tv.settings.widget.SwitchWithSoundPreference 285 android:key="usb_audio" 286 android:title="@string/usb_audio_disable_routing" 287 android:summary="@string/usb_audio_disable_routing_summary" /> 288 289 </PreferenceCategory> 290 291 <PreferenceCategory android:key="audio_category" 292 android:title="@string/audio_category"> 293 <com.android.tv.settings.widget.SwitchWithSoundPreference 294 android:key="record_audio" 295 android:title="@string/record_audio" 296 android:summaryOn="@string/record_audio_summary_on" 297 android:summaryOff="@string/record_audio_summary_off"/> 298 <Preference 299 android:key="play_recorded_audio" 300 android:title="@string/play_recorded_audio_title"/> 301 <Preference 302 android:key="save_recorded_audio" 303 android:title="@string/save_recorded_audio_title"/> 304 <Preference 305 android:key="time_to_start_read" 306 android:title="@string/time_to_start_read_title"/> 307 <Preference 308 android:key="time_to_valid_audio" 309 android:title="@string/time_to_valid_audio_title"/> 310 <Preference 311 android:key="empty_audio_duration" 312 android:title="@string/empty_audio_duration_title"/> 313 </PreferenceCategory> 314 315 <PreferenceCategory android:key="debug_monitoring_category" 316 android:title="@string/debug_monitoring_category"> 317 318 <com.android.tv.settings.widget.SwitchWithSoundPreference 319 android:key="strict_mode" 320 android:title="@string/strict_mode" 321 android:summary="@string/strict_mode_summary"/> 322 323 <ListPreference 324 android:key="track_frame_time" 325 android:title="@string/track_frame_time" 326 android:persistent="true" 327 android:entries="@array/track_frame_time_entries" 328 android:entryValues="@array/track_frame_time_values" /> 329 330 <ListPreference 331 android:key="enable_opengl_traces" 332 android:title="@string/enable_opengl_traces_title" 333 android:persistent="true" 334 android:entries="@array/enable_opengl_traces_entries" 335 android:entryValues="@array/enable_opengl_traces_values" /> 336 337 </PreferenceCategory> 338 339 <PreferenceCategory android:key="debug_applications_category" 340 android:title="@string/debug_applications_category"> 341 342 <com.android.tv.settings.widget.SwitchWithSoundPreference 343 android:key="immediately_destroy_activities" 344 android:title="@string/immediately_destroy_activities" 345 android:summary="@string/immediately_destroy_activities_summary"/> 346 347 <ListPreference 348 android:key="app_process_limit" 349 android:title="@string/app_process_limit_title" 350 android:persistent="true" 351 android:entries="@array/app_process_limit_entries" 352 android:entryValues="@array/app_process_limit_values" /> 353 354 <com.android.tv.settings.widget.SwitchWithSoundPreference 355 android:key="show_all_anrs" 356 android:title="@string/show_all_anrs" 357 android:summary="@string/show_all_anrs_summary"/> 358 359 <Preference 360 android:key="inactive_apps" 361 android:title="@string/inactive_apps_title" 362 android:fragment="com.android.tv.settings.system.development.InactiveApps" /> 363 364 <com.android.tv.settings.widget.SwitchWithSoundPreference 365 android:key="force_allow_on_external" 366 android:title="@string/force_allow_on_external" 367 android:summary="@string/force_allow_on_external_summary"/> 368 369 <com.android.tv.settings.widget.SwitchWithSoundPreference 370 android:key="force_resizable_activities" 371 android:title="@string/force_resizable_activities" 372 android:summary="@string/force_resizable_activities_summary"/> 373 </PreferenceCategory> 374 375</PreferenceScreen> 376