Robert Greenwalt
aa70f101e0
Add RouteInfo objects for tracking routes.
...
Used to have list of gateways for default routes, but general static routes
should be supported.
Change-Id: I01730142c6139f2b833b9d48f5381d2d320b69f6
2011-05-02 11:17:30 -07:00
Xia Wang
dddfaa75e7
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
2011-04-08 16:31:01 -07:00
Xia Wang
4bc5c4a1f5
resolved conflicts for merge of 16cbe575 to honeycomb-mr1
...
Change-Id: Ic55f0bdeb5fc63bdabb4f4546fa7e1aa3201a6e0
2011-03-10 15:09:46 -08:00
Xia Wang
3d58d63b03
Add WifiStressTest to Wi-Fi only test suite.
...
Change-Id: Id15ec2e291729b910ee05cef4650efb8d2e1a43c
2011-03-08 18:25:31 -08:00
Xia Wang
7d83f6020c
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.
2011-03-05 09:25:30 -08:00
Xia Wang
b97435c94f
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
2011-03-03 18:46:24 -08:00
Irfan Sheriff
ebe606fccd
Using AsyncChannel for wifi connectivity
...
Change-Id: Ieee5a3a1a739238d8a6659493684f1be0cbea691
2011-02-28 15:54:51 -08:00
Xia Wang
8d2f78898e
Remove long sleep time in WifiApStress test
...
as it causes the test to run for a long time.
Change-Id: I82dd042866f9e9f4637a5c3cc553334abe769260
2011-02-23 11:39:14 -08:00
Xia Wang
6bffe14c78
Add ping test to verify data connection.
...
Change-Id: I88e06934747e9e98bd440ae84268e69486c74734
2011-02-17 15:32:37 -08:00
Robert Greenwalt
b979f79158
Remove more use of netmask
...
bug:2542681
Change-Id: Ifd75672739ee8262d4df22afd8173e4f3f67260d
2011-02-14 14:32:33 -08:00
Xia Wang
718dfa8d94
Merge "Add wait time for Wi-Fi tethering test, bug http://b/issue?id=3436586 "
2011-02-14 09:32:10 -08:00
Xia Wang
cbafbe7c3e
Merge "Fix test3GToWifiNotification for mobile state validation."
2011-02-11 13:55:44 -08:00
Robert Greenwalt
992564e481
Update LinkProperties treatment of gateways
...
A link can have multiple gateways (think ipv4/ipv6 for a trivial example).
.
bug:3438810
Change-Id: I28c90a6947cd50b82e5ca9a0113148f98b3f4dd8
2011-02-11 11:06:23 -08:00
Xia Wang
be142fc6aa
Fix test3GToWifiNotification for mobile state validation.
...
Change-Id: I018b28b78907fdd9f3f835faf562b4da5fea8f80
2011-02-10 18:43:45 -08:00
Xia Wang
ec841adcf7
Add wait time for Wi-Fi tethering test, bug http://b/issue?id=3436586
...
Change-Id: I6aaac0e6ef7f89d5052c8a5dd2bef71612e72942
2011-02-10 16:28:15 -08:00
Yu Shan Emily Lau
3d273da8fa
Change the default ssid from GoogleGuest to the opennet for the power test.
...
Change-Id: I63bae360d283dc5224790aaccbd879015402187d
2011-01-21 14:06:22 -08:00
Xia Wang
2dc2991f58
Wait for Wi-Fi state change before set the state verification criteria.
...
bug: 3336896
Change-Id: If4faf55d1c9a326a0cbd95013b8a5edce562230e
2011-01-11 17:35:56 -08:00
Irfan Sheriff
b45e726bf5
Fix wifi broadcasts
...
Add the missing wifi disable broadcast and also send out
supplicant disconnect on shutdown.
Added unit test cases.
Bug: 3294055
Change-Id: Ia56a8ec9d17784c5aac5b8b369c04837f9057c54
2010-12-22 14:43:13 -08:00
Xia Wang
73055f12d7
Few changes for Wi-Fi Stress Test
...
Add WIFI_IDLE_MS to 1min in Wi-Fi stress test. bug#3284797
Wake up device using PowerManagerService.userActivityWithForce instead
of full wake lock.
Turn screen on when running Wi-Fi tests.
Change-Id: Ib763136cef515eec8b1d25183cf7a84ae1038ef2
2010-12-21 11:31:06 -08:00
Irfan Sheriff
58938159ec
Fix ssid storage regression
...
I introduced a bug with change Ic12fd78f. Quite
possibly a copy-paste issue.
Bug: 3281928
Change-Id: I040fa8580c3d6d5c585d0e5cc4306daab2f44c3d
2010-12-16 07:45:58 -08:00
Xia Wang
8efaeb03ea
Disable airplane mode once the test is finished. #3276498
...
Verify wifi state in 3g->AM->3g test.
Change-Id: I3ce7ebad963c09be666b508f05eddbd0ded255d7
2010-12-10 17:20:30 -08:00
Xia Wang
93ca011c60
Make Wi-Fi stress tests output log consistent.
...
Fix: record average at the beginning of each iteration
Change-Id: Ia129348dbf79ecf7efc7169b8bbfac3755ccce63
2010-12-09 19:07:59 -08:00
Xia Wang
8c1c1e875e
Make the scan test log consistent.
...
Change-Id: I44fd790c21fed6bb2b615a047b762b5ac7c451bb
2010-12-07 15:39:11 -08:00
Xia Wang
90e1c782a6
Add Wi-Fi stress tests.
...
- Wi-Fi scan stress
- Wi-Fi reconnection stress
- Measure Wi-Fi scanning performance:
. Average scanning time
. Scanning quality
Change-Id: Ifce496876811816b452aed4ae9642fdb2db44798
2010-12-07 14:21:51 -08:00
Xia Wang
a42a1e6b6f
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
2010-12-02 16:25:26 -08:00
Xia Wang
ef11d3289e
am 6bdd6937: am 5df8c155: Merge "Add Wifi Tethering stress test" into gingerbread
...
* commit '6bdd69370fe2bda7adc7055f62165fccd944b192':
Add Wifi Tethering stress test
2010-11-22 14:50:28 -08:00
Xia Wang
6026d52710
Add Wifi Tethering stress test
...
Stress Wifi driver loading and unloading by enable/disable access point
mode.
Change-Id: Ie31266d2b9665cb304473f1c14c83bc57e9920f2
2010-11-22 12:00:31 -08:00
Xia Wang
4e74e181d1
am f55c9736: am d0a8f54a: Merge "Add Wi-Fi connection functional tests." into gingerbread
...
* commit 'f55c973637f2b17de0f5543260e7e409a8635112':
Add Wi-Fi connection functional tests.
2010-11-16 09:18:48 -08:00
Xia Wang
ca1f2b1a1e
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
2010-11-15 15:10:44 -08:00
Irfan Sheriff
1406bcb751
Use AsynChannel for synchronous API
...
also cleaned up some unnecessary synchronous commands from state machine,
and fixed an issue with a synchronous WPS command
Change-Id: I55bf4379d9810e11f2ba2e03e2e703b132d1488f
2010-11-02 16:08:35 -07:00
Xia Wang
8f076ec3c3
DO NOT MERGE
...
move change to gingerbread.
Wait for broadcast even if the network state has been changed.
bug: 2863356
Change-Id: Ia78d1d6c2906371b56dfd4765845431047e9e9c0
2010-07-29 19:15:33 -07:00
Xia Wang
69a5a96662
Wait for broadcast even if the network state has been changed.
...
bug: 2863356
Change-Id: If279e891cf66fcef465e85b704b0b857f6ac3742
2010-07-26 18:17:07 -07:00
Hung Dang
b6761e73ce
am 28fe43be: Merge "Add the hook which can set the device to connect to wifi and in airplane mode after reboot. This is for the power test." into froyo
...
Merge commit '28fe43be5c364a8f7f248a5ac05cf832a83737c2' into gingerbread
* commit '28fe43be5c364a8f7f248a5ac05cf832a83737c2':
Add the hook which can set the device to connect to wifi and in airplane mode after reboot. This is for the power test.
2010-07-16 15:15:44 -07:00
Yu Shan Emily Lau
ba1348e3c2
Add the hook which can set the device to connect to wifi and in airplane mode after reboot. This is for the power test.
...
Change-Id: I42527612764252d1c47bd29a2b88d5e3019cfdf9
2010-07-16 12:00:30 -07:00
Xia Wang
120a58fb80
Extend unit test framework for Wifi soft AP configuration
...
Add test case: testApSsidWithAlphabet
Change-Id: Ie188f241d15603015d264a7d568ed44ce4ca3ad8
2010-06-29 11:23:34 -07:00
Xia Wang
cf7d2d50a4
am 3716ea04: am 06906796: If the network SSID is a string, it should be enclosed in double quotation marks.
...
Merge commit '3716ea04d9fd59ff95bacdf6efac4ab5583e13fc' into kraken
* commit '3716ea04d9fd59ff95bacdf6efac4ab5583e13fc':
If the network SSID is a string, it should be enclosed in double quotation marks.
2010-05-20 10:58:18 -07:00
Xia Wang
069067963c
If the network SSID is a string, it should be enclosed in double quotation marks.
...
bug id: 2701058
Change-Id: I40e10ba096053710d4974b005d0d2e7c309ccffe
2010-05-20 10:22:59 -07:00
Xia Wang
0b90d76ef8
ConnectivityManagerTestActivity can be launched from launcher.
...
Help to track bug 2680352.
Add a resource file for string.
Corrent some typos.
Change-Id: I42fefe49c360168ec807ed82dc220ab68681d14e
2010-05-17 12:08:05 -07:00
Xia Wang
4672203ea1
Avoid UNKNOWN state for Wifi in bug2542613, not a common user case.
...
Change-Id: Ief0a953e2909cb5c808f0d683ab95d14f6c53e72
2010-05-06 14:58:40 -07:00
Xia Wang
72b301fac1
Fix bug2537659
...
When airplane mode is disabled, Mobile connection may be bring up
before connecting to a known wifi.
Change-Id: I92e395aefd141c8bc4b8b2e497a71e5fd131eec2
2010-04-05 19:59:26 -07:00
Xia Wang
2c15966f8c
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
2010-03-31 16:14:43 -07:00
Xia Wang
fc2dbd0400
* Move connectivity manager test closer to source.
...
* Add license header to java files
* Remove google related information from the test
Change-Id: I2e57960f9ac963cdf3591385e21ed68832f74bd0
2010-03-23 14:19:07 -07:00