OSDN Git Service

Add an option to change the device hostname (2/2).
[android-x86/packages-apps-Settings.git] / res / xml / development_prefs.xml
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
20     <PreferenceScreen
21             android:key="development_tools"
22             android:title="@string/development_tools_title"
23             android:persistent="false" >
24         <intent
25                 android:action="android.settings.development.LAUNCH_TOOLS"
26                 android:targetPackage="com.android.development"
27                 android:targetClass="com.android.development.Development" />
28     </PreferenceScreen>
29
30     <com.android.settings.BugreportPreference
31             android:key="bugreport"
32             android:title="@*android:string/bugreport_title"
33             android:dialogTitle="@*android:string/bugreport_title" />
34
35     <PreferenceScreen
36             android:key="local_backup_password"
37             android:title="@string/local_backup_password_title"
38             android:summary="@string/local_backup_password_summary_none"
39             android:persistent="false" >
40         <intent
41                 android:action="android.settings.privacy.SET_FULL_BACKUP_PASSWORD"
42                 android:targetPackage="com.android.settings"
43                 android:targetClass="com.android.settings.SetFullBackupPassword" />
44     </PreferenceScreen>
45
46     <SwitchPreference
47         android:key="keep_screen_on"
48         android:title="@string/keep_screen_on"
49         android:summary="@string/keep_screen_on_summary"/>
50
51     <ListPreference
52         android:key="hdcp_checking"
53         android:title="@string/hdcp_checking_title"
54         android:dialogTitle="@string/hdcp_checking_dialog_title"
55         android:entries="@array/hdcp_checking_titles"
56         android:entryValues="@array/hdcp_checking_values" />
57
58     <SwitchPreference
59         android:key="bt_hci_snoop_log"
60         android:title="@string/bt_hci_snoop_log"
61         android:summary="@string/bt_hci_snoop_log_summary"/>
62
63     <SwitchPreference
64         android:key="oem_unlock_enable"
65         android:title="@string/oem_unlock_enable"
66         android:summary="@string/oem_unlock_enable_summary"/>
67
68     <PreferenceScreen
69         android:key="running_apps"
70         android:title="@string/runningservices_settings_title"
71         android:summary="@string/runningservices_settings_summary"
72         android:fragment="com.android.settings.applications.RunningServices" />
73
74     <ListPreference
75         android:key="root_access"
76         android:title="@string/root_access"
77         android:persistent="false"
78         android:entries="@array/root_access_entries"
79         android:entryValues="@array/root_access_values" />
80
81     <PreferenceCategory android:key="debug_debugging_category"
82             android:title="@string/debug_debugging_category">
83
84         <SwitchPreference
85             android:key="enable_adb"
86             android:title="@string/enable_adb_cm"
87             android:summary="@string/enable_adb_summary_cm"/>
88
89         <CheckBoxPreference
90             android:key="adb_notify"
91             android:title="@string/adb_notify"
92             android:summary="@string/adb_notify_summary"
93             android:dependency="enable_adb"/>
94
95         <CheckBoxPreference
96             android:key="adb_over_network"
97             android:title="@string/adb_over_network"
98             android:summary="@string/adb_over_network_summary"
99             android:dependency="enable_adb"/>
100
101         <Preference android:key="clear_adb_keys"
102                 android:title="@string/clear_adb_keys" />
103
104         <com.android.settings.HostnamePreference
105             android:key="device_hostname"
106             android:title="@string/device_hostname"
107             android:dialogTitle="@string/device_hostname"
108             android:positiveButtonText="@string/wifi_save"
109             android:negativeButtonText="@string/wifi_cancel"
110             android:selectAllOnFocus="true"
111             android:imeOptions="actionDone"
112             android:inputType="textNoSuggestions"
113             android:persistent="false" />
114
115         <SwitchPreference
116             android:key="enable_terminal"
117             android:title="@string/enable_terminal_title"
118             android:summary="@string/enable_terminal_summary" />
119
120         <SwitchPreference
121             android:key="bugreport_in_power"
122             android:title="@string/bugreport_in_power"
123             android:summary="@string/bugreport_in_power_summary"/>
124
125         <PreferenceScreen android:key="mock_location_app"
126             android:title="@string/mock_location_app" />
127
128         <SwitchPreference
129                 android:key="debug_view_attributes"
130                 android:title="@string/debug_view_attributes" />
131
132         <PreferenceScreen android:key="debug_app"
133                 android:title="@string/debug_app" />
134
135         <SwitchPreference
136             android:key="wait_for_debugger"
137             android:title="@string/wait_for_debugger"
138             android:summary="@string/wait_for_debugger_summary"/>
139
140         <SwitchPreference
141             android:key="verify_apps_over_usb"
142             android:title="@string/verify_apps_over_usb_title"
143             android:summary="@string/verify_apps_over_usb_summary"/>
144
145         <ListPreference
146             android:key="select_logd_size"
147             android:title="@string/select_logd_size_title"
148             android:dialogTitle="@string/select_logd_size_dialog_title"
149             android:entries="@array/select_logd_size_titles"
150             android:entryValues="@array/select_logd_size_values" />
151
152     </PreferenceCategory>
153
154     <PreferenceCategory android:key="debug_networking_category"
155             android:title="@string/debug_networking_category">
156
157         <SwitchPreference
158             android:key="wifi_display_certification"
159             android:title="@string/wifi_display_certification"
160             android:summary="@string/wifi_display_certification_summary"/>
161
162         <SwitchPreference
163             android:key="wifi_verbose_logging"
164             android:title="@string/wifi_verbose_logging"
165             android:summary="@string/wifi_verbose_logging_summary"/>
166
167         <SwitchPreference
168             android:key="wifi_aggressive_handover"
169             android:title="@string/wifi_aggressive_handover"
170             android:summary="@string/wifi_aggressive_handover_summary"/>
171
172         <SwitchPreference
173             android:key="wifi_allow_scan_with_traffic"
174             android:title="@string/wifi_allow_scan_with_traffic"
175             android:summary="@string/wifi_allow_scan_with_traffic_summary"/>
176
177        <SwitchPreference
178             android:key="legacy_dhcp_client"
179             android:title="@string/legacy_dhcp_client"
180             android:summary="@string/legacy_dhcp_client_summary"/>
181
182        <SwitchPreference
183             android:key="mobile_data_always_on"
184             android:title="@string/mobile_data_always_on"
185             android:summary="@string/mobile_data_always_on_summary"/>
186
187         <ListPreference
188             android:key="select_usb_configuration"
189             android:title="@string/select_usb_configuration_title"
190             android:dialogTitle="@string/select_usb_configuration_dialog_title"
191             android:entries="@array/usb_configuration_titles"
192             android:entryValues="@array/usb_configuration_values" />
193
194     </PreferenceCategory>
195
196     <PreferenceCategory android:key="debug_input_category"
197             android:title="@string/debug_input_category">
198
199         <SwitchPreference
200             android:key="show_touches"
201             android:title="@string/show_touches"
202             android:summary="@string/show_touches_summary"/>
203
204         <SwitchPreference
205             android:key="pointer_location"
206             android:title="@string/pointer_location"
207             android:summary="@string/pointer_location_summary"/>
208
209     </PreferenceCategory>
210
211     <PreferenceCategory android:key="debug_drawing_category"
212             android:title="@string/debug_drawing_category">
213
214         <SwitchPreference
215             android:key="show_screen_updates"
216             android:title="@string/show_screen_updates"
217             android:summary="@string/show_screen_updates_summary"/>
218
219         <SwitchPreference
220             android:key="debug_layout"
221             android:title="@string/debug_layout"
222             android:summary="@string/debug_layout_summary"/>
223
224         <SwitchPreference
225             android:key="force_rtl_layout_all_locales"
226             android:title="@string/force_rtl_layout_all_locales"
227             android:summary="@string/force_rtl_layout_all_locales_summary"/>
228
229         <ListPreference
230             android:key="window_animation_scale"
231             android:title="@string/window_animation_scale_title"
232             android:persistent="false"
233             android:entries="@array/window_animation_scale_entries"
234             android:entryValues="@array/window_animation_scale_values" />
235
236         <ListPreference
237             android:key="transition_animation_scale"
238             android:title="@string/transition_animation_scale_title"
239             android:persistent="false"
240             android:entries="@array/transition_animation_scale_entries"
241             android:entryValues="@array/transition_animation_scale_values" />
242
243         <ListPreference
244             android:key="animator_duration_scale"
245             android:title="@string/animator_duration_scale_title"
246             android:persistent="false"
247             android:entries="@array/animator_duration_scale_entries"
248             android:entryValues="@array/animator_duration_scale_values" />
249
250         <ListPreference
251             android:key="overlay_display_devices"
252             android:title="@string/overlay_display_devices_title"
253             android:persistent="false"
254             android:entries="@array/overlay_display_devices_entries"
255             android:entryValues="@array/overlay_display_devices_values" />
256
257         <SwitchPreference
258             android:key="enable_multi_window"
259             android:title="@string/enable_multi_window"
260             android:summary="@string/enable_multi_window_summary"/>
261
262     </PreferenceCategory>
263
264     <PreferenceCategory android:key="debug_hw_drawing_category"
265             android:title="@string/debug_hw_drawing_category">
266
267         <SwitchPreference
268                 android:key="force_hw_ui"
269                 android:title="@string/force_hw_ui"
270                 android:summary="@string/force_hw_ui_summary"/>
271
272         <SwitchPreference
273                 android:key="show_hw_screen_udpates"
274                 android:title="@string/show_hw_screen_updates"
275                 android:summary="@string/show_hw_screen_updates_summary"/>
276
277         <SwitchPreference
278                 android:key="show_hw_layers_udpates"
279                 android:title="@string/show_hw_layers_updates"
280                 android:summary="@string/show_hw_layers_updates_summary"/>
281
282         <ListPreference
283                 android:key="debug_hw_overdraw"
284                 android:title="@string/debug_hw_overdraw"
285                 android:persistent="false"
286                 android:entries="@array/debug_hw_overdraw_entries"
287                 android:entryValues="@array/debug_hw_overdraw_values" />
288
289         <ListPreference
290                 android:key="show_non_rect_clip"
291                 android:title="@string/show_non_rect_clip"
292                 android:persistent="false"
293                 android:entries="@array/show_non_rect_clip_entries"
294                 android:entryValues="@array/show_non_rect_clip_values" />
295
296         <SwitchPreference
297                 android:key="force_msaa"
298                 android:title="@string/force_msaa"
299                 android:summary="@string/force_msaa_summary"/>
300
301         <SwitchPreference
302                 android:key="disable_overlays"
303                 android:title="@string/disable_overlays"
304                 android:summary="@string/disable_overlays_summary"/>
305
306         <ListPreference
307                 android:entries="@array/simulate_color_space_entries"
308                 android:entryValues="@array/simulate_color_space_values"
309                 android:key="simulate_color_space"
310                 android:persistent="false"
311                 android:summary="%s"
312                 android:title="@string/simulate_color_space" />
313
314     </PreferenceCategory>
315
316     <PreferenceCategory android:key="media_category"
317             android:title="@string/media_category">
318
319         <SwitchPreference
320                 android:key="usb_audio"
321                 android:title="@string/usb_audio_disable_routing"
322                 android:summary="@string/usb_audio_disable_routing_summary" />
323
324     </PreferenceCategory>
325
326     <PreferenceCategory android:key="debug_monitoring_category"
327             android:title="@string/debug_monitoring_category">
328
329         <SwitchPreference
330             android:key="strict_mode"
331             android:title="@string/strict_mode"
332             android:summary="@string/strict_mode_summary"/>
333
334         <SwitchPreference
335             android:key="show_cpu_usage"
336             android:title="@string/show_cpu_usage"
337             android:summary="@string/show_cpu_usage_summary"/>
338
339         <ListPreference
340             android:key="track_frame_time"
341             android:title="@string/track_frame_time"
342             android:persistent="false"
343             android:entries="@array/track_frame_time_entries"
344             android:entryValues="@array/track_frame_time_values" />
345
346         <ListPreference
347             android:key="enable_opengl_traces"
348             android:title="@string/enable_opengl_traces_title"
349             android:persistent="false"
350             android:entries="@array/enable_opengl_traces_entries"
351             android:entryValues="@array/enable_opengl_traces_values" />
352
353     </PreferenceCategory>
354
355     <PreferenceCategory android:key="debug_applications_category"
356             android:title="@string/debug_applications_category">
357
358         <SwitchPreference
359             android:key="immediately_destroy_activities"
360             android:title="@string/immediately_destroy_activities"
361             android:summary="@string/immediately_destroy_activities_summary"/>
362
363         <ListPreference
364             android:key="app_process_limit"
365             android:title="@string/app_process_limit_title"
366             android:persistent="false"
367             android:entries="@array/app_process_limit_entries"
368             android:entryValues="@array/app_process_limit_values" />
369
370         <SwitchPreference
371             android:key="show_all_anrs"
372             android:title="@string/show_all_anrs"
373             android:summary="@string/show_all_anrs_summary"/>
374
375         <Preference
376                 android:key="inactive_apps"
377                 android:title="@string/inactive_apps_title" />
378
379      </PreferenceCategory>
380
381 </PreferenceScreen>