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 <!-- TODO: implement this 21 <com.android.settings.BugreportPreference 22 android:key="bugreport" 23 android:title="@*android:string/bugreport_title" 24 android:dialogTitle="@*android:string/bugreport_title" /> 25 --> 26 <SwitchPreference 27 android:key="development_settings_enable" 28 android:title="@string/development_settings_enable" 29 android:fragment="com.android.tv.settings.system.development.EnableDevelopmentDialog" 30 /> 31 32 <PreferenceScreen 33 android:key="local_backup_password" 34 android:title="@string/local_backup_password_title" 35 android:summary="@string/local_backup_password_summary_none" 36 android:persistent="false" > 37 <intent 38 android:action="android.settings.privacy.SET_FULL_BACKUP_PASSWORD" 39 android:targetPackage="com.android.settings" 40 android:targetClass="com.android.settings.SetFullBackupPassword" /> 41 </PreferenceScreen> 42 43 <SwitchPreference 44 android:key="keep_screen_on" 45 android:title="@string/keep_screen_on" 46 android:summary="@string/keep_screen_on_summary"/> 47 48 <ListPreference 49 android:key="hdcp_checking" 50 android:title="@string/hdcp_checking_title" 51 android:dialogTitle="@string/hdcp_checking_dialog_title" 52 android:entries="@array/hdcp_checking_titles" 53 android:entryValues="@array/hdcp_checking_values" /> 54 55 <SwitchPreference 56 android:key="bt_hci_snoop_log" 57 android:title="@string/bt_hci_snoop_log" 58 android:summary="@string/bt_hci_snoop_log_summary"/> 59 60 <SwitchPreference 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 66 <PreferenceScreen 67 android:key="running_apps" 68 android:title="@string/runningservices_settings_title" 69 android:summary="@string/runningservices_settings_summary" /> 70 <!-- TODO: implement this --> 71 <!--android:fragment="com.android.settings.applications.RunningServices" />--> 72 73 <PreferenceScreen 74 android:key="convert_to_file_encryption" 75 android:title="@string/convert_to_file_encryption" 76 android:summary="@string/convert_to_file_encryption_enabled" /> 77 <!-- TODO: implement this--> 78 <!--android:fragment="com.android.settings.applications.ConvertToFbe" />--> 79 80 <com.android.tv.settings.system.development.ColorModePreference 81 android:key="color_mode" 82 android:title="@string/picture_color_mode" 83 android:summary="@string/picture_color_mode_desc" 84 android:persistent="false" /> 85 86 <PreferenceCategory android:key="debug_debugging_category" 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 <SwitchPreference 105 android:key="bugreport_in_power" 106 android:title="@string/bugreport_in_power" 107 android:summary="@string/bugreport_in_power_summary"/> 108 109 <PreferenceScreen android:key="mock_location_app" 110 android:title="@string/mock_location_app" /> 111 112 <SwitchPreference 113 android:key="debug_view_attributes" 114 android:title="@string/debug_view_attributes" /> 115 116 <PreferenceScreen android:key="debug_app" 117 android:title="@string/debug_app" /> 118 119 <SwitchPreference 120 android:key="wait_for_debugger" 121 android:title="@string/wait_for_debugger" 122 android:summary="@string/wait_for_debugger_summary"/> 123 124 <SwitchPreference 125 android:key="verify_apps_over_usb" 126 android:title="@string/verify_apps_over_usb_title" 127 android:summary="@string/verify_apps_over_usb_summary"/> 128 129 <ListPreference 130 android:key="select_logd_size" 131 android:title="@string/select_logd_size_title" 132 android:dialogTitle="@string/select_logd_size_dialog_title" 133 android:entries="@array/select_logd_size_titles" 134 android:entryValues="@array/select_logd_size_values" /> 135 136 </PreferenceCategory> 137 138 <PreferenceCategory android:key="debug_networking_category" 139 android:title="@string/debug_networking_category"> 140 141 <SwitchPreference 142 android:key="wifi_display_certification" 143 android:title="@string/wifi_display_certification" 144 android:summary="@string/wifi_display_certification_summary"/> 145 146 <SwitchPreference 147 android:key="wifi_verbose_logging" 148 android:title="@string/wifi_verbose_logging" 149 android:summary="@string/wifi_verbose_logging_summary"/> 150 151 <SwitchPreference 152 android:key="wifi_aggressive_handover" 153 android:title="@string/wifi_aggressive_handover" 154 android:summary="@string/wifi_aggressive_handover_summary"/> 155 156 <SwitchPreference 157 android:key="wifi_allow_scan_with_traffic" 158 android:title="@string/wifi_allow_scan_with_traffic" 159 android:summary="@string/wifi_allow_scan_with_traffic_summary"/> 160 161 <SwitchPreference 162 android:key="mobile_data_always_on" 163 android:title="@string/mobile_data_always_on" 164 android:summary="@string/mobile_data_always_on_summary"/> 165 166 <ListPreference 167 android:key="select_usb_configuration" 168 android:title="@string/select_usb_configuration_title" 169 android:dialogTitle="@string/select_usb_configuration_dialog_title" 170 android:entries="@array/usb_configuration_titles" 171 android:entryValues="@array/usb_configuration_values" /> 172 173 </PreferenceCategory> 174 175 <PreferenceCategory android:key="debug_input_category" 176 android:title="@string/debug_input_category"> 177 178 <SwitchPreference 179 android:key="show_touches" 180 android:title="@string/show_touches" 181 android:summary="@string/show_touches_summary"/> 182 183 <SwitchPreference 184 android:key="pointer_location" 185 android:title="@string/pointer_location" 186 android:summary="@string/pointer_location_summary"/> 187 188 </PreferenceCategory> 189 190 <PreferenceCategory android:key="debug_drawing_category" 191 android:title="@string/debug_drawing_category"> 192 193 <SwitchPreference 194 android:key="show_screen_updates" 195 android:title="@string/show_screen_updates" 196 android:summary="@string/show_screen_updates_summary"/> 197 198 <SwitchPreference 199 android:key="debug_layout" 200 android:title="@string/debug_layout" 201 android:summary="@string/debug_layout_summary"/> 202 203 <SwitchPreference 204 android:key="force_rtl_layout_all_locales" 205 android:title="@string/force_rtl_layout_all_locales" 206 android:summary="@string/force_rtl_layout_all_locales_summary"/> 207 208 <ListPreference 209 android:key="window_animation_scale" 210 android:title="@string/window_animation_scale_title" 211 android:persistent="false" 212 android:entries="@array/window_animation_scale_entries" 213 android:entryValues="@array/window_animation_scale_values" /> 214 215 <ListPreference 216 android:key="transition_animation_scale" 217 android:title="@string/transition_animation_scale_title" 218 android:persistent="false" 219 android:entries="@array/transition_animation_scale_entries" 220 android:entryValues="@array/transition_animation_scale_values" /> 221 222 <ListPreference 223 android:key="animator_duration_scale" 224 android:title="@string/animator_duration_scale_title" 225 android:persistent="false" 226 android:entries="@array/animator_duration_scale_entries" 227 android:entryValues="@array/animator_duration_scale_values" /> 228 229 <ListPreference 230 android:key="overlay_display_devices" 231 android:title="@string/overlay_display_devices_title" 232 android:persistent="false" 233 android:entries="@array/overlay_display_devices_entries" 234 android:entryValues="@array/overlay_display_devices_values" /> 235 236 </PreferenceCategory> 237 238 <PreferenceCategory android:key="debug_hw_drawing_category" 239 android:title="@string/debug_hw_drawing_category"> 240 241 <SwitchPreference 242 android:key="force_hw_ui" 243 android:title="@string/force_hw_ui" 244 android:summary="@string/force_hw_ui_summary"/> 245 246 <SwitchPreference 247 android:key="show_hw_screen_udpates" 248 android:title="@string/show_hw_screen_updates" 249 android:summary="@string/show_hw_screen_updates_summary"/> 250 251 <SwitchPreference 252 android:key="show_hw_layers_udpates" 253 android:title="@string/show_hw_layers_updates" 254 android:summary="@string/show_hw_layers_updates_summary"/> 255 256 <ListPreference 257 android:key="debug_hw_overdraw" 258 android:title="@string/debug_hw_overdraw" 259 android:persistent="false" 260 android:entries="@array/debug_hw_overdraw_entries" 261 android:entryValues="@array/debug_hw_overdraw_values" /> 262 263 <ListPreference 264 android:key="show_non_rect_clip" 265 android:title="@string/show_non_rect_clip" 266 android:persistent="false" 267 android:entries="@array/show_non_rect_clip_entries" 268 android:entryValues="@array/show_non_rect_clip_values" /> 269 270 <SwitchPreference 271 android:key="force_msaa" 272 android:title="@string/force_msaa" 273 android:summary="@string/force_msaa_summary"/> 274 275 <SwitchPreference 276 android:key="disable_overlays" 277 android:title="@string/disable_overlays" 278 android:summary="@string/disable_overlays_summary"/> 279 280 <ListPreference 281 android:entries="@array/simulate_color_space_entries" 282 android:entryValues="@array/simulate_color_space_values" 283 android:key="simulate_color_space" 284 android:persistent="false" 285 android:summary="%s" 286 android:title="@string/simulate_color_space" /> 287 288 </PreferenceCategory> 289 290 <PreferenceCategory android:key="media_category" 291 android:title="@string/media_category"> 292 293 <SwitchPreference 294 android:key="usb_audio" 295 android:title="@string/usb_audio_disable_routing" 296 android:summary="@string/usb_audio_disable_routing_summary" /> 297 298 </PreferenceCategory> 299 300 <PreferenceCategory android:key="debug_monitoring_category" 301 android:title="@string/debug_monitoring_category"> 302 303 <SwitchPreference 304 android:key="strict_mode" 305 android:title="@string/strict_mode" 306 android:summary="@string/strict_mode_summary"/> 307 308 <ListPreference 309 android:key="track_frame_time" 310 android:title="@string/track_frame_time" 311 android:persistent="false" 312 android:entries="@array/track_frame_time_entries" 313 android:entryValues="@array/track_frame_time_values" /> 314 315 <ListPreference 316 android:key="enable_opengl_traces" 317 android:title="@string/enable_opengl_traces_title" 318 android:persistent="false" 319 android:entries="@array/enable_opengl_traces_entries" 320 android:entryValues="@array/enable_opengl_traces_values" /> 321 322 </PreferenceCategory> 323 324 <PreferenceCategory android:key="debug_applications_category" 325 android:title="@string/debug_applications_category"> 326 327 <SwitchPreference 328 android:key="immediately_destroy_activities" 329 android:title="@string/immediately_destroy_activities" 330 android:summary="@string/immediately_destroy_activities_summary"/> 331 332 <ListPreference 333 android:key="app_process_limit" 334 android:title="@string/app_process_limit_title" 335 android:persistent="false" 336 android:entries="@array/app_process_limit_entries" 337 android:entryValues="@array/app_process_limit_values" /> 338 339 <SwitchPreference 340 android:key="show_all_anrs" 341 android:title="@string/show_all_anrs" 342 android:summary="@string/show_all_anrs_summary"/> 343 344 <Preference 345 android:key="inactive_apps" 346 android:title="@string/inactive_apps_title" 347 android:fragment="com.android.tv.settings.system.development.InactiveApps" /> 348 349 <SwitchPreference 350 android:key="force_allow_on_external" 351 android:title="@string/force_allow_on_external" 352 android:summary="@string/force_allow_on_external_summary"/> 353 354 <SwitchPreference 355 android:key="force_resizable_activities" 356 android:title="@string/force_resizable_activities" 357 android:summary="@string/force_resizable_activities_summary"/> 358 </PreferenceCategory> 359 360 </PreferenceScreen> 361