summaryrefslogtreecommitdiffstats
path: root/res/layout/radio_info.xml
blob: a2882246b382afbcbfedaea331e34d9eaa293754 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/Settings/assets/res/any/layout/radio_info.xml
**
** Copyright 2006, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License"); 
** you may not use this file except in compliance with the License. 
** You may obtain a copy of the License at 
**
**     http://www.apache.org/licenses/LICENSE-2.0 
**
** Unless required by applicable law or agreed to in writing, software 
** distributed under the License is distributed on an "AS IS" BASIS, 
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
** See the License for the specific language governing permissions and 
** limitations under the License.
*/
-->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

    <LinearLayout style="@style/info_layout">

        <!-- IMEI -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_imei_label" style="@style/info_label" />
            <TextView android:id="@+id/imei" style="@style/info_value" />
        </LinearLayout>

        <!-- Phone Number -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_phone_number_label" style="@style/info_label" />
            <TextView android:id="@+id/number" style="@style/info_value" />
        </LinearLayout>

        <!-- Network Identifier -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_current_network_label" style="@style/info_label" />
            <TextView android:id="@+id/operator" style="@style/info_value" />
        </LinearLayout>

        <!-- Ping stats -->
        <Button android:id="@+id/ping_test"
                android:textSize="14sp"
                android:layout_marginTop="8dip"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/ping_test_label"
                />
 
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_ping_ipaddr" style="@style/info_label" />
            <TextView android:id="@+id/pingIpAddr" style="@style/info_value" />
        </LinearLayout>

        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_ping_hostname" style="@style/info_label" />
            <TextView android:id="@+id/pingHostname" style="@style/info_value" />
        </LinearLayout>

        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_http_client_test" style="@style/info_label" />
            <TextView android:id="@+id/httpClientTest" style="@style/info_value" />
        </LinearLayout>

        <!-- Signal Strength -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_signal_strength_label" style="@style/info_label" />
            <TextView android:id="@+id/dbm" style="@style/info_value" />
        </LinearLayout>

        <!-- Location -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_signal_location_label" style="@style/info_label" />
            <TextView android:id="@+id/location" style="@style/info_value" />
        </LinearLayout>

        <!-- Neighboring Cids -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_neighboring_location_label"
                      style="@style/info_label" />
            <TextView android:id="@+id/neighboring" style="@style/info_value" />
        </LinearLayout>

        <!-- CellInfo -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_cellinfo_label"
                      style="@style/info_label" />
            <TextView android:id="@+id/cellinfo" style="@style/info_value" />
        </LinearLayout>

        <!-- DcRtInfo - DataConnectionRealTimeInfo -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_dcrtinfo_label"
                      style="@style/info_label" />
            <TextView android:id="@+id/dcrtinfo" style="@style/info_value" />
        </LinearLayout>

        <!-- Roaming -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_roaming_label" style="@style/info_label" />
            <TextView android:id="@+id/roaming" style="@style/info_value" />
        </LinearLayout>

        <!-- GSM Service -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_gsm_service_label" style="@style/info_label" />
            <TextView android:id="@+id/gsm" style="@style/info_value" />
        </LinearLayout>

        <!-- GPRS Service -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_gprs_service_label" style="@style/info_label" />
            <TextView android:id="@+id/gprs" style="@style/info_value" />
        </LinearLayout>

        <!-- Network Type -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_network_type_label" style="@style/info_label" />
            <TextView android:id="@+id/network" style="@style/info_value" />
        </LinearLayout>

        <!-- Message Waiting Indicator -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_message_waiting_label" style="@style/info_label" />
            <TextView android:id="@+id/mwi" style="@style/info_value" />
        </LinearLayout>

        <!-- Call Forwarding Indicator -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_call_redirect_label" style="@style/info_label" />
            <TextView android:id="@+id/cfi" style="@style/info_value" />
        </LinearLayout>

        <!-- Call Status -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_call_status_label" style="@style/info_label" />
            <TextView android:id="@+id/call" style="@style/info_value" />
        </LinearLayout>


        <!-- Radio Resets -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_radio_resets_label" style="@style/info_label" />
            <TextView android:id="@+id/resets" style="@style/info_value" />
        </LinearLayout>

        <!-- Attempted Data Connections -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_data_attempts_label"
                style="@style/info_label" />
            <TextView android:id="@+id/attempts" style="@style/info_value" />
        </LinearLayout>

        <!-- Successful Data Connections -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_data_successes_label"
                style="@style/info_label" />
            <TextView android:id="@+id/successes" style="@style/info_value" />
        </LinearLayout>

        <!-- GSM Disconnects -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_gsm_disconnects_label"
                style="@style/info_label" />
            <TextView android:id="@+id/disconnects" style="@style/info_value" />
        </LinearLayout>

        <!-- PPP Sent -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_ppp_sent_label"
                style="@style/info_label" />
            <TextView android:id="@+id/sent" style="@style/info_value" />
        </LinearLayout>

        <!-- PPP Received -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_ppp_received_label"
                style="@style/info_label" />
            <TextView android:id="@+id/received" style="@style/info_value" />
        </LinearLayout>

        <!-- PPP Sent since last received -->
        <LinearLayout style="@style/entry_layout">
            <TextView android:text="@string/radio_info_ppp_resets_label"
                style="@style/info_label" />
            <TextView android:id="@+id/sentSinceReceived" style="@style/info_value" />
        </LinearLayout>

        <!-- Preferred Network Type -->
        <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/radio_info_set_perferred_label"
                style="@style/info_label"
                />

        <Spinner android:id="@+id/preferredNetworkType"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                />

        <!-- Radio Power -->
        <Button android:id="@+id/radio_power"
                android:textSize="14sp"
                android:layout_marginTop="8dip"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                />

        <!-- CellInfoListRate -->
        <Button android:id="@+id/cell_info_list_rate"
                android:textSize="14sp"
                android:layout_marginTop="8dip"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                />

        <!-- IMS registration required -->
        <Button android:id="@+id/ims_reg_required"
                android:textSize="14sp"
                android:layout_marginTop="8dip"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                />

        <!-- VoLTE provisioned -->
        <Button android:id="@+id/volte_provisioned_flag"
                android:textSize="14sp"
                android:layout_marginTop="8dip"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                />

        <!-- SMS over IMS -->
        <Button android:id="@+id/sms_over_ims"
                android:textSize="14sp"
                android:layout_marginTop="8dip"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                />

        <!-- LTE ram dump -->
        <Button android:id="@+id/lte_ram_dump"
                android:textSize="14sp"
                android:layout_marginTop="8dip"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                />

        <!-- SMSC -->
        <RelativeLayout android:layout_width="match_parent"
                        android:layout_height="wrap_content">
            <TextView android:id="@+id/smsc_label"
                      android:text="@string/radio_info_smsc_label"
                      android:layout_alignBaseline="@+id/update_smsc"
                      style="@style/info_label" />
            <Button android:id="@+id/refresh_smsc"
                    android:textSize="14sp"
                    android:layout_marginTop="8dip"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/radio_info_smsc_refresh_label"
                    android:layout_alignParentEnd="true"
                    />
            <Button android:id="@+id/update_smsc"
                    android:textSize="14sp"
                    android:layout_marginTop="8dip"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/radio_info_smsc_update_label"
                    android:layout_toStartOf="@+id/refresh_smsc"
                    android:layout_alignBaseline="@+id/refresh_smsc"
                    />
            <EditText android:id="@+id/smsc"
                      style="@style/form_value"
                      android:layout_alignBaseline="@+id/refresh_smsc"
                      android:layout_toStartOf="@id/update_smsc"
                      android:layout_toEndOf="@id/smsc_label" />
        </RelativeLayout>

        <!-- Test setting to ignore bad DNS, useful in lab environments -->
        <LinearLayout style="@style/entry_layout">
            <Button android:id="@+id/dns_check_toggle"
                    android:textSize="14sp"
                    android:layout_marginTop="8dip"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/radio_info_toggle_dns_check_label"
                    />
            <TextView android:id="@+id/dnsCheckState" style="@style/info_value" />
        </LinearLayout>

        <!-- Launch OEM-specific Info/Settings Activity (if any) -->
        <Button android:id="@+id/oem_info"
                android:textSize="14sp"
                android:layout_marginTop="8dip"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/oem_radio_info_label"
                />

    </LinearLayout>
</ScrollView>