1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18                  xmlns:settings="http://schemas.android.com/apk/res-auto"
19                  android:key="development_prefs_screen"
20                  android:title="@string/development_settings_title">
21
22    <PreferenceCategory
23        android:key="debug_misc_category"
24        android:order="100">
25
26        <Preference
27            android:key="memory"
28            android:title="@string/memory_settings_title"
29            android:summary="@string/summary_placeholder"
30            android:fragment="com.android.settings.applications.ProcessStatsSummary" />
31
32        <com.android.settings.BugreportPreference
33            android:key="bugreport"
34            android:title="@*android:string/bugreport_title"
35            android:dialogTitle="@*android:string/bugreport_title" />
36
37        <Preference
38            android:key="bug_report_handler"
39            android:title="@string/bug_report_handler_title"
40            android:summary="@string/summary_placeholder"
41            android:fragment="com.android.settings.bugreporthandler.BugReportHandlerPicker" />
42
43        <Preference
44            android:key="system_server_heap_dump"
45            android:title="@string/capture_system_heap_dump_title" />
46
47        <Preference
48            android:key="development_memtag_page"
49            android:title="@string/development_memtag_page_title"
50            android:fragment="com.android.settings.development.DevelopmentMemtagPage" />
51
52        <Preference
53            android:key="local_backup_password"
54            android:title="@string/local_backup_password_title"
55            android:summary="@string/local_backup_password_summary_none"
56            android:persistent="false">
57            <intent
58                android:action="android.settings.privacy.SET_FULL_BACKUP_PASSWORD"
59                android:targetPackage="com.android.settings"
60                android:targetClass="com.android.settings.SetFullBackupPassword" />
61        </Preference>
62
63        <com.android.settingslib.RestrictedSwitchPreference
64            android:key="keep_screen_on"
65            android:title="@string/keep_screen_on"
66            android:summary="@string/keep_screen_on_summary"
67            settings:useAdditionalSummary="true" />
68
69        <ListPreference
70            android:key="hdcp_checking"
71            android:title="@string/hdcp_checking_title"
72            android:summary="@string/summary_placeholder"
73            android:dialogTitle="@string/hdcp_checking_dialog_title"
74            android:entries="@array/hdcp_checking_titles"
75            android:entryValues="@array/hdcp_checking_values" />
76
77        <ListPreference
78            android:key="bt_stack_log_level"
79            android:title="@string/bt_stack_log_level"
80            android:dialogTitle="@string/bt_stack_log_level_summary"
81            android:entries="@array/bt_stack_log_level_entries"
82            android:entryValues="@array/bt_stack_log_level_values" />
83
84        <ListPreference
85            android:key="bt_hci_snoop_log"
86            android:title="@string/bt_hci_snoop_log"
87            android:dialogTitle="@string/bt_hci_snoop_log_summary"
88            android:entries="@array/bt_hci_snoop_log_entries"
89            android:entryValues="@array/bt_hci_snoop_log_values" />
90
91        <Preference
92            android:key="snoop_logger_filters_dashboard"
93            android:title="@string/bt_hci_snoop_log_filters_dashboard_title"
94            android:fragment=
95                "com.android.settings.development.snooplogger.SnoopLoggerFiltersDashboard" />
96
97        <ListPreference
98            android:key="bt_hci_snoop_log_filter_pbap"
99            android:title="@string/bt_hci_snoop_log_filter_pbap_title"
100            android:dialogTitle="@string/bt_hci_snoop_log_filter_summary"
101            android:entries="@array/bt_hci_snoop_log_profile_filter_entries"
102            android:entryValues="@array/bt_hci_snoop_log_profile_filter_values" />
103
104        <ListPreference
105            android:key="bt_hci_snoop_log_filter_map"
106            android:title="@string/bt_hci_snoop_log_filter_map_title"
107            android:dialogTitle="@string/bt_hci_snoop_log_filter_summary"
108            android:entries="@array/bt_hci_snoop_log_profile_filter_entries"
109            android:entryValues="@array/bt_hci_snoop_log_profile_filter_values" />
110
111        <com.android.settingslib.RestrictedSwitchPreference
112            android:key="oem_unlock_enable"
113            android:title="@string/oem_unlock_enable"
114            android:summary="@string/oem_unlock_enable_summary"
115            settings:useAdditionalSummary="true" />
116
117        <SwitchPreference
118            android:key="enable_16k_pages"
119            android:title="@string/enable_16k_pages"
120            android:summary="@string/enable_16k_pages_summary"
121            settings:useAdditionalSummary="true" />
122
123        <Preference
124            android:key="running_apps"
125            android:title="@string/runningservices_settings_title"
126            android:summary="@string/runningservices_settings_summary"
127            android:fragment="com.android.settings.applications.RunningServices" />
128
129        <com.android.settings.development.ColorModePreference
130            android:key="picture_color_mode"
131            android:title="@string/picture_color_mode"
132            android:summary="@string/picture_color_mode_desc" />
133
134        <Preference android:key="select_webview_provider"
135                    android:title="@string/select_webview_provider_title"
136                    android:dialogTitle="@string/select_webview_provider_dialog_title"
137                    android:fragment="com.android.settings.webview.WebViewAppPicker" />
138
139        <SwitchPreferenceCompat
140            android:key="color_temperature"
141            android:title="@string/color_temperature"
142            android:summary="@string/color_temperature_desc" />
143
144        <SwitchPreferenceCompat
145            android:key="ota_disable_automatic_update"
146            android:title="@string/ota_disable_automatic_update"
147            android:summary="@string/ota_disable_automatic_update_summary" />
148
149        <Preference android:key="dsu_loader"
150                    android:title="@string/dsu_loader_title" />
151
152        <Preference
153            android:key="demo_mode"
154            android:title="@string/demo_mode">
155            <intent android:action="com.android.settings.action.DEMO_MODE"
156                    android:targetPackage="com.android.systemui"/>
157        </Preference>
158
159        <Preference
160            android:key="quick_settings_tiles"
161            android:title="@string/quick_settings_developer_tiles"
162            android:fragment="com.android.settings.development.qstile.DevelopmentTileConfigFragment" />
163
164        <ListPreference
165            android:key="grammatical_gender"
166            android:title="@string/grammatical_gender_title"
167            android:dialogTitle="@string/grammatical_gender_dialog_title"
168            android:entries="@array/grammatical_gender_entries"
169            android:entryValues="@array/grammatical_gender_values" />
170    </PreferenceCategory>
171
172    <PreferenceCategory
173        android:key="debug_debugging_category"
174        android:title="@string/debug_debugging_category"
175        android:order="200">
176
177        <com.android.settingslib.RestrictedSwitchPreference
178            android:key="enable_adb"
179            android:title="@string/enable_adb"
180            android:summary="@string/enable_adb_summary" />
181
182        <Preference android:key="clear_adb_keys"
183                    android:title="@string/clear_adb_keys" />
184
185        <com.android.settingslib.PrimarySwitchPreference
186            android:fragment="com.android.settings.development.WirelessDebuggingFragment"
187            android:key="toggle_adb_wireless"
188            android:title="@string/enable_adb_wireless"
189            android:summary="@string/enable_adb_wireless_summary"
190            settings:keywords="@string/keywords_adb_wireless" />
191
192        <SwitchPreferenceCompat
193            android:key="adb_authorization_timeout"
194            android:title="@string/adb_authorization_timeout_title"
195            android:summary="@string/adb_authorization_timeout_summary" />
196
197        <SwitchPreferenceCompat
198            android:key="enable_terminal"
199            android:title="@string/enable_terminal_title"
200            android:summary="@string/enable_terminal_summary" />
201
202        <SwitchPreferenceCompat
203            android:key="bugreport_in_power"
204            android:title="@string/bugreport_in_power"
205            android:summary="@string/bugreport_in_power_summary" />
206
207        <SwitchPreferenceCompat
208            android:key="enable_verbose_vendor_logging"
209            android:title="@string/enable_verbose_vendor_logging"
210            android:summary="@string/enable_verbose_vendor_logging_summary" />
211
212        <SwitchPreferenceCompat
213            android:key="automatic_system_server_heap_dumps"
214            android:title="@string/automatic_system_heap_dump_title"
215            android:summary="@string/automatic_system_heap_dump_summary" />
216
217        <SwitchPreferenceCompat
218            android:key="debug_view_attributes"
219            android:title="@string/debug_view_attributes" />
220
221        <Preference android:key="debug_app"
222                    android:title="@string/debug_app" />
223
224        <SwitchPreferenceCompat
225            android:key="wait_for_debugger"
226            android:title="@string/wait_for_debugger"
227            android:summary="@string/wait_for_debugger_summary" />
228
229        <com.android.settingslib.RestrictedSwitchPreference
230            android:key="verify_apps_over_usb"
231            android:title="@string/verify_apps_over_usb_title"
232            android:summary="@string/verify_apps_over_usb_summary" />
233
234        <SwitchPreferenceCompat
235            android:key="art_verifier_for_debuggable"
236            android:title="@string/art_verifier_for_debuggable_title"
237            android:summary="@string/art_verifier_for_debuggable_summary" />
238
239        <ListPreference
240            android:key="select_logd_size"
241            android:title="@string/select_logd_size_title"
242            android:dialogTitle="@string/select_logd_size_dialog_title"
243            android:entries="@array/select_logd_size_titles"
244            android:entryValues="@array/select_logd_size_values" />
245
246        <ListPreference
247            android:key="select_logpersist"
248            android:title="@string/select_logpersist_title"
249            android:dialogTitle="@string/select_logpersist_dialog_title"
250            android:entries="@array/select_logpersist_titles"
251            android:entryValues="@array/select_logpersist_values" />
252
253        <SwitchPreferenceCompat
254            android:key="camera_laser_sensor_switch"
255            android:title="@string/camera_laser_sensor_switch" />
256
257        <Preference
258            android:key="feature_flags_dashboard"
259            android:title="@string/feature_flags_dashboard_title"
260            android:fragment="com.android.settings.development.featureflags.FeatureFlagsDashboard" />
261
262        <SwitchPreferenceCompat
263            android:key="enable_gpu_debug_layers"
264            android:title="@string/enable_gpu_debug_layers"
265            android:summary="@string/enable_gpu_debug_layers_summary" />
266
267        <SwitchPreferenceCompat
268            android:key="enable_angle_as_system_driver"
269            android:title="@string/enable_angle_as_system_driver"
270            android:summary="@string/enable_angle_as_system_driver_summary" />
271
272        <SwitchPreferenceCompat
273            android:key="disable_game_default_frame_rate"
274            android:title="@string/disable_game_default_frame_rate_title"
275            android:summary="@string/disable_game_default_frame_rate_summary"/>
276
277        <Preference
278            android:key="graphics_driver_dashboard"
279            android:title="@string/graphics_driver_dashboard_title"
280            android:summary="@string/graphics_driver_dashboard_summary"
281            android:fragment="com.android.settings.development.graphicsdriver.GraphicsDriverDashboard" />
282
283        <Preference
284            android:key="platform_compat_dashboard"
285            android:title="@string/platform_compat_dashboard_title"
286            android:summary="@string/platform_compat_dashboard_summary"
287            settings:controller="com.android.settings.spa.development.compat.PlatformCompatPreferenceController"
288            />
289
290        <SwitchPreferenceCompat
291            android:key="show_refresh_rate"
292            android:title="@string/show_refresh_rate"
293            android:summary="@string/show_refresh_rate_summary" />
294
295        <SwitchPreferenceCompat
296            android:key="show_hdr_sdr_ratio"
297            android:title="@string/show_hdr_sdr_ratio"
298            android:summary="@string/show_hdr_sdr_ratio_summary" />
299
300        <SwitchPreferenceCompat
301            android:key="overlay_settings"
302            android:title="@string/overlay_settings_title"
303            android:summary="@string/overlay_settings_summary" />
304
305        <SwitchPreferenceCompat
306            android:key="pref_key_peak_refresh_rate"
307            android:title="@string/force_high_refresh_rate_toggle"
308            android:summary="@string/force_high_refresh_rate_desc" />
309
310        <SwitchPreferenceCompat
311            android:key="allow_mock_modem"
312            android:title="@string/allow_mock_modem"
313            android:summary="@string/allow_mock_modem_summary" />
314
315    </PreferenceCategory>
316
317    <PreferenceCategory
318        android:key="dashboard_tile_placeholder"
319        android:order="300" />
320
321    <PreferenceCategory
322        android:key="debug_networking_category"
323        android:title="@string/debug_networking_category"
324        android:order="400">
325
326        <SwitchPreferenceCompat
327            android:key="wifi_display_certification"
328            android:title="@string/wifi_display_certification"
329            android:summary="@string/wifi_display_certification_summary" />
330
331        <SwitchPreferenceCompat
332            android:key="wifi_verbose_logging"
333            android:title="@string/wifi_verbose_logging"
334            android:summary="@string/wifi_verbose_logging_summary" />
335
336        <SwitchPreferenceCompat
337            android:key="wifi_scan_throttling"
338            android:title="@string/wifi_scan_throttling"
339            android:summary="@string/wifi_scan_throttling_summary" />
340
341        <SwitchPreferenceCompat
342            android:key="wifi_non_persistent_mac_randomization"
343            android:title="@string/wifi_non_persistent_mac_randomization"
344            android:summary="@string/wifi_non_persistent_mac_randomization_summary" />
345
346        <SwitchPreferenceCompat
347            android:key="mobile_data_always_on"
348            android:title="@string/mobile_data_always_on"
349            android:summary="@string/mobile_data_always_on_summary" />
350
351        <SwitchPreferenceCompat
352            android:key="tethering_hardware_offload"
353            android:title="@string/tethering_hardware_offload"
354            android:summary="@string/tethering_hardware_offload_summary" />
355
356        <ListPreference
357            android:key="ingress_rate_limit"
358            android:title="@string/ingress_rate_limit_title"
359            android:summary="@string/ingress_rate_limit_summary"
360            android:dialogTitle="@string/ingress_rate_limit_dialog_title"
361            android:entries="@array/ingress_rate_limit_entries"
362            android:entryValues="@array/ingress_rate_limit_values" />
363
364        <com.android.settingslib.RestrictedPreference
365            android:key="default_usb_configuration"
366            android:fragment="com.android.settings.connecteddevice.usb.UsbDefaultFragment"
367            android:title="@string/usb_default_label"/>
368
369        <SwitchPreferenceCompat
370            android:key="bluetooth_show_devices_without_names"
371            android:title="@string/bluetooth_show_devices_without_names"
372            android:summary="@string/bluetooth_show_devices_without_names_summary" />
373
374        <SwitchPreferenceCompat
375            android:key="bluetooth_disable_absolute_volume"
376            android:title="@string/bluetooth_disable_absolute_volume"
377            android:summary="@string/bluetooth_disable_absolute_volume_summary" />
378
379        <SwitchPreferenceCompat
380            android:key="bluetooth_disable_leaudio"
381            android:title="@string/bluetooth_disable_leaudio"
382            android:summary="@string/bluetooth_disable_leaudio_summary" />
383
384        <ListPreference
385            android:key="bluetooth_leaudio_mode"
386            android:title="@string/bluetooth_leaudio_mode"
387            android:summary="@string/summary_placeholder"
388            android:entries="@array/bluetooth_leaudio_mode"
389            android:entryValues="@array/bluetooth_leaudio_mode_values"/>
390
391        <SwitchPreferenceCompat
392            android:key="bluetooth_show_leaudio_device_details"
393            android:title="@string/bluetooth_show_leaudio_device_details"/>
394
395        <SwitchPreferenceCompat
396            android:key="bluetooth_bypass_leaudio_allowlist"
397            android:title="@string/bluetooth_bypass_leaudio_allowlist"
398            android:summary="@string/bluetooth_bypass_leaudio_allowlist_summary" />
399
400        <SwitchPreferenceCompat
401            android:key="bluetooth_disable_le_audio_hw_offload"
402            android:title="@string/bluetooth_disable_le_audio_hw_offload" />
403
404        <SwitchPreferenceCompat
405            android:key="bluetooth_disable_a2dp_hw_offload"
406            android:title="@string/bluetooth_disable_a2dp_hw_offload" />
407
408        <ListPreference
409            android:key="bluetooth_select_avrcp_version"
410            android:title="@string/bluetooth_select_avrcp_version_string"
411            android:dialogTitle="@string/bluetooth_select_avrcp_version_dialog_title"
412            android:entries="@array/bluetooth_avrcp_versions"
413            android:entryValues="@array/bluetooth_avrcp_version_values" />
414
415        <ListPreference
416            android:key="bluetooth_select_map_version"
417            android:title="@string/bluetooth_select_map_version_string"
418            android:dialogTitle="@string/bluetooth_select_map_version_dialog_title"
419            android:entries="@array/bluetooth_map_versions"
420            android:entryValues="@array/bluetooth_map_version_values" />
421
422        <SwitchPreferenceCompat
423            android:key="bluetooth_hd_audio_settings"
424            android:title="@string/bluetooth_profile_a2dp_high_quality_unknown_codec"/>
425
426        <com.android.settings.development.bluetooth.BluetoothCodecDialogPreference
427            android:key="bluetooth_audio_codec_settings"
428            android:title="@string/bluetooth_select_a2dp_codec_type"
429            android:dialogTitle="@string/bluetooth_select_a2dp_codec_type_dialog_title"
430            android:dialogLayout="@layout/bluetooth_audio_codec_dialog"
431            android:positiveButtonText=""
432            android:negativeButtonText="@string/dlg_ok"/>
433
434        <ListPreference
435            android:key="bluetooth_audio_codec_settings_list"
436            android:title="@string/bluetooth_select_a2dp_codec_type"
437            android:dialogTitle="@string/bluetooth_select_a2dp_codec_type_dialog_title"/>
438
439        <com.android.settings.development.bluetooth.BluetoothSampleRateDialogPreference
440            android:key="bluetooth_sample_rate_settings"
441            android:title="@string/bluetooth_select_a2dp_codec_sample_rate"
442            android:dialogTitle="@string/bluetooth_select_a2dp_codec_sample_rate_dialog_title"
443            android:dialogLayout="@layout/bluetooth_audio_sample_rate_dialog"
444            android:positiveButtonText=""
445            android:negativeButtonText="@string/dlg_ok"/>
446
447        <com.android.settings.development.bluetooth.BluetoothBitPerSampleDialogPreference
448            android:key="bluetooth_bit_per_sample_settings"
449            android:title="@string/bluetooth_select_a2dp_codec_bits_per_sample"
450            android:dialogTitle="@string/bluetooth_select_a2dp_codec_bits_per_sample_dialog_title"
451            android:dialogLayout="@layout/bluetooth_audio_bit_per_sample_dialog"
452            android:positiveButtonText=""
453            android:negativeButtonText="@string/dlg_ok"/>
454
455        <com.android.settings.development.bluetooth.BluetoothChannelModeDialogPreference
456            android:key="bluetooth_channel_mode_settings"
457            android:title="@string/bluetooth_select_a2dp_codec_channel_mode"
458            android:dialogTitle="@string/bluetooth_select_a2dp_codec_channel_mode_dialog_title"
459            android:dialogLayout="@layout/bluetooth_audio_channel_mode_dialog"
460            android:positiveButtonText=""
461            android:negativeButtonText="@string/dlg_ok"/>
462
463        <com.android.settings.development.bluetooth.BluetoothQualityDialogPreference
464            android:key="bluetooth_a2dp_ldac_playback_quality"
465            android:title="@string/bluetooth_select_a2dp_codec_ldac_playback_quality"
466            android:dialogTitle="@string/bluetooth_select_a2dp_codec_ldac_playback_quality_dialog_title"
467            android:dialogLayout="@layout/bluetooth_audio_quality_dialog"
468            android:positiveButtonText=""
469            android:negativeButtonText="@string/dlg_ok"/>
470
471        <ListPreference
472            android:key="bluetooth_max_connected_audio_devices"
473            android:title="@string/bluetooth_max_connected_audio_devices_string"
474            android:dialogTitle="@string/bluetooth_max_connected_audio_devices_dialog_title"
475            android:entries="@array/bluetooth_max_connected_audio_devices"
476            android:entryValues="@array/bluetooth_max_connected_audio_devices_values" />
477
478        <SwitchPreferenceCompat
479            android:key="nfc_verbose_vendor_log"
480            android:title="@string/nfc_verbose_vendor_log_title"
481            android:summary="@string/nfc_verbose_vendor_log_summary" />
482
483        <SwitchPreferenceCompat
484            android:key="nfc_snoop_log"
485            android:title="@string/nfc_snoop_log_title"
486            android:summary="@string/nfc_snoop_log_summary"/>
487
488    </PreferenceCategory>
489
490    <PreferenceCategory
491        android:key="debug_input_category"
492        android:title="@string/debug_input_category"
493        android:order="500">
494
495        <SwitchPreferenceCompat
496            android:key="show_touches"
497            android:title="@string/show_touches"
498            android:summary="@string/show_touches_summary" />
499
500        <SwitchPreferenceCompat
501            android:key="pointer_location"
502            android:title="@string/pointer_location"
503            android:summary="@string/pointer_location_summary" />
504
505        <SwitchPreferenceCompat
506            android:key="show_key_presses"
507            android:title="@string/show_key_presses"
508            android:summary="@string/show_key_presses_summary" />
509
510    </PreferenceCategory>
511
512    <PreferenceCategory
513        android:key="debug_drawing_category"
514        android:title="@string/debug_drawing_category"
515        android:order="600">
516
517        <SwitchPreferenceCompat
518            android:key="show_screen_updates"
519            android:title="@string/show_screen_updates"
520            android:summary="@string/show_screen_updates_summary" />
521
522        <SwitchPreferenceCompat
523            android:key="debug_layout"
524            android:title="@string/debug_layout"
525            android:summary="@string/debug_layout_summary" />
526
527        <SwitchPreferenceCompat
528            android:key="force_rtl_layout_all_locales"
529            android:title="@string/force_rtl_layout_all_locales"
530            android:summary="@string/force_rtl_layout_all_locales_summary" />
531
532        <ListPreference
533            android:key="window_animation_scale"
534            android:title="@string/window_animation_scale_title"
535            android:entries="@array/window_animation_scale_entries"
536            android:entryValues="@array/window_animation_scale_values" />
537
538        <ListPreference
539            android:key="transition_animation_scale"
540            android:title="@string/transition_animation_scale_title"
541            android:entries="@array/transition_animation_scale_entries"
542            android:entryValues="@array/transition_animation_scale_values" />
543
544        <ListPreference
545            android:key="animator_duration_scale"
546            android:title="@string/animator_duration_scale_title"
547            android:entries="@array/animator_duration_scale_entries"
548            android:entryValues="@array/animator_duration_scale_values" />
549
550        <ListPreference
551            android:key="overlay_display_devices"
552            android:title="@string/overlay_display_devices_title"
553            android:entries="@array/overlay_display_devices_entries"
554            android:entryValues="@array/overlay_display_devices_values" />
555
556        <com.android.settings.display.DensityPreference
557            android:key="density"
558            android:title="@string/developer_smallest_width" />
559
560        <ListPreference
561            android:key="display_cutout_emulation"
562            android:title="@string/display_cutout_emulation"
563            settings:keywords="@string/display_cutout_emulation_keywords" />
564
565        <SwitchPreferenceCompat
566            android:key="transparent_navigation_bar"
567            android:title="@string/transparent_navigation_bar"
568            android:summary="@string/transparent_navigation_bar_summary" />
569
570    </PreferenceCategory>
571
572    <PreferenceCategory
573        android:key="debug_hw_drawing_category"
574        android:title="@string/debug_hw_drawing_category"
575        android:order="700">
576
577        <SwitchPreferenceCompat
578            android:key="show_hw_screen_updates"
579            android:title="@string/show_hw_screen_updates"
580            android:summary="@string/show_hw_screen_updates_summary" />
581
582        <SwitchPreferenceCompat
583            android:key="show_hw_layers_updates"
584            android:title="@string/show_hw_layers_updates"
585            android:summary="@string/show_hw_layers_updates_summary" />
586
587        <ListPreference
588            android:key="debug_hw_overdraw"
589            android:title="@string/debug_hw_overdraw"
590            android:entries="@array/debug_hw_overdraw_entries"
591            android:entryValues="@array/debug_hw_overdraw_values" />
592
593        <ListPreference
594            android:key="show_non_rect_clip"
595            android:title="@string/show_non_rect_clip"
596            android:entries="@array/show_non_rect_clip_entries"
597            android:entryValues="@array/show_non_rect_clip_values" />
598
599        <SwitchPreferenceCompat
600            android:key="hwui_force_dark"
601            android:title="@string/hwui_force_dark_title"
602            android:summary="@string/hwui_force_dark_summary" />
603
604        <SwitchPreferenceCompat
605            android:key="enable_blurs_on_windows"
606            android:title="@string/window_blurs"/>
607
608        <SwitchPreferenceCompat
609            android:key="force_msaa"
610            android:title="@string/force_msaa"
611            android:summary="@string/force_msaa_summary" />
612
613        <SwitchPreferenceCompat
614            android:key="disable_overlays"
615            android:title="@string/disable_overlays"
616            android:summary="@string/disable_overlays_summary" />
617
618        <ListPreference
619            android:entries="@array/simulate_color_space_entries"
620            android:entryValues="@array/simulate_color_space_values"
621            android:key="simulate_color_space"
622            android:summary="%s"
623            android:title="@string/simulate_color_space" />
624
625    </PreferenceCategory>
626
627    <PreferenceCategory
628        android:key="media_category"
629        android:title="@string/media_category"
630        android:order="800">
631
632        <com.android.settingslib.RestrictedSwitchPreference
633            android:key="usb_audio"
634            android:title="@string/usb_audio_disable_routing"
635            android:summary="@string/usb_audio_disable_routing_summary" />
636
637        <Preference
638            android:key="transcode_settings"
639            android:title="@string/transcode_settings_title"
640            android:fragment="com.android.settings.development.transcode.TranscodeSettingsFragment" />
641
642        <Preference
643            android:key="media_drm_settings"
644            android:title="@string/media_drm_settings_title"
645            android:fragment="com.android.settings.development.mediadrm.MediaDrmSettingsFragment" />
646
647    </PreferenceCategory>
648
649    <PreferenceCategory
650        android:key="debug_monitoring_category"
651        android:title="@string/debug_monitoring_category"
652        android:order="900">
653
654        <SwitchPreferenceCompat
655            android:key="strict_mode"
656            android:title="@string/strict_mode"
657            android:summary="@string/strict_mode_summary" />
658
659        <ListPreference
660            android:key="track_frame_time"
661            android:title="@string/track_frame_time"
662            android:entries="@array/track_frame_time_entries"
663            android:entryValues="@array/track_frame_time_values"
664            settings:keywords="@string/track_frame_time_keywords" />
665
666    </PreferenceCategory>
667
668    <PreferenceCategory
669        android:key="debug_applications_category"
670        android:title="@string/debug_applications_category"
671        android:order="1000">
672
673        <SwitchPreferenceCompat
674            android:key="immediately_destroy_activities"
675            android:title="@string/immediately_destroy_activities"
676            android:summary="@string/immediately_destroy_activities_summary" />
677
678        <ListPreference
679            android:key="app_process_limit"
680            android:title="@string/app_process_limit_title"
681            android:entries="@array/app_process_limit_entries"
682            android:entryValues="@array/app_process_limit_values" />
683
684        <Preference
685            android:key="background_check"
686            android:fragment="com.android.settings.applications.appops.BackgroundCheckSummary"
687            android:title="@string/background_check_pref" />
688
689        <SwitchPreferenceCompat
690            android:key="show_first_crash_dialog"
691            android:title="@string/show_first_crash_dialog"
692            android:summary="@string/show_first_crash_dialog_summary" />
693
694        <SwitchPreferenceCompat
695            android:key="show_all_anrs"
696            android:title="@string/show_all_anrs"
697            android:summary="@string/show_all_anrs_summary" />
698
699        <ListPreference
700            android:key="cached_apps_freezer"
701            android:title="@string/cached_apps_freezer"
702            android:entries="@array/cached_apps_freezer_entries"
703            android:entryValues="@array/cached_apps_freezer_values" />
704
705        <SwitchPreferenceCompat
706            android:key="show_notification_channel_warnings"
707            android:title="@string/show_notification_channel_warnings"
708            android:summary="@string/show_notification_channel_warnings_summary" />
709
710        <SwitchPreferenceCompat
711            android:key="disable_screen_share_protections_for_apps_and_notifications"
712            android:title="@string/disable_screen_share_protections_for_apps_and_notifications"
713            android:summary="@string/disable_screen_share_protections_for_apps_and_notifications_summary" />
714
715        <Preference
716            android:key="asst_importance_reset"
717            android:title="@string/asst_importance_reset_title"
718            settings:controller="com.android.settings.notification.ImportanceResetPreferenceController" />
719
720        <Preference
721            android:key="inactive_apps"
722            android:title="@string/inactive_apps_title"
723            android:fragment="com.android.settings.fuelgauge.InactiveApps" />
724
725        <Preference
726            android:key="tare"
727            android:title="@string/tare_title" >
728        </Preference>
729
730        <SwitchPreferenceCompat
731            android:key="force_allow_on_external"
732            android:title="@string/force_allow_on_external"
733            android:summary="@string/force_allow_on_external_summary" />
734
735        <SwitchPreferenceCompat
736            android:key="force_resizable_activities"
737            android:title="@string/force_resizable_activities"
738            android:summary="@string/force_resizable_activities_summary" />
739
740        <SwitchPreferenceCompat
741            android:key="enable_freeform_support"
742            android:title="@string/enable_freeform_support"
743            android:summary="@string/enable_freeform_support_summary" />
744
745        <SwitchPreferenceCompat
746            android:key="force_desktop_mode_on_external_displays"
747            android:title="@string/force_desktop_mode"
748            android:summary="@string/force_desktop_mode_summary" />
749
750        <SwitchPreferenceCompat
751            android:key="enable_non_resizable_multi_window"
752            android:title="@string/enable_non_resizable_multi_window"
753            android:summary="@string/enable_non_resizable_multi_window_summary" />
754
755        <SwitchPreferenceCompat
756            android:key="back_navigation_animation"
757            android:title="@string/back_navigation_animation"
758            android:summary="@string/back_navigation_animation_summary" />
759
760        <Preference
761            android:key="reset_shortcut_manager_throttling"
762            android:title="@string/reset_shortcut_manager_throttling" />
763
764        <SwitchPreferenceCompat
765            android:key="disable_phantom_process_monitor"
766            android:title="@string/disable_phantom_process_monitor_title"
767            android:summary="@string/disable_phantom_process_monitor_summary" />
768
769        <SwitchPreferenceCompat
770            android:key="force_enable_notes_role"
771            android:title="@string/enable_notes_role_title"
772            android:summary="@string/enable_notes_role_summary" />
773
774    </PreferenceCategory>
775
776    <PreferenceCategory
777        android:key="debug_autofill_category"
778        android:title="@string/debug_autofill_category"
779        settings:searchable="false"
780        android:order="1100"> <!-- Incremented by 100 from last order (i.e. 1000) -->
781
782        <ListPreference
783            android:key="autofill_logging_level"
784            android:title="@string/autofill_logging_level_title"
785            android:entries="@array/autofill_logging_level_entries"
786            android:entryValues="@array/autofill_logging_level_values" />
787
788        <com.android.settings.development.autofill.AutofillMaxPartitionsPreference
789            android:key="autofill_max_partitions"
790            android:title="@string/autofill_max_partitions" />
791
792        <com.android.settings.development.autofill.AutofillVisibleDatasetsPreference
793            android:key="autofill_visible_datasets"
794            android:title="@string/autofill_max_visible_datasets" />
795
796        <Preference
797            android:key="autofill_reset_developer_options"
798            android:title="@string/autofill_reset_developer_options" />
799
800    </PreferenceCategory>
801
802    <PreferenceCategory
803        android:key="storage_category"
804        android:title="@string/storage_category"
805        android:order="1200">
806
807        <Preference
808            android:key="shared_data"
809            android:title="@string/shared_data_title"
810            android:summary="@string/shared_data_summary">
811            <intent
812                android:targetPackage="com.android.settings"
813                android:targetClass="com.android.settings.development.storage.BlobInfoListView" />
814        </Preference>
815    </PreferenceCategory>
816
817    <PreferenceCategory
818        android:key="location_category"
819        android:title="@string/location_category"
820        android:order="1300">
821
822        <Preference android:key="mock_location_app"
823                    android:title="@string/mock_location_app" />
824
825        <SwitchPreferenceCompat
826            android:key="enable_gnss_raw_meas_full_tracking"
827            android:title="@string/enable_gnss_raw_meas_full_tracking"
828            android:summary="@string/enable_gnss_raw_meas_full_tracking_summary" />
829
830        <SwitchPreferenceCompat
831            android:title="@string/location_indicator_settings_title"
832            android:summary="@string/location_indicator_settings_description"
833            android:defaultValue="true"
834            android:key="location_indicator_settings"
835            settings:controller="com.android.settings.location.LocationIndicatorsPreferenceController"/>
836    </PreferenceCategory>
837
838    <PreferenceCategory
839        android:key="input_method_category"
840        android:title="@string/input_method_category"
841        android:order="1400">
842
843        <SwitchPreferenceCompat
844            android:key="stylus_handwriting"
845            android:title="@string/stylus_handwriting"
846            android:defaultValue="true"
847            android:summary="@string/stylus_handwriting_summary" />
848    </PreferenceCategory>
849</PreferenceScreen>
850