After vts-core is renamed to vts, the CTS tests won't be needed in vts
suite.
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL removes all CTS tests in vts suite,
as vts is renamed to vts10. This CL won't change test logic or behavior.
Change-Id: Idc9e9cc1d1080ff689823671a736bbb78bd7a740
The API addOrUpdatePasspointConfiguration is deprecated on R and
available only for privileged apps. Inherit Shell permissions.
Bug: 152373068
Test: atest android.net.wifi.cts.WifiManagerTest#testAddOrUpdatePasspointConfiguration
Change-Id: Iaedc1e67ecff116a540d7ac9f2f4e50696e459f8
The AudioGroup constructor with a Context parameter does not exist on Q
devices.
Use the previous constructor on older devices.
Test: atest CtsNetTestCasesLatestSdk on Q and R devices
Bug: 150918852
Merged-In: I24c3e7ab8c7219d6f345943ead3e3b6418fa7f47
Change-Id: I24c3e7ab8c7219d6f345943ead3e3b6418fa7f47
Test APIs below:
NetworkInfo(int, int, String, String)
setDetailedState(android.net.NetworkInfo.DetailedState, String, String)
Bug: 152356365
Test: atest CtsNetTestCasesLatestSdk:android.net.cts.NetworkInfoTest
on both Q and R devices
Change-Id: Idada858b1d5cd4c0907998b289aca4d6e6d04f56
Merged-In: Idada858b1d5cd4c0907998b289aca4d6e6d04f56
(cherry picked from aosp/1267480)
ScanResult is now a final class, mock will not work. Use real one
instead.
Bug: 152434349
Test: atest WifiRttTest
Change-Id: I25daf0c2596a5a1a24726e68a79191ad4199b142
Bug: 152356365
Test: atest CtsNetTestCasesLatestSdk:android.net.cts.NetworkInfoTest
on both Q and R devices
Change-Id: I44ffdc4b4a9ba8fcc1fda895b9d7f8f551fd6bb3
Merged-In: I44ffdc4b4a9ba8fcc1fda895b9d7f8f551fd6bb3
(cherry picked from aosp/1256248)
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