• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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:icon="@drawable/ic_settings_memory"
29            android:title="@string/memory_settings_title"
30            android:summary="@string/summary_placeholder"
31            android:fragment="com.android.car.developeroptions.applications.ProcessStatsSummary" />
32
33        <com.android.car.developeroptions.BugreportPreference
34            android:key="bugreport"
35            android:title="@*android:string/bugreport_title"
36            android:dialogTitle="@*android:string/bugreport_title" />
37
38        <Preference
39            android:key="system_server_heap_dump"
40            android:title="@string/capture_system_heap_dump_title" />
41
42        <Preference
43            android:key="local_backup_password"
44            android:title="@string/local_backup_password_title"
45            android:summary="@string/local_backup_password_summary_none"
46            android:persistent="false">
47            <intent
48                android:action="android.settings.privacy.SET_FULL_BACKUP_PASSWORD"
49                android:targetPackage="com.android.car.developeroptions"
50                android:targetClass="com.android.car.developeroptions.SetFullBackupPassword" />
51        </Preference>
52
53        <com.android.settingslib.RestrictedSwitchPreference
54            android:key="keep_screen_on"
55            android:title="@string/keep_screen_on"
56            android:summary="@string/keep_screen_on_summary"
57            settings:useAdditionalSummary="true" />
58
59        <ListPreference
60            android:key="hdcp_checking"
61            android:title="@string/hdcp_checking_title"
62            android:dialogTitle="@string/hdcp_checking_dialog_title"
63            android:entries="@array/hdcp_checking_titles"
64            android:entryValues="@array/hdcp_checking_values" />
65
66        <ListPreference
67            android:key="bt_hci_snoop_log"
68            android:title="@string/bt_hci_snoop_log"
69            android:dialogTitle="@string/bt_hci_snoop_log_summary"
70            android:entries="@array/bt_hci_snoop_log_entries"
71            android:entryValues="@array/bt_hci_snoop_log_values" />
72
73        <com.android.settingslib.RestrictedSwitchPreference
74            android:key="oem_unlock_enable"
75            android:title="@string/oem_unlock_enable"
76            android:summary="@string/oem_unlock_enable_summary"
77            settings:useAdditionalSummary="true" />
78
79        <Preference
80            android:key="running_apps"
81            android:title="@string/runningservices_settings_title"
82            android:summary="@string/runningservices_settings_summary"
83            android:fragment="com.android.car.developeroptions.applications.RunningServices" />
84
85        <Preference
86            android:key="convert_to_file_encryption"
87            android:title="@string/convert_to_file_encryption"
88            android:summary="@string/convert_to_file_encryption_enabled"
89            android:fragment="com.android.car.developeroptions.applications.ConvertToFbe" />
90
91        <com.android.car.developeroptions.development.ColorModePreference
92            android:key="picture_color_mode"
93            android:title="@string/picture_color_mode"
94            android:summary="@string/picture_color_mode_desc" />
95
96        <Preference android:key="select_webview_provider"
97                    android:title="@string/select_webview_provider_title"
98                    android:dialogTitle="@string/select_webview_provider_dialog_title"
99                    android:fragment="com.android.car.developeroptions.webview.WebViewAppPicker" />
100
101        <SwitchPreference
102            android:key="color_temperature"
103            android:title="@string/color_temperature"
104            android:summary="@string/color_temperature_desc" />
105
106        <SwitchPreference
107            android:key="ota_disable_automatic_update"
108            android:title="@string/ota_disable_automatic_update"
109            android:summary="@string/ota_disable_automatic_update_summary" />
110
111        <Preference
112            android:key="demo_mode"
113            android:title="@string/demo_mode">
114            <intent android:action="com.android.car.developeroptions.action.DEMO_MODE" />
115        </Preference>
116
117        <Preference
118            android:key="quick_settings_tiles"
119            android:title="@string/quick_settings_developer_tiles"
120            android:fragment="com.android.car.developeroptions.development.qstile.DevelopmentTileConfigFragment"
121            settings:searchable="false" />
122
123    <!-- Configure trust agent behavior -->
124    <SwitchPreference
125        android:key="security_setting_trust_agents_extend_unlock"
126        android:title="@string/trust_agents_extend_unlock_title"
127        android:summary="@string/trust_agents_extend_unlock_summary" />
128
129    <SwitchPreference
130        android:key="security_setting_trust_lost_locks_screen"
131        android:title="@string/trust_lost_locks_screen_title"
132        android:summary="@string/trust_lost_locks_screen_summary" />
133    </PreferenceCategory>
134
135    <PreferenceCategory
136        android:key="debug_debugging_category"
137        android:title="@string/debug_debugging_category"
138        android:order="200">
139
140        <SwitchPreference
141            android:key="enable_adb"
142            android:title="@string/enable_adb"
143            android:summary="@string/enable_adb_summary" />
144
145        <Preference android:key="clear_adb_keys"
146                    android:title="@string/clear_adb_keys" />
147
148        <SwitchPreference
149            android:key="enable_terminal"
150            android:title="@string/enable_terminal_title"
151            android:summary="@string/enable_terminal_summary" />
152
153        <SwitchPreference
154            android:key="bugreport_in_power"
155            android:title="@string/bugreport_in_power"
156            android:summary="@string/bugreport_in_power_summary" />
157
158        <SwitchPreference
159            android:key="automatic_system_server_heap_dumps"
160            android:title="@string/automatic_system_heap_dump_title"
161            android:summary="@string/automatic_system_heap_dump_summary" />
162
163        <Preference android:key="mock_location_app"
164                    android:title="@string/mock_location_app" />
165
166        <SwitchPreference
167            android:key="enable_gnss_raw_meas_full_tracking"
168            android:title="@string/enable_gnss_raw_meas_full_tracking"
169            android:summary="@string/enable_gnss_raw_meas_full_tracking_summary" />
170
171        <SwitchPreference
172            android:key="debug_view_attributes"
173            android:title="@string/debug_view_attributes" />
174
175        <Preference android:key="debug_app"
176                    android:title="@string/debug_app" />
177
178        <SwitchPreference
179            android:key="wait_for_debugger"
180            android:title="@string/wait_for_debugger"
181            android:summary="@string/wait_for_debugger_summary" />
182
183        <com.android.settingslib.RestrictedSwitchPreference
184            android:key="verify_apps_over_usb"
185            android:title="@string/verify_apps_over_usb_title"
186            android:summary="@string/verify_apps_over_usb_summary" />
187
188        <SwitchPreference
189            android:key="art_verifier_for_debuggable"
190            android:title="@string/art_verifier_for_debuggable_title"
191            android:summary="@string/art_verifier_for_debuggable_summary" />
192
193        <ListPreference
194            android:key="select_logd_size"
195            android:title="@string/select_logd_size_title"
196            android:dialogTitle="@string/select_logd_size_dialog_title"
197            android:entries="@array/select_logd_size_titles"
198            android:entryValues="@array/select_logd_size_values" />
199
200        <ListPreference
201            android:key="select_logpersist"
202            android:title="@string/select_logpersist_title"
203            android:dialogTitle="@string/select_logpersist_dialog_title"
204            android:entries="@array/select_logpersist_titles"
205            android:entryValues="@array/select_logpersist_values" />
206
207        <SwitchPreference
208            android:key="camera_laser_sensor_switch"
209            android:title="@string/camera_laser_sensor_switch" />
210
211        <Preference
212            android:key="feature_flags_dashboard"
213            android:title="@string/feature_flags_dashboard_title"
214            android:fragment="com.android.car.developeroptions.development.featureflags.FeatureFlagsDashboard"
215            settings:searchable="false" />
216
217        <SwitchPreference
218            android:key="enable_gpu_debug_layers"
219            android:title="@string/enable_gpu_debug_layers"
220            android:summary="@string/enable_gpu_debug_layers_summary" />
221
222        <Preference
223            android:key="game_driver_dashboard"
224            android:title="@string/game_driver_dashboard_title"
225            android:summary="@string/game_driver_dashboard_summary"
226            android:fragment="com.android.car.developeroptions.development.gamedriver.GameDriverDashboard"
227            settings:searchable="false" />
228
229    </PreferenceCategory>
230
231    <PreferenceCategory
232        android:key="dashboard_tile_placeholder"
233        android:order="300" />
234
235    <PreferenceCategory
236        android:key="debug_networking_category"
237        android:title="@string/debug_networking_category"
238        android:order="400">
239
240        <SwitchPreference
241            android:key="wifi_display_certification"
242            android:title="@string/wifi_display_certification"
243            android:summary="@string/wifi_display_certification_summary" />
244
245        <SwitchPreference
246            android:key="wifi_verbose_logging"
247            android:title="@string/wifi_verbose_logging"
248            android:summary="@string/wifi_verbose_logging_summary" />
249
250        <SwitchPreference
251            android:key="mobile_data_always_on"
252            android:title="@string/mobile_data_always_on"
253            android:summary="@string/mobile_data_always_on_summary" />
254
255        <SwitchPreference
256            android:key="tethering_hardware_offload"
257            android:title="@string/tethering_hardware_offload"
258            android:summary="@string/tethering_hardware_offload_summary" />
259
260        <Preference
261            android:key="default_usb_configuration"
262            android:fragment="com.android.car.developeroptions.connecteddevice.usb.UsbDefaultFragment"
263            android:icon="@drawable/ic_usb"
264            android:title="@string/usb_default_label"/>
265
266        <SwitchPreference
267            android:key="bluetooth_show_devices_without_names"
268            android:title="@string/bluetooth_show_devices_without_names"
269            android:summary="@string/bluetooth_show_devices_without_names_summary" />
270
271        <SwitchPreference
272            android:key="bluetooth_disable_absolute_volume"
273            android:title="@string/bluetooth_disable_absolute_volume"
274            android:summary="@string/bluetooth_disable_absolute_volume_summary" />
275
276        <SwitchPreference
277            android:key="bluetooth_disable_a2dp_hw_offload"
278            android:title="@string/bluetooth_disable_a2dp_hw_offload" />
279
280        <ListPreference
281            android:key="bluetooth_select_avrcp_version"
282            android:title="@string/bluetooth_select_avrcp_version_string"
283            android:dialogTitle="@string/bluetooth_select_avrcp_version_dialog_title"
284            android:entries="@array/bluetooth_avrcp_versions"
285            android:entryValues="@array/bluetooth_avrcp_version_values" />
286
287        <ListPreference
288            android:key="bluetooth_select_a2dp_codec"
289            android:title="@string/bluetooth_select_a2dp_codec_type"
290            android:dialogTitle="@string/bluetooth_select_a2dp_codec_type_dialog_title"
291            android:entries="@array/bluetooth_a2dp_codec_titles"
292            android:entryValues="@array/bluetooth_a2dp_codec_values" />
293
294        <ListPreference
295            android:key="bluetooth_select_a2dp_sample_rate"
296            android:title="@string/bluetooth_select_a2dp_codec_sample_rate"
297            android:dialogTitle="@string/bluetooth_select_a2dp_codec_sample_rate_dialog_title"
298            android:entries="@array/bluetooth_a2dp_codec_sample_rate_titles"
299            android:entryValues="@array/bluetooth_a2dp_codec_sample_rate_values" />
300
301        <ListPreference
302            android:key="bluetooth_select_a2dp_bits_per_sample"
303            android:title="@string/bluetooth_select_a2dp_codec_bits_per_sample"
304            android:dialogTitle="@string/bluetooth_select_a2dp_codec_bits_per_sample_dialog_title"
305            android:entries="@array/bluetooth_a2dp_codec_bits_per_sample_titles"
306            android:entryValues="@array/bluetooth_a2dp_codec_bits_per_sample_values" />
307
308        <ListPreference
309            android:key="bluetooth_select_a2dp_channel_mode"
310            android:title="@string/bluetooth_select_a2dp_codec_channel_mode"
311            android:dialogTitle="@string/bluetooth_select_a2dp_codec_channel_mode_dialog_title"
312            android:entries="@array/bluetooth_a2dp_codec_channel_mode_titles"
313            android:entryValues="@array/bluetooth_a2dp_codec_channel_mode_values" />
314
315        <ListPreference
316            android:key="bluetooth_select_a2dp_ldac_playback_quality"
317            android:title="@string/bluetooth_select_a2dp_codec_ldac_playback_quality"
318            android:dialogTitle="@string/bluetooth_select_a2dp_codec_ldac_playback_quality_dialog_title"
319            android:entries="@array/bluetooth_a2dp_codec_ldac_playback_quality_titles"
320            android:entryValues="@array/bluetooth_a2dp_codec_ldac_playback_quality_values" />
321
322        <ListPreference
323            android:key="bluetooth_max_connected_audio_devices"
324            android:title="@string/bluetooth_max_connected_audio_devices_string"
325            android:dialogTitle="@string/bluetooth_max_connected_audio_devices_dialog_title"
326            android:entries="@array/bluetooth_max_connected_audio_devices"
327            android:entryValues="@array/bluetooth_max_connected_audio_devices_values" />
328
329    </PreferenceCategory>
330
331    <PreferenceCategory
332        android:key="debug_input_category"
333        android:title="@string/debug_input_category"
334        android:order="500">
335
336        <SwitchPreference
337            android:key="show_touches"
338            android:title="@string/show_touches"
339            android:summary="@string/show_touches_summary" />
340
341        <SwitchPreference
342            android:key="pointer_location"
343            android:title="@string/pointer_location"
344            android:summary="@string/pointer_location_summary" />
345
346    </PreferenceCategory>
347
348    <PreferenceCategory
349        android:key="debug_drawing_category"
350        android:title="@string/debug_drawing_category"
351        android:order="600">
352
353        <SwitchPreference
354            android:key="show_screen_updates"
355            android:title="@string/show_screen_updates"
356            android:summary="@string/show_screen_updates_summary" />
357
358        <SwitchPreference
359            android:key="debug_layout"
360            android:title="@string/debug_layout"
361            android:summary="@string/debug_layout_summary" />
362
363        <SwitchPreference
364            android:key="force_rtl_layout_all_locales"
365            android:title="@string/force_rtl_layout_all_locales"
366            android:summary="@string/force_rtl_layout_all_locales_summary" />
367
368        <ListPreference
369            android:key="window_animation_scale"
370            android:title="@string/window_animation_scale_title"
371            android:entries="@array/window_animation_scale_entries"
372            android:entryValues="@array/window_animation_scale_values" />
373
374        <ListPreference
375            android:key="transition_animation_scale"
376            android:title="@string/transition_animation_scale_title"
377            android:entries="@array/transition_animation_scale_entries"
378            android:entryValues="@array/transition_animation_scale_values" />
379
380        <ListPreference
381            android:key="animator_duration_scale"
382            android:title="@string/animator_duration_scale_title"
383            android:entries="@array/animator_duration_scale_entries"
384            android:entryValues="@array/animator_duration_scale_values" />
385
386        <ListPreference
387            android:key="overlay_display_devices"
388            android:title="@string/overlay_display_devices_title"
389            android:entries="@array/overlay_display_devices_entries"
390            android:entryValues="@array/overlay_display_devices_values" />
391
392        <com.android.car.developeroptions.display.DensityPreference
393            android:key="density"
394            android:title="@string/developer_smallest_width" />
395
396        <ListPreference
397            android:key="display_cutout_emulation"
398            android:title="@string/display_cutout_emulation"
399            settings:keywords="@string/display_cutout_emulation_keywords" />
400
401    </PreferenceCategory>
402
403    <PreferenceCategory
404        android:key="debug_hw_drawing_category"
405        android:title="@string/debug_hw_drawing_category"
406        android:order="700">
407
408        <SwitchPreference
409            android:key="show_hw_screen_updates"
410            android:title="@string/show_hw_screen_updates"
411            android:summary="@string/show_hw_screen_updates_summary" />
412
413        <SwitchPreference
414            android:key="show_hw_layers_updates"
415            android:title="@string/show_hw_layers_updates"
416            android:summary="@string/show_hw_layers_updates_summary" />
417
418        <ListPreference
419            android:key="debug_hw_overdraw"
420            android:title="@string/debug_hw_overdraw"
421            android:entries="@array/debug_hw_overdraw_entries"
422            android:entryValues="@array/debug_hw_overdraw_values" />
423
424        <ListPreference
425            android:key="show_non_rect_clip"
426            android:title="@string/show_non_rect_clip"
427            android:entries="@array/show_non_rect_clip_entries"
428            android:entryValues="@array/show_non_rect_clip_values" />
429
430        <SwitchPreference
431            android:key="hwui_force_dark"
432            android:title="@string/hwui_force_dark_title"
433            android:summary="@string/hwui_force_dark_summary" />
434
435        <SwitchPreference
436            android:key="force_msaa"
437            android:title="@string/force_msaa"
438            android:summary="@string/force_msaa_summary" />
439
440        <SwitchPreference
441            android:key="disable_overlays"
442            android:title="@string/disable_overlays"
443            android:summary="@string/disable_overlays_summary" />
444
445        <ListPreference
446            android:entries="@array/simulate_color_space_entries"
447            android:entryValues="@array/simulate_color_space_values"
448            android:key="simulate_color_space"
449            android:summary="%s"
450            android:title="@string/simulate_color_space" />
451
452    </PreferenceCategory>
453
454    <PreferenceCategory
455        android:key="media_category"
456        android:title="@string/media_category"
457        android:order="800">
458
459        <SwitchPreference
460            android:key="usb_audio"
461            android:title="@string/usb_audio_disable_routing"
462            android:summary="@string/usb_audio_disable_routing_summary" />
463
464    </PreferenceCategory>
465
466    <PreferenceCategory
467        android:key="debug_monitoring_category"
468        android:title="@string/debug_monitoring_category"
469        android:order="900">
470
471        <SwitchPreference
472            android:key="strict_mode"
473            android:title="@string/strict_mode"
474            android:summary="@string/strict_mode_summary" />
475
476        <ListPreference
477            android:key="track_frame_time"
478            android:title="@string/track_frame_time"
479            android:entries="@array/track_frame_time_entries"
480            android:entryValues="@array/track_frame_time_values" />
481
482    </PreferenceCategory>
483
484    <PreferenceCategory
485        android:key="debug_applications_category"
486        android:title="@string/debug_applications_category"
487        android:order="1000">
488
489        <SwitchPreference
490            android:key="immediately_destroy_activities"
491            android:title="@string/immediately_destroy_activities"
492            android:summary="@string/immediately_destroy_activities_summary" />
493
494        <ListPreference
495            android:key="app_process_limit"
496            android:title="@string/app_process_limit_title"
497            android:entries="@array/app_process_limit_entries"
498            android:entryValues="@array/app_process_limit_values" />
499
500        <Preference
501            android:key="background_check"
502            android:fragment="com.android.car.developeroptions.applications.appops.BackgroundCheckSummary"
503            android:title="@string/background_check_pref" />
504
505        <SwitchPreference
506            android:key="allow_background_activity_starts"
507            android:title="@string/allow_background_activity_starts"
508            android:summary="@string/allow_background_activity_starts_summary" />
509
510        <SwitchPreference
511            android:key="show_first_crash_dialog"
512            android:title="@string/show_first_crash_dialog"
513            android:summary="@string/show_first_crash_dialog_summary" />
514
515        <SwitchPreference
516            android:key="show_all_anrs"
517            android:title="@string/show_all_anrs"
518            android:summary="@string/show_all_anrs_summary" />
519
520        <SwitchPreference
521            android:key="show_notification_channel_warnings"
522            android:title="@string/show_notification_channel_warnings"
523            android:summary="@string/show_notification_channel_warnings_summary" />
524
525        <Preference
526            android:key="inactive_apps"
527            android:title="@string/inactive_apps_title"
528            android:fragment="com.android.car.developeroptions.fuelgauge.InactiveApps" />
529
530        <SwitchPreference
531            android:key="force_allow_on_external"
532            android:title="@string/force_allow_on_external"
533            android:summary="@string/force_allow_on_external_summary" />
534
535        <SwitchPreference
536            android:key="force_resizable_activities"
537            android:title="@string/force_resizable_activities"
538            android:summary="@string/force_resizable_activities_summary" />
539
540        <SwitchPreference
541            android:key="enable_freeform_support"
542            android:title="@string/enable_freeform_support"
543            android:summary="@string/enable_freeform_support_summary" />
544
545        <SwitchPreference
546            android:key="force_desktop_mode_on_external_displays"
547            android:title="@string/force_desktop_mode"
548            android:summary="@string/force_desktop_mode_summary" />
549
550        <Preference
551            android:key="reset_shortcut_manager_throttling"
552            android:title="@string/reset_shortcut_manager_throttling" />
553
554        <SwitchPreference
555            android:key="sms_access_restriction_enabled"
556            android:title="@string/sms_access_restriction_enabled"
557            android:summary="@string/sms_access_restriction_enabled_summary" />
558    </PreferenceCategory>
559
560    <com.android.car.developeroptions.development.autofill.AutofillPreferenceCategory
561        android:key="debug_autofill_category"
562        android:title="@string/debug_autofill_category"
563        android:order="1100">
564
565        <ListPreference
566            android:key="autofill_logging_level"
567            android:title="@string/autofill_logging_level_title"
568            android:entries="@array/autofill_logging_level_entries"
569            android:entryValues="@array/autofill_logging_level_values" />
570
571        <com.android.car.developeroptions.development.autofill.AutofillMaxPartitionsPreference
572            android:key="autofill_max_partitions"
573            android:title="@string/autofill_max_partitions" />
574
575        <com.android.car.developeroptions.development.autofill.AutofillVisibleDatasetsPreference
576            android:key="autofill_visible_datasets"
577            android:title="@string/autofill_max_visible_datasets" />
578
579        <Preference
580            android:key="autofill_reset_developer_options"
581            android:title="@string/autofill_reset_developer_options" />
582
583    </com.android.car.developeroptions.development.autofill.AutofillPreferenceCategory>
584
585    <PreferenceCategory
586        android:key="theme_customization_category"
587        android:title="@string/theme_customization_category"
588        android:order="1200"> <!-- Incremented by 100 from last order (i.e. 1100) -->
589
590        <ListPreference
591            android:key="android.theme.customization.accent_color"
592            android:title="@string/theme_customization_accent_color_title"/>
593        <ListPreference
594            android:key="android.theme.customization.font"
595            android:title="@string/theme_customization_font_title"/>
596        <ListPreference
597            android:key="android.theme.customization.adaptive_icon_shape"
598            android:title="@string/theme_customization_icon_shape_title"/>
599    </PreferenceCategory>
600</PreferenceScreen>
601