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 <PreferenceScreen 76 android:key="convert_to_file_encryption" 77 android:title="@string/convert_to_file_encryption" 78 android:summary="@string/convert_to_file_encryption_enabled" /> 79 <!-- TODO: implement this--> 80 <!--android:fragment="com.android.settings.applications.ConvertToFbe" />--> 81 82 <com.android.tv.settings.system.development.ColorModePreference 83 android:key="color_mode" 84 android:title="@string/picture_color_mode" 85 android:summary="@string/picture_color_mode_desc" 86 android:persistent="true" /> 87 88 <PreferenceCategory android:key="debug_debugging_category" 89 android:title="@string/debug_debugging_category"> 90 91 <com.android.tv.settings.widget.SwitchWithSoundPreference 92 android:key="enable_adb" 93 android:title="@string/enable_adb" 94 android:summary="@string/enable_adb_summary" 95 android:fragment="com.android.tv.settings.system.development.AdbDialog" /> 96 97 <Preference android:key="clear_adb_keys" 98 android:title="@string/clear_adb_keys" 99 android:fragment="com.android.tv.settings.system.development.AdbKeysDialog" /> 100 101 <com.android.tv.settings.widget.SwitchWithSoundPreference 102 android:key="enable_terminal" 103 android:title="@string/enable_terminal_title" 104 android:summary="@string/enable_terminal_summary" /> 105 106 <PreferenceScreen android:key="mock_location_app" 107 android:title="@string/mock_location_app" /> 108 109 <com.android.tv.settings.widget.SwitchWithSoundPreference 110 android:key="debug_view_attributes" 111 android:title="@string/debug_view_attributes" /> 112 113 <PreferenceScreen android:key="debug_app" 114 android:title="@string/debug_app" /> 115 116 <com.android.tv.settings.widget.SwitchWithSoundPreference 117 android:key="wait_for_debugger" 118 android:title="@string/wait_for_debugger" 119 android:summary="@string/wait_for_debugger_summary"/> 120 121 <com.android.tv.settings.widget.SwitchWithSoundPreference 122 android:key="verify_apps_over_usb" 123 android:title="@string/verify_apps_over_usb_title" 124 android:summary="@string/verify_apps_over_usb_summary"/> 125 126 <ListPreference 127 android:key="select_logd_size" 128 android:title="@string/select_logd_size_title" 129 android:dialogTitle="@string/select_logd_size_dialog_title" 130 android:entries="@array/select_logd_size_titles" 131 android:entryValues="@array/select_logd_size_values" /> 132 133 <ListPreference 134 android:key="select_logpersist" 135 android:title="@string/select_logpersist_title" 136 android:dialogTitle="@string/select_logpersist_dialog_title" 137 android:entries="@array/select_logpersist_titles" 138 android:entryValues="@array/select_logpersist_values" /> 139 140 </PreferenceCategory> 141 142 <PreferenceCategory android:key="debug_networking_category" 143 android:title="@string/debug_networking_category"> 144 145 <com.android.tv.settings.widget.SwitchWithSoundPreference 146 android:key="wifi_display_certification" 147 android:title="@string/wifi_display_certification" 148 android:summary="@string/wifi_display_certification_summary"/> 149 150 <com.android.tv.settings.widget.SwitchWithSoundPreference 151 android:key="wifi_verbose_logging" 152 android:title="@string/wifi_verbose_logging" 153 android:summary="@string/wifi_verbose_logging_summary"/> 154 155 <com.android.tv.settings.widget.SwitchWithSoundPreference 156 android:key="mobile_data_always_on" 157 android:title="@string/mobile_data_always_on" 158 android:summary="@string/mobile_data_always_on_summary"/> 159 160 <ListPreference 161 android:key="select_usb_configuration" 162 android:title="@string/select_usb_configuration_title" 163 android:dialogTitle="@string/select_usb_configuration_dialog_title" 164 android:entries="@array/usb_configuration_titles" 165 android:entryValues="@array/usb_configuration_values" /> 166 167 </PreferenceCategory> 168 169 <PreferenceCategory android:key="debug_input_category" 170 android:title="@string/debug_input_category"> 171 172 <com.android.tv.settings.widget.SwitchWithSoundPreference 173 android:key="show_touches" 174 android:title="@string/show_touches" 175 android:summary="@string/show_touches_summary"/> 176 177 <com.android.tv.settings.widget.SwitchWithSoundPreference 178 android:key="pointer_location" 179 android:title="@string/pointer_location" 180 android:summary="@string/pointer_location_summary"/> 181 182 </PreferenceCategory> 183 184 <PreferenceCategory android:key="debug_drawing_category" 185 android:title="@string/debug_drawing_category"> 186 187 <com.android.tv.settings.widget.SwitchWithSoundPreference 188 android:key="show_screen_updates" 189 android:title="@string/show_screen_updates" 190 android:summary="@string/show_screen_updates_summary"/> 191 192 <com.android.tv.settings.widget.SwitchWithSoundPreference 193 android:key="debug_layout" 194 android:title="@string/debug_layout" 195 android:summary="@string/debug_layout_summary"/> 196 197 <com.android.tv.settings.widget.SwitchWithSoundPreference 198 android:key="force_rtl_layout_all_locales" 199 android:title="@string/force_rtl_layout_all_locales" 200 android:summary="@string/force_rtl_layout_all_locales_summary"/> 201 202 <ListPreference 203 android:key="window_animation_scale" 204 android:title="@string/window_animation_scale_title" 205 android:persistent="true" 206 android:entries="@array/window_animation_scale_entries" 207 android:entryValues="@array/window_animation_scale_values" /> 208 209 <ListPreference 210 android:key="transition_animation_scale" 211 android:title="@string/transition_animation_scale_title" 212 android:persistent="true" 213 android:entries="@array/transition_animation_scale_entries" 214 android:entryValues="@array/transition_animation_scale_values" /> 215 216 <ListPreference 217 android:key="animator_duration_scale" 218 android:title="@string/animator_duration_scale_title" 219 android:persistent="true" 220 android:entries="@array/animator_duration_scale_entries" 221 android:entryValues="@array/animator_duration_scale_values" /> 222 223 <ListPreference 224 android:key="overlay_display_devices" 225 android:title="@string/overlay_display_devices_title" 226 android:persistent="true" 227 android:entries="@array/overlay_display_devices_entries" 228 android:entryValues="@array/overlay_display_devices_values" /> 229 230 </PreferenceCategory> 231 232 <PreferenceCategory android:key="debug_hw_drawing_category" 233 android:title="@string/debug_hw_drawing_category"> 234 <com.android.tv.settings.widget.SwitchWithSoundPreference 235 android:key="show_hw_screen_udpates" 236 android:title="@string/show_hw_screen_updates" 237 android:summary="@string/show_hw_screen_updates_summary"/> 238 239 <com.android.tv.settings.widget.SwitchWithSoundPreference 240 android:key="show_hw_layers_udpates" 241 android:title="@string/show_hw_layers_updates" 242 android:summary="@string/show_hw_layers_updates_summary"/> 243 244 <ListPreference 245 android:key="debug_hw_overdraw" 246 android:title="@string/debug_hw_overdraw" 247 android:persistent="true" 248 android:entries="@array/debug_hw_overdraw_entries" 249 android:entryValues="@array/debug_hw_overdraw_values" /> 250 251 <ListPreference 252 android:key="show_non_rect_clip" 253 android:title="@string/show_non_rect_clip" 254 android:persistent="true" 255 android:entries="@array/show_non_rect_clip_entries" 256 android:entryValues="@array/show_non_rect_clip_values" /> 257 258 <SwitchPreference 259 android:key="window_blurs" 260 android:title="@string/window_blurs"/> 261 262 <com.android.tv.settings.widget.SwitchWithSoundPreference 263 android:key="force_msaa" 264 android:title="@string/force_msaa" 265 android:summary="@string/force_msaa_summary"/> 266 267 <com.android.tv.settings.widget.SwitchWithSoundPreference 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="true" 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 <com.android.tv.settings.widget.SwitchWithSoundPreference 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="audio_category" 293 android:title="@string/audio_category"> 294 <com.android.tv.settings.widget.SwitchWithSoundPreference 295 android:key="record_audio" 296 android:title="@string/record_audio" 297 android:summaryOn="@string/record_audio_summary_on" 298 android:summaryOff="@string/record_audio_summary_off"/> 299 <Preference 300 android:key="play_recorded_audio" 301 android:title="@string/play_recorded_audio_title"/> 302 <Preference 303 android:key="save_recorded_audio" 304 android:title="@string/save_recorded_audio_title"/> 305 <Preference 306 android:key="time_to_start_read" 307 android:title="@string/time_to_start_read_title"/> 308 <Preference 309 android:key="time_to_valid_audio" 310 android:title="@string/time_to_valid_audio_title"/> 311 <Preference 312 android:key="empty_audio_duration" 313 android:title="@string/empty_audio_duration_title"/> 314 </PreferenceCategory> 315 316 <PreferenceCategory android:key="debug_monitoring_category" 317 android:title="@string/debug_monitoring_category"> 318 319 <com.android.tv.settings.widget.SwitchWithSoundPreference 320 android:key="strict_mode" 321 android:title="@string/strict_mode" 322 android:summary="@string/strict_mode_summary"/> 323 324 <ListPreference 325 android:key="track_frame_time" 326 android:title="@string/track_frame_time" 327 android:persistent="true" 328 android:entries="@array/track_frame_time_entries" 329 android:entryValues="@array/track_frame_time_values" /> 330 331 <ListPreference 332 android:key="enable_opengl_traces" 333 android:title="@string/enable_opengl_traces_title" 334 android:persistent="true" 335 android:entries="@array/enable_opengl_traces_entries" 336 android:entryValues="@array/enable_opengl_traces_values" /> 337 338 </PreferenceCategory> 339 340 <PreferenceCategory android:key="debug_applications_category" 341 android:title="@string/debug_applications_category"> 342 343 <com.android.tv.settings.widget.SwitchWithSoundPreference 344 android:key="immediately_destroy_activities" 345 android:title="@string/immediately_destroy_activities" 346 android:summary="@string/immediately_destroy_activities_summary"/> 347 348 <ListPreference 349 android:key="app_process_limit" 350 android:title="@string/app_process_limit_title" 351 android:persistent="true" 352 android:entries="@array/app_process_limit_entries" 353 android:entryValues="@array/app_process_limit_values" /> 354 355 <com.android.tv.settings.widget.SwitchWithSoundPreference 356 android:key="show_all_anrs" 357 android:title="@string/show_all_anrs" 358 android:summary="@string/show_all_anrs_summary"/> 359 360 <Preference 361 android:key="inactive_apps" 362 android:title="@string/inactive_apps_title" 363 android:fragment="com.android.tv.settings.system.development.InactiveApps" /> 364 365 <com.android.tv.settings.widget.SwitchWithSoundPreference 366 android:key="force_allow_on_external" 367 android:title="@string/force_allow_on_external" 368 android:summary="@string/force_allow_on_external_summary"/> 369 370 <com.android.tv.settings.widget.SwitchWithSoundPreference 371 android:key="force_resizable_activities" 372 android:title="@string/force_resizable_activities" 373 android:summary="@string/force_resizable_activities_summary"/> 374 </PreferenceCategory> 375 376</PreferenceScreen> 377