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        android:title="@string/development_settings_title">
19    <com.android.settings.BugreportPreference
20            android:key="bugreport"
21            android:title="@*android:string/bugreport_title"
22            android:dialogTitle="@*android:string/bugreport_title" />
23
24    <PreferenceScreen
25            android:key="local_backup_password"
26            android:title="@string/local_backup_password_title"
27            android:summary="@string/local_backup_password_summary_none"
28            android:persistent="false" >
29        <intent
30                android:action="android.settings.privacy.SET_FULL_BACKUP_PASSWORD"
31                android:targetPackage="com.android.settings"
32                android:targetClass="com.android.settings.SetFullBackupPassword" />
33    </PreferenceScreen>
34
35    <SwitchPreference
36        android:key="keep_screen_on"
37        android:title="@string/keep_screen_on"
38        android:summary="@string/keep_screen_on_summary"/>
39
40    <ListPreference
41        android:key="hdcp_checking"
42        android:title="@string/hdcp_checking_title"
43        android:dialogTitle="@string/hdcp_checking_dialog_title"
44        android:entries="@array/hdcp_checking_titles"
45        android:entryValues="@array/hdcp_checking_values" />
46
47    <SwitchPreference
48        android:key="bt_hci_snoop_log"
49        android:title="@string/bt_hci_snoop_log"
50        android:summary="@string/bt_hci_snoop_log_summary"/>
51
52    <SwitchPreference
53        android:key="oem_unlock_enable"
54        android:title="@string/oem_unlock_enable"
55        android:summary="@string/oem_unlock_enable_summary"/>
56
57    <PreferenceScreen android:key="proc_stats"
58            android:title="@string/process_stats_summary_title"
59            android:summary="@string/process_stats_summary"
60            android:fragment="com.android.settings.applications.ProcessStatsUi">
61    </PreferenceScreen>
62
63    <PreferenceCategory android:key="debug_debugging_category"
64            android:title="@string/debug_debugging_category">
65
66        <SwitchPreference
67            android:key="enable_adb"
68            android:title="@string/enable_adb"
69            android:summary="@string/enable_adb_summary"/>
70
71        <Preference android:key="clear_adb_keys"
72                android:title="@string/clear_adb_keys" />
73
74        <SwitchPreference
75            android:key="enable_terminal"
76            android:title="@string/enable_terminal_title"
77            android:summary="@string/enable_terminal_summary" />
78
79        <SwitchPreference
80            android:key="bugreport_in_power"
81            android:title="@string/bugreport_in_power"
82            android:summary="@string/bugreport_in_power_summary"/>
83
84        <SwitchPreference
85            android:key="allow_mock_location"
86            android:title="@string/allow_mock_location"
87            android:summary="@string/allow_mock_location_summary"/>
88
89        <SwitchPreference
90                android:key="debug_view_attributes"
91                android:title="@string/debug_view_attributes" />
92
93        <PreferenceScreen android:key="debug_app"
94                android:title="@string/debug_app" />
95
96        <SwitchPreference
97            android:key="wait_for_debugger"
98            android:title="@string/wait_for_debugger"
99            android:summary="@string/wait_for_debugger_summary"/>
100
101        <SwitchPreference
102            android:key="verify_apps_over_usb"
103            android:title="@string/verify_apps_over_usb_title"
104            android:summary="@string/verify_apps_over_usb_summary"/>
105
106        <SwitchPreference
107            android:key="wifi_display_certification"
108            android:title="@string/wifi_display_certification"
109            android:summary="@string/wifi_display_certification_summary"/>
110
111        <SwitchPreference
112            android:key="wifi_verbose_logging"
113            android:title="@string/wifi_verbose_logging" />
114            android:summary="@string/wifi_verbose_logging_summary"/>
115
116        <SwitchPreference
117            android:key="wifi_aggressive_handover"
118            android:title="@string/wifi_aggressive_handover" />
119            android:summary="@string/wifi_aggressive_handover_summary"/>
120
121       <SwitchPreference
122            android:key="wifi_allow_scan_with_traffic"
123            android:title="@string/wifi_allow_scan_with_traffic" />
124            android:summary="@string/wifi_allow_scan_with_traffic_summary"/>
125
126        <ListPreference
127            android:key="select_logd_size"
128            android:title="@string/select_logd_size_title"
129            android:dialogTitle="@string/select_logd_size_dialog_title"
130            android:entries="@array/select_logd_size_titles"
131            android:entryValues="@array/select_logd_size_values" />
132
133    </PreferenceCategory>
134
135    <PreferenceCategory android:key="debug_input_category"
136            android:title="@string/debug_input_category">
137
138        <SwitchPreference
139            android:key="show_touches"
140            android:title="@string/show_touches"
141            android:summary="@string/show_touches_summary"/>
142
143        <SwitchPreference
144            android:key="pointer_location"
145            android:title="@string/pointer_location"
146            android:summary="@string/pointer_location_summary"/>
147
148    </PreferenceCategory>
149
150    <PreferenceCategory android:key="debug_drawing_category"
151            android:title="@string/debug_drawing_category">
152
153        <SwitchPreference
154            android:key="show_screen_updates"
155            android:title="@string/show_screen_updates"
156            android:summary="@string/show_screen_updates_summary"/>
157
158        <SwitchPreference
159            android:key="debug_layout"
160            android:title="@string/debug_layout"
161            android:summary="@string/debug_layout_summary"/>
162
163        <SwitchPreference
164            android:key="force_rtl_layout_all_locales"
165            android:title="@string/force_rtl_layout_all_locales"
166            android:summary="@string/force_rtl_layout_all_locales_summary"/>
167
168        <ListPreference
169            android:key="window_animation_scale"
170            android:title="@string/window_animation_scale_title"
171            android:persistent="false"
172            android:entries="@array/window_animation_scale_entries"
173            android:entryValues="@array/window_animation_scale_values" />
174
175        <ListPreference
176            android:key="transition_animation_scale"
177            android:title="@string/transition_animation_scale_title"
178            android:persistent="false"
179            android:entries="@array/transition_animation_scale_entries"
180            android:entryValues="@array/transition_animation_scale_values" />
181
182        <ListPreference
183            android:key="animator_duration_scale"
184            android:title="@string/animator_duration_scale_title"
185            android:persistent="false"
186            android:entries="@array/animator_duration_scale_entries"
187            android:entryValues="@array/animator_duration_scale_values" />
188
189        <ListPreference
190            android:key="overlay_display_devices"
191            android:title="@string/overlay_display_devices_title"
192            android:persistent="false"
193            android:entries="@array/overlay_display_devices_entries"
194            android:entryValues="@array/overlay_display_devices_values" />
195
196    </PreferenceCategory>
197
198    <PreferenceCategory android:key="debug_hw_drawing_category"
199            android:title="@string/debug_hw_drawing_category">
200
201        <SwitchPreference
202                android:key="force_hw_ui"
203                android:title="@string/force_hw_ui"
204                android:summary="@string/force_hw_ui_summary"/>
205
206        <SwitchPreference
207                android:key="show_hw_screen_udpates"
208                android:title="@string/show_hw_screen_updates"
209                android:summary="@string/show_hw_screen_updates_summary"/>
210
211        <SwitchPreference
212                android:key="show_hw_layers_udpates"
213                android:title="@string/show_hw_layers_updates"
214                android:summary="@string/show_hw_layers_updates_summary"/>
215
216        <ListPreference
217                android:key="debug_hw_overdraw"
218                android:title="@string/debug_hw_overdraw"
219                android:persistent="false"
220                android:entries="@array/debug_hw_overdraw_entries"
221                android:entryValues="@array/debug_hw_overdraw_values" />
222
223        <ListPreference
224                android:key="show_non_rect_clip"
225                android:title="@string/show_non_rect_clip"
226                android:persistent="false"
227                android:entries="@array/show_non_rect_clip_entries"
228                android:entryValues="@array/show_non_rect_clip_values" />
229
230        <SwitchPreference
231                android:key="force_msaa"
232                android:title="@string/force_msaa"
233                android:summary="@string/force_msaa_summary"/>
234
235        <SwitchPreference
236                android:key="disable_overlays"
237                android:title="@string/disable_overlays"
238                android:summary="@string/disable_overlays_summary"/>
239
240        <ListPreference
241                android:entries="@array/simulate_color_space_entries"
242                android:entryValues="@array/simulate_color_space_values"
243                android:key="simulate_color_space"
244                android:persistent="false"
245                android:summary="%s"
246                android:title="@string/simulate_color_space" />
247
248    </PreferenceCategory>
249
250    <PreferenceCategory android:key="media_category"
251            android:title="@string/media_category">
252
253        <SwitchPreference
254                android:key="use_awesomeplayer"
255                android:title="@string/use_awesomeplayer"
256                android:summary="@string/use_awesomeplayer_summary"/>
257
258        <SwitchPreference
259                android:key="usb_audio"
260                android:title="@string/usb_audio_disable_routing"
261                android:summary="@string/usb_audio_disable_routing_summary" />
262
263    </PreferenceCategory>
264
265    <PreferenceCategory android:key="debug_monitoring_category"
266            android:title="@string/debug_monitoring_category">
267
268        <SwitchPreference
269            android:key="strict_mode"
270            android:title="@string/strict_mode"
271            android:summary="@string/strict_mode_summary"/>
272
273        <SwitchPreference
274            android:key="show_cpu_usage"
275            android:title="@string/show_cpu_usage"
276            android:summary="@string/show_cpu_usage_summary"/>
277
278        <ListPreference
279            android:key="track_frame_time"
280            android:title="@string/track_frame_time"
281            android:persistent="false"
282            android:entries="@array/track_frame_time_entries"
283            android:entryValues="@array/track_frame_time_values" />
284
285        <ListPreference
286            android:key="enable_opengl_traces"
287            android:title="@string/enable_opengl_traces_title"
288            android:persistent="false"
289            android:entries="@array/enable_opengl_traces_entries"
290            android:entryValues="@array/enable_opengl_traces_values" />
291
292    </PreferenceCategory>
293
294    <PreferenceCategory android:key="debug_applications_category"
295            android:title="@string/debug_applications_category">
296
297        <SwitchPreference
298            android:key="immediately_destroy_activities"
299            android:title="@string/immediately_destroy_activities"
300            android:summary="@string/immediately_destroy_activities_summary"/>
301
302        <ListPreference
303            android:key="app_process_limit"
304            android:title="@string/app_process_limit_title"
305            android:persistent="false"
306            android:entries="@array/app_process_limit_entries"
307            android:entryValues="@array/app_process_limit_values" />
308
309        <SwitchPreference
310            android:key="show_all_anrs"
311            android:title="@string/show_all_anrs"
312            android:summary="@string/show_all_anrs_summary"/>
313
314     </PreferenceCategory>
315
316</PreferenceScreen>
317