ScanResult is now a final class, mock will not work. Use real one
instead.
Bug: 152434349
Test: atest WifiRttTest
Change-Id: I25daf0c2596a5a1a24726e68a79191ad4199b142
Add test for IpConfiguration and also address review
comments from aosp/1171795.
Bug: 139268426
Test: CtsNetTestCasesLatestSdk:android.net.cts.IpConfigurationTest
Change-Id: Ib30a98e11bdcd9d473b713f7e4c317172b14f000
Merged-In: Ib30a98e11bdcd9d473b713f7e4c317172b14f000
(cherry picked from commit 8e208eb353263bddca4d93a7a67a5f978316b0cc)
WifiManager.save() is an asynchronous operation. This is sometime
causing the tests to be flaky (dropShellIdentity occurs while this is
being processed). Use the synchronous legacy API's instead for rewinding
the effects of factory reset.
Bug: 152048238
Test: atest android.net.wifi.cts.WifiManagerTest
Change-Id: Ibb0e04cf931511fcda1b1a81fd6eda4583196c2e
This is to prepare renaming vts to vts10.
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL adds all tests in vts to a new
suite vts10. vts10 will be the new name of existing vts suite. This CL
won't change test logic or behavior.
Change-Id: Ia9af1fbddc66d3c94976a58c36d274425f1fe461
Bug: 152048238
Test: atest android.net.wifi.cts.WifiManagerTest
Reproduced the original issue (i.e tests after testFactoryReset failing) with a
PSK network on the device & verified that this CL fixes the failures.
Change-Id: I56947a78142e971c8da6a1c098ebbd0f1e7d370d
This only tests that the API does exist, there isn't any other
feasible tests for this API surface.
Bug: 150973073
Test: atest android.net.wifi.cts.WifiMigrationTest
Change-Id: I094e716027a6eb0995b6c20ed351ee12b91fce85
Traffic state changed callbacks can be triggered multiple times with
different data indicators. Ensure that we wait for the expected state
before unblocking.
Bug: 151900245
Test: atest android.net.wifi.cts.WifiManagerTest
Change-Id: Ie451070bf2ab430f57ff83b0cefca7050aa8df59
This assumes that OEM's were using the same AOSP @Settings.Global
values to persist the data (which is probably true on all devices).
Bug: 150236894
Test: atest android.net.wifi.cts.WifiMigrationTest
Change-Id: I7e80730c81e6ed4773cf187e4eb1018528edb158
Test that PNO scans reconnects us to a saved network
when Wifi is disconnected and screen is off.
This also adds coverage for
WifiNl80211Manager.startPnoScan.
Bug: 150978929
Test: atest android.net.wifi.cts.WifiManagerTest
Change-Id: Id0487f4df48ea013d67e19faecd96b5a469f09da
Link probing is an optional feature gated by an
overlay. Unfortunately, there is no public/system API
that can be used to check if link probing is
supported on the device.
`adb shell cmd wifi send-link-probe` requires
root, which is not supported by CTS.
For devices that do not support link probing, this API
could even throw an exception. Thus, this test does
not have any expectations.
Bug: 150978929
Test: atest android.net.wifi.nl80211.cts.WifiNl80211ManagerTest
Change-Id: I13f9be5571c0eb7d64cc86bea5b7fd8addc1db5c
* changes:
WifiManagerTest: Add test for isTdls & isStaApConcurrency supported
WifiNetworkSuggestionTest: Add test for WAPI builder method
WifiNetworkSpecifierTest: Add tests for enterprise builder methods
In preparation of moving away from this API surface to a different
mechanism.
Bug: 149418926
Test: atest android.net.wifi.cts
Change-Id: I5805d9dc27a248b633d514356f603f63af799429
* changes:
CTS: Test WifiNl80211Manager.OemSecurityType
CTS: Test PnoSettings
CTS: Test NativeWifiClient
CTS: Test PnoNetwork
CTS: Test RadioChainInfo
CTS: Test DeviceWiphyCapabilities