History log of /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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