History log of /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2591e00b57b8aedd9e44fecce3f55a2c6a5428c2 03-Sep-2014 Eric Rowe <erowe@google.com> Clean up connectivity tests.

Change-Id: I407cb78aecb43aa8413835a25b4558241d69fd2e
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java
d21f1c1e4d34306ab7aa99f5be1b886f6b4e07a8 19-Aug-2014 Guang Zhu <guangzhu@google.com> fixes for connectivity manager test suite

* reduced visibility of most util functions in
ConnectivityManagerTestBase
* reimplemented various waitFor... util function in base class:
instead of relying on received broadcast and synchronization
mechanism, we just poll for what we want with a fixed interval
and a max timeout
* minor style fixes
* removed state transition checks in all test cases of
ConnectivityManagerMobileTest: since exact state transitions
are not that interesting, we just care about if we reach a
particular state and if all network interfaces are in their
corresponding states
* clarified in comment what each test cases are testing, since
some of the test case names are not very straightforward
* any wait for DISCONNECTED checkes with ConnectivityManager are
temporarily commented out

Change-Id: I99cca95c33c6060909e0df684969b75c2dca23a9
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java
19306af73a8175e1327101132e26a35c7dfe5168 14-Sep-2013 Xia Wang <xiaw@google.com> Update the Connectivity Manager test suit to use InstrumentationTestCase.

- Remove ConnectivityManagerTestActivity as the test activity could be destroyed
after a system config change, which cause test failure in the wifi stress test.
- Update all tests to use InstrumentationTestCase, which instruments the test package.

Bug : 10426067

Change-Id: Ibf6f1f7cffd7a7eabc4cc63c7e033b59274b724e
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java
f2991add02f3e6f50dd65a835fffec3aa7221769 31-Jan-2013 Xia Wang <xiaw@google.com> Fix WiFi test:

-- In environment where there are too many APs, sometimes, the AP will not show in the scan list.
Part of the reason is due to the change that the scanning on each frequency is shortened to save power.
to avoid that, change the test to connect without scanning.

-- Increase the timer to wait for WiFi to be connected

Change-Id: If1a72607b3c7ad13dbbf788607665986eaf5b6b3
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java
88759bbd31e05a4163e1f8e72804ca83000afd53 03-Jul-2012 Irfan Sheriff <isheriff@google.com> Update WifiManager API

Use feedback based on NSD to update WifiManager API

Change-Id: I0c1dc74f7e2fa7cd697a995b7194e3e0366d7981
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java
d3975a917799b85cacaf382b65c5832813066b51 24-Feb-2012 Irfan Sheriff <isheriff@google.com> Fix WifiManager async API

Fix the current asynchronous API to use callback like the way
was done with p2p API.

In the process, fix the use of WPS

Change-Id: Ib6f8714cf51b3525b655948268804e7eaaf17587
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java
2d9f4620625405b916aa27177a6b5f82f8e5b15d 29-Nov-2011 Xia Wang <xiaw@google.com> Fix build

Change-Id: I465d85e4783763f311ed6ec0a09c1edde9712405
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java
a4c2caac05009512213454d329579a79dde11e5f 17-Nov-2011 Xia Wang <xiaw@google.com> Increase time between wifi stop and wifi start: set to 2 minutes
http://b/issue?id=5629901

Change on state validation:
- When network state is broadcast in other network information,
the test activity will record the state change which cause false
alarm in the test.

Change-Id: I8bd1e8c04ab97116f3a02ccc5543f34a7e651cda
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java
dddfaa75e77f4d02cc7b4180f5eb0679321cb628 09-Apr-2011 Xia Wang <xiaw@google.com> Fix access point parsing: reset static link property after parsing
static ip setting
Fix removeConfiguredNetwork: add sleep between remove configured network
and disable wifi

Change-Id: I619e79e9bc414b9aeae3537dbc642a7fbc9fca97
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java
ebe606fccd9293674273d5f73246e0e8e6e6ddcf 24-Feb-2011 Irfan Sheriff <isheriff@google.com> Using AsyncChannel for wifi connectivity

Change-Id: Ieee5a3a1a739238d8a6659493684f1be0cbea691
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java
a42a1e6b6fb6acc9ca327523ae456e464f8aedc1 23-Nov-2010 Xia Wang <xiaw@google.com> Add Wi-Fi connection test for static IP

- Add support in access point parser to support static ip settings
- Add Wi-Fi test with static IP configuration
- Use WifiManager new APIs
- Fix issue: if the expected AP is not in the scan list, retry scanning.
Maximum is 5.
- Fix issue: wait for wifi state change before connecting to AP.

Change-Id: Id09b921c8a6a4b14f3c65cdea0b58c7e6f395520
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java
ca1f2b1a1e8cb785be5ebbcf7ded7c921cbf80a7 13-Nov-2010 Xia Wang <xiaw@google.com> Add Wi-Fi connection functional tests.

- Add a XML parser to parse Wi-Fi configurations
- Add Wifi connection tests
- Fix issue: failure in setup will block the next tests.
call tearDown() if the test fails at setUp().

Change-Id: I1a380fa02ebc96b69165d1514da12df985224e8d
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/WifiConnectionTest.java