ee38c65d579f5363f2ffd63e850582350233d0e4 |
|
25-May-2018 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: convert 5GHZ to ANY for dual mode devices When setting or getting an ap config, check for necessary apband conversions. For some devices, apBand options are limited to 2.4(only) and ANY. A second class of devices are limited to 2.4(only) and 5(only). Single band devices are still limited to 2.4(only). Bug: 80251951 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually confirmed configs are converted for different device types Change-Id: I14150f0e890696e12ef04f402c0d8afad09e984e
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
|
b8adbae328f99fafc7f566877b4a40fd5af6381f |
|
28-Feb-2018 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: default config band 2GHZ Return the default band for tethering configs to 2.4GHz. Bug: 73102003 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: If20a141d6553df2c4426cd8ec7ea43fbef093edf
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
|
7f2a1e30dd5d14320ffc7b185ac25fdb79fe52b0 |
|
23-Jan-2018 |
Etan Cohen <etancohen@google.com> |
Update SmallTest library android.test.suitebuilder.annotation.SmallTest is deprecated and replaced by android.support.test.filters.SmallTest. Update all test files. No other change (except import order cleaning up to pass preload format check). Bug: 72324160 Test: all unit tests pass Change-Id: Icc4abe3b3b37926d583c0d4ae510a7d7c74c1a03
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
|
9d1d80e7ae494a748d06429f00014043f3420703 |
|
18-Jan-2018 |
Ningyuan Wang <nywang@google.com> |
set 'AP_BAND_ANY' as the default ap band option Bug: 68763822 Test: compile Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually test by checking UI and start hotspot Change-Id: I6deaf543ec2548bfae60e4740b482473923330d3
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
|
08966b8e4f4739c634a6bf063e57c60edf062080 |
|
15-Aug-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigVerificationTest: valid min len ssid When testing a random (valid) SSID, make sure the minimum length is honored to avoid failing the test. Bug: 64619701 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I90e9e601356c184dc5a1623f74873189a0bbf5de
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
|
0cafbe0c8e1bb5b9900908a44df232251c2042ea |
|
19-Jul-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: add initial apconfig validation Add initial validation for values in the supplied SoftAp config. The initial checks will not fully validate the supplied settings, but they will do a high level sanity check. Initial items verified: 1 - ssid string set 2 - ssid string not empty 3 - ssid string does not exceed max length 4 - open networks do not have a password 5 - password protected networks do have a password 6 - if applicable, passwords within min/max range Future extensions would include additional parameters and validating the bytes in the ssid and password fields. Bug: 37280779 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I1a9338ce92c60c88ff3992d024a00ab1c6c4ec5e
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
|
1fdb6151dcc85c990483492e2d9cbd9b7c243164 |
|
01-Jun-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: set LOHS wifi config networkId The WifiConfiguration object used to connect to a locally started LOHS needs a networkId that signals to ConnectivityService that the application wants to use the LOHS to talk to co-located devices. Bug: 62076211 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh -e class com.android.server.wifi.WifiApConfigStoreTest Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh -e class com.android.server.wifi.WifiServiceImplTest Test: manually tested with in-progress integration test Change-Id: Ic316250184eae0f04dc0fb83efb9710d5d65f0af
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
|
5303b9cb6acc2149b454e8aad58f33d8df88ba78 |
|
26-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: create temp sharing AP config Create a temporary config for use by local only hotspot. These configs are generated by the WifiApConfigStore, but will not be stored. Bug: 36704784 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I3470708a274e97f6e4a752ea1863cfa86bfbf8b6 Merged-In: I3470708a274e97f6e4a752ea1863cfa86bfbf8b6
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
|
c4d0de0346332a43155580c28097c3bdc9976875 |
|
05-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: randomize default soft ap SSID Add a suffix to the default SSID for SoftAp configurations. This results in the default SSID name (currently AndroidAP) followed by and underscore and four randomized ints. The WifiApConfigStoreTest methods were also updated to reflect this change. Bug: 31076622 Test: manually tested with a newly flashed device Test: frameworks/base/wifi/tests/runtests.sh Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: If3032ff97d76cbd0bf24950aeb01a9d30568496f
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
|
51a0661e2f4554eb0103046d1ddc95afb158ad88 |
|
10-May-2016 |
Ningyuan Wang <nywang@google.com> |
Fix WifiApConfigStoreTests Now that writeApConfiguration has no return type, so we should also ignore the value in the tests. BUG=28692504 TEST=compile TEST=runtest frameworks-wifi Change-Id: Ia4a562335de2c1dcadb5f41dcb3dc9f96a926680
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
|
750c6962838af6ab7ba034c80f2d325df7e74cbe |
|
23-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Use a wrapper for BackupManager This avoids invoking calls to BackupManager/BackupManagerService during unit test. Bug:27296824 TEST=runtest frameworks-wifi Change-Id: I3d4fe1b4d2fdabe079e65242099f4dd4ed4ab7f4
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
|
c79666b79e273ceaa2f74090b02ca6cf83c61387 |
|
27-Jan-2016 |
Peter Qiu <zqiu@google.com> |
WifiApConfigStore refactoring Here are main changes to WifiApConfigStore: - add public APIs to get/set AP configurations, instead of doing it via message passing between state machines. - remove unnecessary statemachine logics. - remove the use of a dedicated thread for writing configuration file, the reason is that the file size is fairly small, seems unnecessary to create a separate thread just for that (which adds complexity). - handle setting of "null" ap configuration, by falling back to use the default configuration. - add unit tests With this refactoring, WifiApConfigStore becomes more self-contained, which can be easily reused by other modules (e.g. upcoming SoftApManager). Bug: 26727266 TEST=runtest frameworks-wifi TEST=manual test: update/enable WiFi hotspot Change-Id: If438d5be7eaf59f0f2d35ed25a899cef93c5a638
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
|