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 <ListPreference 53 android:key="bt_hci_snoop_log" 54 android:title="@string/bt_hci_snoop_log" 55 android:dialogTitle="@string/bt_hci_snoop_log_summary" 56 android:entries="@array/bt_hci_snoop_log_entries" 57 android:entryValues="@array/bt_hci_snoop_log_values" /> 58 59 <SwitchPreference 60 android:key="oem_unlock_enable" 61 android:title="@string/oem_unlock_enable" 62 android:summary="@string/oem_unlock_enable_summary" 63 android:fragment="com.android.tv.settings.system.development.OemUnlockDialog" /> 64 65 <PreferenceScreen 66 android:key="running_apps" 67 android:title="@string/runningservices_settings_title" 68 android:summary="@string/runningservices_settings_summary" /> 69 <!-- TODO: implement this --> 70 <!--android:fragment="com.android.settings.applications.RunningServices" />--> 71 72 <PreferenceScreen 73 android:key="convert_to_file_encryption" 74 android:title="@string/convert_to_file_encryption" 75 android:summary="@string/convert_to_file_encryption_enabled" /> 76 <!-- TODO: implement this--> 77 <!--android:fragment="com.android.settings.applications.ConvertToFbe" />--> 78 79 <com.android.tv.settings.system.development.ColorModePreference 80 android:key="color_mode" 81 android:title="@string/picture_color_mode" 82 android:summary="@string/picture_color_mode_desc" 83 android:persistent="true" /> 84 85 <PreferenceCategory android:key="debug_debugging_category" 86 android:layout="@layout/preference_category_compact_layout" 87 android:title="@string/debug_debugging_category"> 88 89 <SwitchPreference 90 android:key="enable_adb" 91 android:title="@string/enable_adb" 92 android:summary="@string/enable_adb_summary" 93 android:fragment="com.android.tv.settings.system.development.AdbDialog" /> 94 95 <Preference android:key="clear_adb_keys" 96 android:title="@string/clear_adb_keys" 97 android:fragment="com.android.tv.settings.system.development.AdbKeysDialog" /> 98 99 <SwitchPreference 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 <SwitchPreference 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 <SwitchPreference 115 android:key="wait_for_debugger" 116 android:title="@string/wait_for_debugger" 117 android:summary="@string/wait_for_debugger_summary"/> 118 119 <SwitchPreference 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:layout="@layout/preference_category_compact_layout" 142 android:title="@string/debug_networking_category"> 143 144 <SwitchPreference 145 android:key="wifi_display_certification" 146 android:title="@string/wifi_display_certification" 147 android:summary="@string/wifi_display_certification_summary"/> 148 149 <SwitchPreference 150 android:key="wifi_verbose_logging" 151 android:title="@string/wifi_verbose_logging" 152 android:summary="@string/wifi_verbose_logging_summary"/> 153 154 <SwitchPreference 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:layout="@layout/preference_category_compact_layout" 170 android:title="@string/debug_input_category"> 171 172 <SwitchPreference 173 android:key="show_touches" 174 android:title="@string/show_touches" 175 android:summary="@string/show_touches_summary"/> 176 177 <SwitchPreference 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:layout="@layout/preference_category_compact_layout" 186 android:title="@string/debug_drawing_category"> 187 188 <SwitchPreference 189 android:key="show_screen_updates" 190 android:title="@string/show_screen_updates" 191 android:summary="@string/show_screen_updates_summary"/> 192 193 <SwitchPreference 194 android:key="debug_layout" 195 android:title="@string/debug_layout" 196 android:summary="@string/debug_layout_summary"/> 197 198 <SwitchPreference 199 android:key="force_rtl_layout_all_locales" 200 android:title="@string/force_rtl_layout_all_locales" 201 android:summary="@string/force_rtl_layout_all_locales_summary"/> 202 203 <ListPreference 204 android:key="window_animation_scale" 205 android:title="@string/window_animation_scale_title" 206 android:persistent="true" 207 android:entries="@array/window_animation_scale_entries" 208 android:entryValues="@array/window_animation_scale_values" /> 209 210 <ListPreference 211 android:key="transition_animation_scale" 212 android:title="@string/transition_animation_scale_title" 213 android:persistent="true" 214 android:entries="@array/transition_animation_scale_entries" 215 android:entryValues="@array/transition_animation_scale_values" /> 216 217 <ListPreference 218 android:key="animator_duration_scale" 219 android:title="@string/animator_duration_scale_title" 220 android:persistent="true" 221 android:entries="@array/animator_duration_scale_entries" 222 android:entryValues="@array/animator_duration_scale_values" /> 223 224 <ListPreference 225 android:key="overlay_display_devices" 226 android:title="@string/overlay_display_devices_title" 227 android:persistent="true" 228 android:entries="@array/overlay_display_devices_entries" 229 android:entryValues="@array/overlay_display_devices_values" /> 230 231 </PreferenceCategory> 232 233 <PreferenceCategory android:key="debug_hw_drawing_category" 234 android:layout="@layout/preference_category_compact_layout" 235 android:title="@string/debug_hw_drawing_category"> 236 <SwitchPreference 237 android:key="show_hw_screen_udpates" 238 android:title="@string/show_hw_screen_updates" 239 android:summary="@string/show_hw_screen_updates_summary"/> 240 241 <SwitchPreference 242 android:key="show_hw_layers_udpates" 243 android:title="@string/show_hw_layers_updates" 244 android:summary="@string/show_hw_layers_updates_summary"/> 245 246 <ListPreference 247 android:key="debug_hw_overdraw" 248 android:title="@string/debug_hw_overdraw" 249 android:persistent="true" 250 android:entries="@array/debug_hw_overdraw_entries" 251 android:entryValues="@array/debug_hw_overdraw_values" /> 252 253 <ListPreference 254 android:key="show_non_rect_clip" 255 android:title="@string/show_non_rect_clip" 256 android:persistent="true" 257 android:entries="@array/show_non_rect_clip_entries" 258 android:entryValues="@array/show_non_rect_clip_values" /> 259 260 <SwitchPreference 261 android:key="force_msaa" 262 android:title="@string/force_msaa" 263 android:summary="@string/force_msaa_summary"/> 264 265 <SwitchPreference 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:layout="@layout/preference_category_compact_layout" 282 android:title="@string/media_category"> 283 284 <SwitchPreference 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="debug_monitoring_category" 292 android:layout="@layout/preference_category_compact_layout" 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="true" 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="true" 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:layout="@layout/preference_category_compact_layout" 318 android:title="@string/debug_applications_category"> 319 320 <SwitchPreference 321 android:key="immediately_destroy_activities" 322 android:title="@string/immediately_destroy_activities" 323 android:summary="@string/immediately_destroy_activities_summary"/> 324 325 <ListPreference 326 android:key="app_process_limit" 327 android:title="@string/app_process_limit_title" 328 android:persistent="true" 329 android:entries="@array/app_process_limit_entries" 330 android:entryValues="@array/app_process_limit_values" /> 331 332 <SwitchPreference 333 android:key="show_all_anrs" 334 android:title="@string/show_all_anrs" 335 android:summary="@string/show_all_anrs_summary"/> 336 337 <Preference 338 android:key="inactive_apps" 339 android:title="@string/inactive_apps_title" 340 android:fragment="com.android.tv.settings.system.development.InactiveApps" /> 341 342 <SwitchPreference 343 android:key="force_allow_on_external" 344 android:title="@string/force_allow_on_external" 345 android:summary="@string/force_allow_on_external_summary"/> 346 347 <SwitchPreference 348 android:key="force_resizable_activities" 349 android:title="@string/force_resizable_activities" 350 android:summary="@string/force_resizable_activities_summary"/> 351 </PreferenceCategory> 352 353</PreferenceScreen> 354