• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/com.android.settings"
19        android:title="@string/development_settings_title">
20    <com.android.settings.BugreportPreference
21            android:key="bugreport"
22            android:title="@*android:string/bugreport_title"
23            android:dialogTitle="@*android:string/bugreport_title" />
24
25    <Preference
26            android:key="local_backup_password"
27            android:title="@string/local_backup_password_title"
28            android:summary="@string/local_backup_password_summary_none"
29            android:persistent="false" >
30        <intent
31                android:action="android.settings.privacy.SET_FULL_BACKUP_PASSWORD"
32                android:targetPackage="com.android.settings"
33                android:targetClass="com.android.settings.SetFullBackupPassword" />
34    </Preference>
35
36    <com.android.settingslib.RestrictedSwitchPreference
37        android:key="keep_screen_on"
38        android:title="@string/keep_screen_on"
39        android:summary="@string/keep_screen_on_summary"
40        settings:useAdditionalSummary="true" />
41
42    <ListPreference
43        android:key="hdcp_checking"
44        android:title="@string/hdcp_checking_title"
45        android:dialogTitle="@string/hdcp_checking_dialog_title"
46        android:entries="@array/hdcp_checking_titles"
47        android:entryValues="@array/hdcp_checking_values" />
48
49    <SwitchPreference
50        android:key="bt_hci_snoop_log"
51        android:title="@string/bt_hci_snoop_log"
52        android:summary="@string/bt_hci_snoop_log_summary"/>
53
54    <com.android.settingslib.RestrictedSwitchPreference
55        android:key="oem_unlock_enable"
56        android:title="@string/oem_unlock_enable"
57        android:summary="@string/oem_unlock_enable_summary"
58        settings:useAdditionalSummary="true"/>
59
60    <Preference
61        android:key="running_apps"
62        android:title="@string/runningservices_settings_title"
63        android:summary="@string/runningservices_settings_summary"
64        android:fragment="com.android.settings.applications.RunningServices" />
65
66    <Preference
67        android:key="convert_to_file_encryption"
68        android:title="@string/convert_to_file_encryption"
69        android:summary="@string/convert_to_file_encryption_enabled"
70        android:fragment="com.android.settings.applications.ConvertToFbe" />
71
72    <com.android.settings.development.ColorModePreference
73        android:key="color_mode"
74        android:title="@string/picture_color_mode"
75        android:summary="@string/picture_color_mode_desc" />
76
77    <Preference android:key="select_webview_provider"
78        android:title="@string/select_webview_provider_title"
79        android:dialogTitle="@string/select_webview_provider_dialog_title"
80        android:fragment="com.android.settings.webview.WebViewAppPicker" />
81
82    <SwitchPreference
83        android:key="color_temperature"
84        android:title="@string/color_temperature"
85        android:summary="@string/color_temperature_desc" />
86
87    <SwitchPreference
88        android:key="ota_disable_automatic_update"
89        android:title="@string/ota_disable_automatic_update" />
90
91    <Preference
92        android:key="demo_mode"
93        android:title="@string/demo_mode">
94        <intent android:action="com.android.settings.action.DEMO_MODE" />
95    </Preference>
96
97    <Preference
98        android:key="quick_settings_tiles"
99        android:title="@string/quick_settings_developer_tiles">
100        <intent
101            android:targetPackage="com.android.settings"
102            android:targetClass="com.android.settings.qstile.DevelopmentTileConfigActivity" />
103    </Preference>
104
105    <PreferenceCategory android:key="debug_debugging_category"
106            android:title="@string/debug_debugging_category">
107
108        <SwitchPreference
109            android:key="enable_adb"
110            android:title="@string/enable_adb"
111            android:summary="@string/enable_adb_summary"/>
112
113        <Preference android:key="clear_adb_keys"
114                android:title="@string/clear_adb_keys" />
115
116        <SwitchPreference
117            android:key="enable_terminal"
118            android:title="@string/enable_terminal_title"
119            android:summary="@string/enable_terminal_summary" />
120
121        <SwitchPreference
122            android:key="bugreport_in_power"
123            android:title="@string/bugreport_in_power"
124            android:summary="@string/bugreport_in_power_summary"/>
125
126        <Preference android:key="mock_location_app"
127            android:title="@string/mock_location_app" />
128
129        <SwitchPreference
130                android:key="debug_view_attributes"
131                android:title="@string/debug_view_attributes" />
132
133        <Preference android:key="debug_app"
134                android:title="@string/debug_app" />
135
136        <SwitchPreference
137            android:key="wait_for_debugger"
138            android:title="@string/wait_for_debugger"
139            android:summary="@string/wait_for_debugger_summary"/>
140
141        <com.android.settingslib.RestrictedSwitchPreference
142            android:key="verify_apps_over_usb"
143            android:title="@string/verify_apps_over_usb_title"
144            android:summary="@string/verify_apps_over_usb_summary"/>
145
146        <ListPreference
147            android:key="select_logd_size"
148            android:title="@string/select_logd_size_title"
149            android:dialogTitle="@string/select_logd_size_dialog_title"
150            android:entries="@array/select_logd_size_titles"
151            android:entryValues="@array/select_logd_size_values" />
152
153        <ListPreference
154            android:key="select_logpersist"
155            android:title="@string/select_logpersist_title"
156            android:dialogTitle="@string/select_logpersist_dialog_title"
157            android:entries="@array/select_logpersist_titles"
158            android:entryValues="@array/select_logpersist_values" />
159
160        <SwitchPreference
161            android:key="telephony_monitor_switch"
162            android:title="@string/telephony_monitor_switch"
163            android:summary="@string/telephony_monitor_switch_summary"/>
164
165    </PreferenceCategory>
166
167    <PreferenceCategory android:key="debug_networking_category"
168            android:title="@string/debug_networking_category">
169
170        <SwitchPreference
171            android:key="wifi_display_certification"
172            android:title="@string/wifi_display_certification"
173            android:summary="@string/wifi_display_certification_summary"/>
174
175        <SwitchPreference
176            android:key="wifi_verbose_logging"
177            android:title="@string/wifi_verbose_logging"
178            android:summary="@string/wifi_verbose_logging_summary"/>
179
180        <SwitchPreference
181            android:key="wifi_aggressive_handover"
182            android:title="@string/wifi_aggressive_handover"
183            android:summary="@string/wifi_aggressive_handover_summary"/>
184
185        <SwitchPreference
186            android:key="wifi_allow_scan_with_traffic"
187            android:title="@string/wifi_allow_scan_with_traffic"
188            android:summary="@string/wifi_allow_scan_with_traffic_summary"/>
189
190       <SwitchPreference
191            android:key="mobile_data_always_on"
192            android:title="@string/mobile_data_always_on"
193            android:summary="@string/mobile_data_always_on_summary"/>
194
195        <ListPreference
196            android:key="select_usb_configuration"
197            android:title="@string/select_usb_configuration_title"
198            android:dialogTitle="@string/select_usb_configuration_dialog_title"
199            android:entries="@array/usb_configuration_titles"
200            android:entryValues="@array/usb_configuration_values" />
201
202        <SwitchPreference
203            android:key="bluetooth_disable_absolute_volume"
204            android:title="@string/bluetooth_disable_absolute_volume"
205            android:summary="@string/bluetooth_disable_absolute_volume_summary"/>
206
207        <SwitchPreference
208            android:key="bluetooth_enable_inband_ringing"
209            android:title="@string/bluetooth_enable_inband_ringing"
210            android:summary="@string/bluetooth_enable_inband_ringing_summary"/>
211
212        <ListPreference
213            android:key="bluetooth_select_avrcp_version"
214            android:title="@string/bluetooth_select_avrcp_version_string"
215            android:dialogTitle="@string/bluetooth_select_avrcp_version_dialog_title"
216            android:entries="@array/bluetooth_avrcp_versions"
217            android:entryValues="@array/bluetooth_avrcp_version_values" />
218
219        <ListPreference
220            android:key="bluetooth_select_a2dp_codec"
221            android:title="@string/bluetooth_select_a2dp_codec_type"
222            android:dialogTitle="@string/bluetooth_select_a2dp_codec_type_dialog_title"
223            android:entries="@array/bluetooth_a2dp_codec_titles"
224            android:entryValues="@array/bluetooth_a2dp_codec_values" />
225
226        <ListPreference
227            android:key="bluetooth_select_a2dp_sample_rate"
228            android:title="@string/bluetooth_select_a2dp_codec_sample_rate"
229            android:dialogTitle="@string/bluetooth_select_a2dp_codec_sample_rate_dialog_title"
230            android:entries="@array/bluetooth_a2dp_codec_sample_rate_titles"
231            android:entryValues="@array/bluetooth_a2dp_codec_sample_rate_values" />
232
233        <ListPreference
234            android:key="bluetooth_select_a2dp_bits_per_sample"
235            android:title="@string/bluetooth_select_a2dp_codec_bits_per_sample"
236            android:dialogTitle="@string/bluetooth_select_a2dp_codec_bits_per_sample_dialog_title"
237            android:entries="@array/bluetooth_a2dp_codec_bits_per_sample_titles"
238            android:entryValues="@array/bluetooth_a2dp_codec_bits_per_sample_values" />
239
240        <ListPreference
241            android:key="bluetooth_select_a2dp_channel_mode"
242            android:title="@string/bluetooth_select_a2dp_codec_channel_mode"
243            android:dialogTitle="@string/bluetooth_select_a2dp_codec_channel_mode_dialog_title"
244            android:entries="@array/bluetooth_a2dp_codec_channel_mode_titles"
245            android:entryValues="@array/bluetooth_a2dp_codec_channel_mode_values" />
246
247        <ListPreference
248            android:key="bluetooth_select_a2dp_ldac_playback_quality"
249            android:title="@string/bluetooth_select_a2dp_codec_ldac_playback_quality"
250            android:dialogTitle="@string/bluetooth_select_a2dp_codec_ldac_playback_quality_dialog_title"
251            android:entries="@array/bluetooth_a2dp_codec_ldac_playback_quality_titles"
252            android:entryValues="@array/bluetooth_a2dp_codec_ldac_playback_quality_values" />
253
254    </PreferenceCategory>
255
256    <PreferenceCategory android:key="debug_input_category"
257            android:title="@string/debug_input_category">
258
259        <SwitchPreference
260            android:key="show_touches"
261            android:title="@string/show_touches"
262            android:summary="@string/show_touches_summary"/>
263
264        <SwitchPreference
265            android:key="pointer_location"
266            android:title="@string/pointer_location"
267            android:summary="@string/pointer_location_summary"/>
268
269    </PreferenceCategory>
270
271    <PreferenceCategory android:key="debug_drawing_category"
272            android:title="@string/debug_drawing_category">
273
274        <SwitchPreference
275            android:key="show_screen_updates"
276            android:title="@string/show_screen_updates"
277            android:summary="@string/show_screen_updates_summary"/>
278
279        <SwitchPreference
280            android:key="debug_layout"
281            android:title="@string/debug_layout"
282            android:summary="@string/debug_layout_summary"/>
283
284        <SwitchPreference
285            android:key="force_rtl_layout_all_locales"
286            android:title="@string/force_rtl_layout_all_locales"
287            android:summary="@string/force_rtl_layout_all_locales_summary"/>
288
289        <ListPreference
290            android:key="window_animation_scale"
291            android:title="@string/window_animation_scale_title"
292            android:entries="@array/window_animation_scale_entries"
293            android:entryValues="@array/window_animation_scale_values" />
294
295        <ListPreference
296            android:key="transition_animation_scale"
297            android:title="@string/transition_animation_scale_title"
298            android:entries="@array/transition_animation_scale_entries"
299            android:entryValues="@array/transition_animation_scale_values" />
300
301        <ListPreference
302            android:key="animator_duration_scale"
303            android:title="@string/animator_duration_scale_title"
304            android:entries="@array/animator_duration_scale_entries"
305            android:entryValues="@array/animator_duration_scale_values" />
306
307        <ListPreference
308            android:key="overlay_display_devices"
309            android:title="@string/overlay_display_devices_title"
310            android:entries="@array/overlay_display_devices_entries"
311            android:entryValues="@array/overlay_display_devices_values" />
312
313        <com.android.settings.display.DensityPreference
314            android:key="density"
315            android:title="@string/developer_smallest_width" />
316
317    </PreferenceCategory>
318
319    <PreferenceCategory android:key="debug_hw_drawing_category"
320            android:title="@string/debug_hw_drawing_category">
321
322        <SwitchPreference
323                android:key="force_hw_ui"
324                android:title="@string/force_hw_ui"
325                android:summary="@string/force_hw_ui_summary"/>
326
327        <SwitchPreference
328                android:key="show_hw_screen_udpates"
329                android:title="@string/show_hw_screen_updates"
330                android:summary="@string/show_hw_screen_updates_summary"/>
331
332        <SwitchPreference
333                android:key="show_hw_layers_udpates"
334                android:title="@string/show_hw_layers_updates"
335                android:summary="@string/show_hw_layers_updates_summary"/>
336
337        <ListPreference
338                android:key="debug_hw_overdraw"
339                android:title="@string/debug_hw_overdraw"
340                android:entries="@array/debug_hw_overdraw_entries"
341                android:entryValues="@array/debug_hw_overdraw_values" />
342
343        <ListPreference
344                android:key="show_non_rect_clip"
345                android:title="@string/show_non_rect_clip"
346                android:entries="@array/show_non_rect_clip_entries"
347                android:entryValues="@array/show_non_rect_clip_values" />
348
349        <SwitchPreference
350                android:key="force_msaa"
351                android:title="@string/force_msaa"
352                android:summary="@string/force_msaa_summary"/>
353
354        <SwitchPreference
355                android:key="disable_overlays"
356                android:title="@string/disable_overlays"
357                android:summary="@string/disable_overlays_summary"/>
358
359        <ListPreference
360                android:entries="@array/simulate_color_space_entries"
361                android:entryValues="@array/simulate_color_space_values"
362                android:key="simulate_color_space"
363                android:summary="%s"
364                android:title="@string/simulate_color_space" />
365
366        <ListPreference
367                android:key="debug_hw_renderer"
368                android:title="@string/debug_hw_renderer"
369                android:entries="@array/debug_hw_renderer_entries"
370                android:entryValues="@array/debug_hw_renderer_values" />
371
372    </PreferenceCategory>
373
374    <PreferenceCategory android:key="media_category"
375            android:title="@string/media_category">
376
377        <SwitchPreference
378                android:key="usb_audio"
379                android:title="@string/usb_audio_disable_routing"
380                android:summary="@string/usb_audio_disable_routing_summary" />
381
382    </PreferenceCategory>
383
384    <PreferenceCategory android:key="debug_monitoring_category"
385            android:title="@string/debug_monitoring_category">
386
387        <SwitchPreference
388            android:key="strict_mode"
389            android:title="@string/strict_mode"
390            android:summary="@string/strict_mode_summary"/>
391
392        <ListPreference
393            android:key="track_frame_time"
394            android:title="@string/track_frame_time"
395            android:entries="@array/track_frame_time_entries"
396            android:entryValues="@array/track_frame_time_values" />
397
398    </PreferenceCategory>
399
400    <PreferenceCategory android:key="debug_applications_category"
401            android:title="@string/debug_applications_category">
402
403        <SwitchPreference
404            android:key="immediately_destroy_activities"
405            android:title="@string/immediately_destroy_activities"
406            android:summary="@string/immediately_destroy_activities_summary"/>
407
408        <ListPreference
409            android:key="app_process_limit"
410            android:title="@string/app_process_limit_title"
411            android:entries="@array/app_process_limit_entries"
412            android:entryValues="@array/app_process_limit_values" />
413
414        <!-- hiding for now.
415        <Preference
416                android:key="background_check"
417                android:fragment="com.android.settings.applications.BackgroundCheckSummary"
418                android:title="@string/background_check_pref" />
419        -->
420
421        <SwitchPreference
422            android:key="show_all_anrs"
423            android:title="@string/show_all_anrs"
424            android:summary="@string/show_all_anrs_summary"/>
425
426        <SwitchPreference
427            android:key="show_notification_channel_warnings"
428            android:title="@string/show_notification_channel_warnings"
429            android:summary="@string/show_notification_channel_warnings_summary"/>
430
431        <Preference
432                android:key="inactive_apps"
433                android:title="@string/inactive_apps_title"
434                android:fragment="com.android.settings.fuelgauge.InactiveApps"/>
435
436        <SwitchPreference
437            android:key="force_allow_on_external"
438            android:title="@string/force_allow_on_external"
439            android:summary="@string/force_allow_on_external_summary"/>
440
441        <SwitchPreference
442            android:key="force_resizable_activities"
443            android:title="@string/force_resizable_activities"
444            android:summary="@string/force_resizable_activities_summary"/>
445
446        <Preference
447            android:key="reset_shortcut_manager_throttling"
448            android:title="@string/reset_shortcut_manager_throttling" />
449     </PreferenceCategory>
450
451    <PreferenceCategory
452      android:key="dashboard_tile_placeholder"
453      android:order="200"/>
454
455</PreferenceScreen>
456