History log of /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
58a3ddf5aafacbd84de7104f07a994bb06a9b374 23-Oct-2014 Eric Rowe <erowe@google.com> Add delay in ping connectivity test retry

Change-Id: Id6e36f42b2a2d84605185780fb7a3f2144e7a9b9
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.java
86e15557c52e2847d2adc8495a281dcf0239506e 10-Sep-2014 Eric Rowe <erowe@google.com> Allow protected wifi in connectivity tests

Change-Id: I31285572f90bfb46cc28fb04e79cb9b407477a7d
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.java
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/ConnectivityManagerMobileTest.java
12747ab3aafc92f3b86da7df2b1d992866cbaf52 23-Aug-2014 Guang Zhu <guangzhu@google.com> add some missing assert messages for wifi test

Change-Id: I04f4cbbca1a181ab1404fa3abba874e1f78fed3c
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.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/ConnectivityManagerMobileTest.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/ConnectivityManagerMobileTest.java
0076729d3880f6c71a607af42e06be02c7bda542 11-Sep-2013 Xia Wang <xiaw@google.com> Use setAirplaneMode() API for Connectivity Manager tests

Change-Id: I2e35c58e4101b6b5fe9efdb5adad922402d38b6f
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.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/ConnectivityManagerMobileTest.java
c09cdce1b05075da808ae080b9905a14a3e1e627 11-Sep-2012 Christopher Tate <ctate@google.com> Update airplane-mode manipulation for the new Settings namespace

Quick Settings and global actions (aka longpress-Power) toggles are
included in this CL. The Settings app manipulations are updated in
a different CL because that's a different git package.

Bug 7132230

Change-Id: I50838f5e8d7b25a750d2bcae90bf384b09816dbb
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.java
776cca3b3a84cd16bdaccdd43963cc34d923e0a4 10-Mar-2012 Xia Wang <xiaw@google.com> Allow CM/WIFI tests running with wifi-only flag.

Change-Id: I12ab8f6f0335574a5af6db497ed76e6d5fec3ab7
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.java
4dfa295ad8b75a8c0976e7de078ebe4f654a6a89 28-Jan-2012 Brett Chabot <brettchabot@android.com> Use PackageManager to detect wifi-only devices in ConnectivityManagerTest.

Change-Id: I9749bf9024a73af095d4a681bb902594828ad599
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.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/ConnectivityManagerMobileTest.java
7d83f6020c31c21b84114b35e6303895d082e18d 05-Mar-2011 Xia Wang <xiaw@google.com> am 928ec5e0: Merge "Modify connectivity manager test suite so that it can be run on Wi-Fi only device." into honeycomb

* commit '928ec5e021162fe371da8bdac7f5bb2c854b1aa1':
Modify connectivity manager test suite so that it can be run on Wi-Fi only device.
b97435c94f4d35a70d63e5dcba5415b0110cf2c9 04-Mar-2011 Xia Wang <xiaw@google.com> Modify connectivity manager test suite so that it can be run on Wi-Fi
only device.

DO NOT MERGE

bug id: 3511242

Change-Id: I7dc6d30793cf679b53af571f58b7405ab9e33299
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.java
be142fc6aae5484b518f6ab29d12f0c086f6fa74 08-Feb-2011 Xia Wang <xiaw@google.com> Fix test3GToWifiNotification for mobile state validation.

Change-Id: I018b28b78907fdd9f3f835faf562b4da5fea8f80
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.java
2dc2991f5833c9ca72e5e4d1f7bdc1c6c8caca91 12-Jan-2011 Xia Wang <xiaw@google.com> Wait for Wi-Fi state change before set the state verification criteria.
bug: 3336896

Change-Id: If4faf55d1c9a326a0cbd95013b8a5edce562230e
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.java
8efaeb03ea1ecd633f61bdb03bb90393887f08df 11-Dec-2010 Xia Wang <xiaw@google.com> Disable airplane mode once the test is finished. #3276498
Verify wifi state in 3g->AM->3g test.

Change-Id: I3ce7ebad963c09be666b508f05eddbd0ded255d7
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.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/ConnectivityManagerMobileTest.java
8f076ec3c3133c70b67cdb9f5ae0907fd20492dd 26-Jul-2010 Xia Wang <xiaw@google.com> DO NOT MERGE

move change to gingerbread.

Wait for broadcast even if the network state has been changed.
bug: 2863356

Change-Id: Ia78d1d6c2906371b56dfd4765845431047e9e9c0
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.java
4672203ea119f38786f55ac866f38da307671a49 06-May-2010 Xia Wang <xiaw@google.com> Avoid UNKNOWN state for Wifi in bug2542613, not a common user case.

Change-Id: Ief0a953e2909cb5c808f0d683ab95d14f6c53e72
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.java
72b301fac1f2420f770cd060a3d00dad4340287b 06-Apr-2010 Xia Wang <xiaw@google.com> Fix bug2537659
When airplane mode is disabled, Mobile connection may be bring up
before connecting to a known wifi.

Change-Id: I92e395aefd141c8bc4b8b2e497a71e5fd131eec2
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.java
2c15966f8cf6160ad5dcbbde372508de89985829 28-Mar-2010 Xia Wang <xiaw@google.com> Test connecitvity manager functionality in state change.
* Verify state change when enabling/disabling wifi
* Verify network connectivity change while switching among 3G, Wifi, and Airplane mode

Change-Id: Ia4581b10b794c7b301d28019563bca832bcd8b90
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ConnectivityManagerMobileTest.java
fc2dbd04005c32360eead803e29df3cc62209cd8 23-Mar-2010 Xia Wang <xiaw@google.com> * Move connectivity manager test closer to source.
* Add license header to java files
* Remove google related information from the test

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