Enhancement+Cleanup of RadioInfo Test Menu

-Re-format CellInfo to a Table
-Improve performance on several blocking calls
-Add IPv6 ping test
-Re-order layout to improve logical grouping
-Semantic changes/cosmetic improvements to a few strings
-Expand list of selectable network types to include recent RATs

Change-Id: I02d15987e7cb79fe0bbd13e5d1eb734e3531f11f
This commit is contained in:
Nathan Harold
2015-11-23 15:48:10 -08:00
parent 0501728c03
commit cea413a9bb
5 changed files with 348 additions and 179 deletions

View File

@@ -51,13 +51,13 @@
/>
<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" />
<TextView android:text="@string/radio_info_ping_hostname_v4" style="@style/info_label" />
<TextView android:id="@+id/pingHostnameV4" 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" />
<TextView android:text="@string/radio_info_ping_hostname_v6" style="@style/info_label" />
<TextView android:id="@+id/pingHostnameV6" style="@style/info_value" />
</LinearLayout>
<LinearLayout style="@style/entry_layout">
@@ -71,6 +71,14 @@
<TextView android:id="@+id/dbm" style="@style/info_value" />
</LinearLayout>
<!-- 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"
/>
<!-- Location -->
<LinearLayout style="@style/entry_layout">
<TextView android:text="@string/radio_info_signal_location_label" style="@style/info_label" />
@@ -88,6 +96,8 @@
<LinearLayout style="@style/entry_layout">
<TextView android:text="@string/radio_info_cellinfo_label"
style="@style/info_label" />
</LinearLayout>
<LinearLayout style="@style/entry_layout">
<TextView android:id="@+id/cellinfo" style="@style/info_value" />
</LinearLayout>
@@ -140,7 +150,6 @@
<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" />
@@ -210,15 +219,7 @@
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 -->
<!-- IMS registration required -->
<Button android:id="@+id/ims_reg_required"
android:textSize="14sp"
android:layout_marginTop="8dip"

View File

@@ -110,11 +110,6 @@
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" />