4e0a1bafa7a86e2840c855846f3fdaee9cd00424 |
|
10-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
SoftApManager: retrieve config when null To support temporary softap configs, SoftApManager will not automatically write out passed in configs to the WifiApConfigStore. This means that Settings will need to continue explicitly saving config changes through the WifiManager API and cannot depend on a call to start softap to write a new config. Bug: 35809698 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Test: Wifi integration tests Change-Id: I60e138ada3258e29ed4f411616e85b553c7dd34d
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java
|
80a1468c75b0db36e58de767c74f7c15e9aa55e3 |
|
21-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
SoftApManager: add WifiMetrics to constructor To prepare SoftApManager for an upgrade with WifiMetrics, add the WifiMetrics object to the constructor. This also involves updating WifiInjector and the SoftApManagerTest files. Bug: 30899122 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually started softap and verified connectivity on client Change-Id: I14d319ab51b85ab26ecba45ec534da7690caf7fe
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java
|
79d069c37009c62f4f9e1dd0fc623fcf50aab919 |
|
06-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
SoftApManager: move config argument to constructor This CL moves the softap configuration argument from the start command to the constructor. This allows a generic start() method to be used instead of sending the config with the CMD_START message. Additionally, the default config will be used if a config is not provided. An error will be triggered if the default config is not loaded properly. Existing unit tests were updated to reflect the changes above and additional tests were added to cover a failure loading the default config. The tests were also modified to check the SSID name from the config when start is called. This allows the test to distinguish the default from provided configs in the constructor. Bug: 31631674 Test: manual testing and runtests.sh Change-Id: I3be2ee36eb8119647fc42623785e1bbd4c7ad9b1
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java
|
fe3e7f39c4acf1517b31d6ff7123d075c1e6de25 |
|
27-Sep-2016 |
Christopher Wiley <wiley@google.com> |
SoftApManager should listen for interface up/down Defer reporting AP bring up as complete until we see the interface going up. Since wificond takes down the interface at each tear down, the interface should always be initially down, so we should always see this event. Bug: 31337216 Test: unittests pass Change-Id: If5d5e3908887df33f7da9a61af1bd648d8b8cc5a
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java
|
974f4ecb02b4560f18bfdaed3f6a2c78e5d42ee0 |
|
19-Jul-2016 |
Christopher Wiley <wiley@google.com> |
Use wificond to configure and start hostapd Bug: 30292103 Test: Can toggle tethering on/off on angler/bullhead/upcoming hardware Test: unittests pass Change-Id: If15658bf9b236ff4572f436077f2ac307c87728e
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java
|
736132bc7bc92bf17cbeeea26f0bf44d498e46e0 |
|
07-Jul-2016 |
Christopher Wiley <wiley@google.com> |
Tear down AP when wificond's IApInterface dies Test: Can start/stop wificond with the AP on/off see the AP torn down. Test: Added unittests Test: Unittests pass Bug: 29607308 Change-Id: I84f35e2240c6cd51d5deedb4042b270116078a4f
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java
|
f502d3e20409d81cfefd762b3b44f46dead09a92 |
|
31-May-2016 |
Christopher Wiley <wiley@google.com> |
Remove all knowledge of tethering from SoftApManager This logic has moved into Tethering and TetherInterfaceStatemachine, where it probably always belonged. Bug: 29054780 Test: WiFi tethering continues to work on angler `runtest frameworks-wifi` passes. Change-Id: Ifff78ea540929fde4abea65716e1f659da2ecfec
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java
|
f4267b6840dbc7f430638c35c5448187b6e83846 |
|
19-May-2016 |
Christopher Wiley <wiley@google.com> |
Move test components into its own static library This allows us to share the class with networking code in frameworks/base/services. Moved: - MockLooper - BidirectionalAsyncChannel* - MockAlarmManager - MockAnswerUtil Bug: 28848133 Test: These tests continue to pass Change-Id: I97bba188da1eb07aa8f6fccf6f051c48b197d5f1
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java
|
be40e20f6995d9d11c8270502120a07785dde270 |
|
12-Apr-2016 |
Daniel Erat <derat@google.com> |
Refactor SoftApManagerTest. SoftApManagerTest formerly had tests that doubled as helper methods (sometimes even calling each other), making it difficult to simulate events occurring in different orders. This change creates a clearer distinction between helpers and tests, and also tries to classify helpers as either starting processes or verifying that the code under test did what was expected. Bug: 28107595 Change-Id: I743d8abbf73ffcd6988ef16d00286733355582ea
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java
|
e5b93fbfe451bc57c07b3f72191b52b6bd237d5b |
|
09-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Add SoftApManager class The newly created class is responsible for managing soft AP instance and tethering state transitions. This class will be integrated to WifiStateMachine in an upcoming CL, which will remove the existing soft AP and tethering related code from WifiStateMachine. Bug: 26876260 TEST=runtest frameworks-wifi Change-Id: I25568649b8c9d18ce78019dac614bafb9c5a3448
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SoftApManagerTest.java
|