• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/Settings/assets/res/any/layout/radio_info.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
21    android:layout_width="fill_parent"
22    android:layout_height="fill_parent" >
23
24    <LinearLayout style="@style/info_layout">
25
26        <!-- IMEI -->
27        <LinearLayout style="@style/entry_layout">
28            <TextView android:text="@string/radio_info_imei_label" style="@style/info_label" />
29            <TextView android:id="@+id/imei" style="@style/info_value" />
30        </LinearLayout>
31
32        <!-- Phone Number -->
33        <LinearLayout style="@style/entry_layout">
34            <TextView android:text="@string/radio_info_phone_number_label" style="@style/info_label" />
35            <TextView android:id="@+id/number" style="@style/info_value" />
36        </LinearLayout>
37
38        <!-- Network Identifier -->
39        <LinearLayout style="@style/entry_layout">
40            <TextView android:text="@string/radio_info_current_network_label" style="@style/info_label" />
41            <TextView android:id="@+id/operator" style="@style/info_value" />
42        </LinearLayout>
43
44        <!-- Ping stats -->
45        <Button android:id="@+id/ping_test"
46                android:textSize="14sp"
47                android:layout_marginTop="8dip"
48                android:layout_width="wrap_content"
49                android:layout_height="wrap_content"
50                android:text="@string/ping_test_label"
51                />
52
53        <LinearLayout style="@style/entry_layout">
54            <TextView android:text="@string/radio_info_ping_ipaddr" style="@style/info_label" />
55            <TextView android:id="@+id/pingIpAddr" style="@style/info_value" />
56        </LinearLayout>
57
58        <LinearLayout style="@style/entry_layout">
59            <TextView android:text="@string/radio_info_ping_hostname" style="@style/info_label" />
60            <TextView android:id="@+id/pingHostname" style="@style/info_value" />
61        </LinearLayout>
62
63        <LinearLayout style="@style/entry_layout">
64            <TextView android:text="@string/radio_info_http_client_test" style="@style/info_label" />
65            <TextView android:id="@+id/httpClientTest" style="@style/info_value" />
66        </LinearLayout>
67
68        <!-- Signal Strength -->
69        <LinearLayout style="@style/entry_layout">
70            <TextView android:text="@string/radio_info_signal_strength_label" style="@style/info_label" />
71            <TextView android:id="@+id/dbm" style="@style/info_value" />
72        </LinearLayout>
73
74        <!-- Location -->
75        <LinearLayout style="@style/entry_layout">
76            <TextView android:text="@string/radio_info_signal_location_label" style="@style/info_label" />
77            <TextView android:id="@+id/location" style="@style/info_value" />
78        </LinearLayout>
79
80        <!-- Neighboring Cids -->
81        <LinearLayout style="@style/entry_layout">
82            <TextView android:text="@string/radio_info_neighboring_location_label"
83                      style="@style/info_label" />
84            <TextView android:id="@+id/neighboring" style="@style/info_value" />
85        </LinearLayout>
86
87        <!-- Roaming -->
88        <LinearLayout style="@style/entry_layout">
89            <TextView android:text="@string/radio_info_roaming_label" style="@style/info_label" />
90            <TextView android:id="@+id/roaming" style="@style/info_value" />
91        </LinearLayout>
92
93        <!-- GSM Service -->
94        <LinearLayout style="@style/entry_layout">
95            <TextView android:text="@string/radio_info_gsm_service_label" style="@style/info_label" />
96            <TextView android:id="@+id/gsm" style="@style/info_value" />
97        </LinearLayout>
98
99        <!-- GPRS Service -->
100        <LinearLayout style="@style/entry_layout">
101            <TextView android:text="@string/radio_info_gprs_service_label" style="@style/info_label" />
102            <TextView android:id="@+id/gprs" style="@style/info_value" />
103        </LinearLayout>
104
105        <!-- Network Type -->
106        <LinearLayout style="@style/entry_layout">
107            <TextView android:text="@string/radio_info_network_type_label" style="@style/info_label" />
108            <TextView android:id="@+id/network" style="@style/info_value" />
109        </LinearLayout>
110
111        <!-- Message Waiting Indicator -->
112        <LinearLayout style="@style/entry_layout">
113            <TextView android:text="@string/radio_info_message_waiting_label" style="@style/info_label" />
114            <TextView android:id="@+id/mwi" style="@style/info_value" />
115        </LinearLayout>
116
117        <!-- Call Forwarding Indicator -->
118        <LinearLayout style="@style/entry_layout">
119            <TextView android:text="@string/radio_info_call_redirect_label" style="@style/info_label" />
120            <TextView android:id="@+id/cfi" style="@style/info_value" />
121        </LinearLayout>
122
123        <!-- Call Status -->
124        <LinearLayout style="@style/entry_layout">
125            <TextView android:text="@string/radio_info_call_status_label" style="@style/info_label" />
126            <TextView android:id="@+id/call" style="@style/info_value" />
127        </LinearLayout>
128
129
130        <!-- Radio Resets -->
131        <LinearLayout style="@style/entry_layout">
132            <TextView android:text="@string/radio_info_radio_resets_label" style="@style/info_label" />
133            <TextView android:id="@+id/resets" style="@style/info_value" />
134        </LinearLayout>
135
136        <!-- Attempted Data Connections -->
137        <LinearLayout style="@style/entry_layout">
138            <TextView android:text="@string/radio_info_data_attempts_label"
139                style="@style/info_label" />
140            <TextView android:id="@+id/attempts" style="@style/info_value" />
141        </LinearLayout>
142
143        <!-- Successful Data Connections -->
144        <LinearLayout style="@style/entry_layout">
145            <TextView android:text="@string/radio_info_data_successes_label"
146                style="@style/info_label" />
147            <TextView android:id="@+id/successes" style="@style/info_value" />
148        </LinearLayout>
149
150        <!-- GSM Disconnects -->
151        <LinearLayout style="@style/entry_layout">
152            <TextView android:text="@string/radio_info_gsm_disconnects_label"
153                style="@style/info_label" />
154            <TextView android:id="@+id/disconnects" style="@style/info_value" />
155        </LinearLayout>
156
157        <!-- PPP Sent -->
158        <LinearLayout style="@style/entry_layout">
159            <TextView android:text="@string/radio_info_ppp_sent_label"
160                style="@style/info_label" />
161            <TextView android:id="@+id/sent" style="@style/info_value" />
162        </LinearLayout>
163
164        <!-- PPP Received -->
165        <LinearLayout style="@style/entry_layout">
166            <TextView android:text="@string/radio_info_ppp_received_label"
167                style="@style/info_label" />
168            <TextView android:id="@+id/received" style="@style/info_value" />
169        </LinearLayout>
170
171        <!-- PPP Sent since last received -->
172        <LinearLayout style="@style/entry_layout">
173            <TextView android:text="@string/radio_info_ppp_resets_label"
174                style="@style/info_label" />
175            <TextView android:id="@+id/sentSinceReceived" style="@style/info_value" />
176        </LinearLayout>
177
178        <!-- Preferred Network Type -->
179        <TextView
180                android:layout_width="fill_parent"
181                android:layout_height="wrap_content"
182                android:text="@string/radio_info_set_perferred_label"
183                style="@style/info_label"
184                />
185
186        <Spinner android:id="@+id/preferredNetworkType"
187                 android:layout_width="fill_parent"
188                 android:layout_height="wrap_content"
189                />
190
191        <!-- Ciphering -->
192        <LinearLayout style="@style/entry_layout">
193            <Button android:id="@+id/ciph_toggle"
194                    android:textSize="14sp"
195                    android:layout_marginTop="8dip"
196                    android:layout_width="wrap_content"
197                    android:layout_height="wrap_content"
198                    android:text="@string/radio_info_toggle_ciph_label"
199                    />
200            <TextView android:id="@+id/ciphState" style="@style/info_value" />
201
202        </LinearLayout>
203
204        <!-- QXDM logging & radio power -->
205        <LinearLayout style="@style/entry_layout">
206            <Button android:id="@+id/qxdm_log"
207                    android:textSize="14sp"
208                    android:layout_marginTop="8dip"
209                    android:layout_width="wrap_content"
210                    android:layout_height="wrap_content"
211                    />
212
213            <Button android:id="@+id/radio_power"
214                android:textSize="14sp"
215                android:layout_marginTop="8dip"
216                android:layout_width="wrap_content"
217                android:layout_height="wrap_content"
218                />
219        </LinearLayout>
220
221        <!-- SMSC -->
222        <RelativeLayout android:layout_width="fill_parent"
223                        android:layout_height="wrap_content">
224            <TextView android:id="@+id/smsc_label"
225                      android:text="@string/radio_info_smsc_label"
226                      android:layout_alignBaseline="@+id/update_smsc"
227                      style="@style/info_label" />
228            <Button android:id="@+id/refresh_smsc"
229                    android:textSize="14sp"
230                    android:layout_marginTop="8dip"
231                    android:layout_width="wrap_content"
232                    android:layout_height="wrap_content"
233                    android:text="@string/radio_info_smsc_refresh_label"
234                    android:layout_alignParentRight="true"
235                    />
236            <Button android:id="@+id/update_smsc"
237                    android:textSize="14sp"
238                    android:layout_marginTop="8dip"
239                    android:layout_width="wrap_content"
240                    android:layout_height="wrap_content"
241                    android:text="@string/radio_info_smsc_update_label"
242                    android:layout_toLeftOf="@+id/refresh_smsc"
243                    android:layout_alignBaseline="@+id/refresh_smsc"
244                    />
245            <EditText android:id="@+id/smsc"
246                      style="@style/form_value"
247                      android:layout_alignBaseline="@+id/refresh_smsc"
248                      android:layout_toLeftOf="@id/update_smsc"
249                      android:layout_toRightOf="@id/smsc_label" />
250        </RelativeLayout>
251
252        <!-- Test setting to ignore bad DNS, useful in lab environments -->
253        <LinearLayout style="@style/entry_layout">
254            <Button android:id="@+id/dns_check_toggle"
255                    android:textSize="14sp"
256                    android:layout_marginTop="8dip"
257                    android:layout_width="wrap_content"
258                    android:layout_height="wrap_content"
259                    android:text="@string/radio_info_toggle_dns_check_label"
260                    />
261            <TextView android:id="@+id/dnsCheckState" style="@style/info_value" />
262        </LinearLayout>
263
264    </LinearLayout>
265</ScrollView>
266