From d53aa9b917790c9f3480dd749b11707bd5c0f87a Mon Sep 17 00:00:00 2001 From: Robert Greenwalt Date: Tue, 6 Oct 2009 15:12:40 -0700 Subject: [PATCH] Add Conn Man testing tools. First test toggles wifi on/off forever (must have wifi associated to start, or at least a remembered network in range) Second test toggles the screen on off so you can test wifi cycle from that point. Lastly adds some network-feature tests using mms or hipri net features. bug: 2170806 --- apps/Development/AndroidManifest.xml | 11 + apps/Development/res/layout/connectivity.xml | 206 ++++++++++ apps/Development/res/values/strings.xml | 17 + .../com/android/development/Connectivity.java | 351 ++++++++++++++++++ 4 files changed, 585 insertions(+) create mode 100644 apps/Development/res/layout/connectivity.xml create mode 100644 apps/Development/src/com/android/development/Connectivity.java diff --git a/apps/Development/AndroidManifest.xml b/apps/Development/AndroidManifest.xml index 0bdd26e75..1fff629b3 100644 --- a/apps/Development/AndroidManifest.xml +++ b/apps/Development/AndroidManifest.xml @@ -34,6 +34,11 @@ + + + + + @@ -88,6 +93,12 @@ + + + + + + diff --git a/apps/Development/res/layout/connectivity.xml b/apps/Development/res/layout/connectivity.xml new file mode 100644 index 000000000..b60349659 --- /dev/null +++ b/apps/Development/res/layout/connectivity.xml @@ -0,0 +1,206 @@ + + + + + +