Nate Jiang
01cb32c332
Add test for aware rtt
...
Bug: 150977837
Test: atest WifiRttTest
Change-Id: If19b8708fd76df7f0be3fb5b338b4c58d7279402
2020-03-23 14:36:10 -07:00
TreeHugger Robot
a366b2f440
Merge "WifiManagerTest: Use getPrivilegedConfiguredNetworks() in factory reset test" into rvc-dev
2020-03-23 16:45:59 +00:00
Dan Shi
67de87eed0
Add vts10 suite to existing vts tests
...
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
2020-03-23 09:34:13 -07:00
Roshan Pius
ad92bb63b5
WifiManagerTest: Use getPrivilegedConfiguredNetworks() in factory reset test
...
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
2020-03-23 08:06:00 -07:00
Roshan Pius
01a461c223
Merge "WifiMigration: Add test for the config store APIs" into rvc-dev
2020-03-21 19:54:27 +00:00
Nate Jiang
d37de92005
Merge "Add cts test for ResponderLocation" into rvc-dev
2020-03-21 01:38:23 +00:00
Roshan Pius
1ccef6fefe
WifiMigration: Add test for the config store APIs
...
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
2020-03-20 23:07:45 +00:00
Nate Jiang
29c4a94406
Add cts test for ResponderLocation
...
Bug: 150976615
Test: atest WifiRttTest
Change-Id: I830c50d2011ef024b2e758d4558379ab12f1ebae
2020-03-20 15:19:46 -07:00
TreeHugger Robot
dc1dd60826
Merge "cts: unregister softap callback after finish the test" into rvc-dev
2020-03-20 19:39:44 +00:00
Nate Jiang
892070b11b
Merge changes I7ca4c3af,Idb8e2806 into rvc-dev
...
* changes:
Add test for SubscribeConfig.Builder().setMinDistanceMm(int)
Add Cts test for createNetworkSpecifierPmk
2020-03-20 16:09:23 +00:00
lesl
f25df0d381
cts: unregister softap callback after finish the test
...
Bug: 150307166
Test: atest android.net.wifi.cts.WifiManagerTest
Change-Id: If189be91217f4f94e358fc0aedd2bfcc36f96c84
2020-03-20 22:53:59 +08:00
TreeHugger Robot
415461e1c9
Merge changes Id928678b,Ic55dbbe6 into rvc-dev
...
* changes:
ConnectedNetworkScorerTest: Add test for connected network scorer
ConnectedNetworkScorerTest: Add tests for wifi usability stats
2020-03-20 05:44:14 +00:00
Roshan Pius
b6b4c49895
ConnectedNetworkScorerTest: Add test for connected network scorer
...
Bug: 150236894
Bug: 150973472
Test: atest android.net.wifi.cts.ConnectedNetworkScorerTest
Change-Id: Id928678bfefe00f66229f4dbd9915c7f41274972
2020-03-20 04:15:25 +00:00
Roshan Pius
5dd8299525
ConnectedNetworkScorerTest: Add tests for wifi usability stats
...
Bug: 150236894
Bug: 150973472
Test: atest android.net.wifi.cts.ConnectedNetworkScorerTest
Change-Id: Ic55dbbe672da5492db5382aa6c427976355518ed
2020-03-20 04:14:56 +00:00
Nate Jiang
483497ca8d
Add test for SubscribeConfig.Builder().setMinDistanceMm(int)
...
Bug: 150975711
Test: atest SingleDeviceTest
Change-Id: I7ca4c3af034e3816c63d87d924e7ed3ef64b5984
2020-03-19 14:26:09 -07:00
Nate Jiang
40dc8e5053
Add Cts test for createNetworkSpecifierPmk
...
Bug: 150976232
Test: atest SingleDeviceTest
Change-Id: Idb8e28067f08c7d767649d182c325304c6a2fff3
2020-03-19 14:19:20 -07:00
TreeHugger Robot
be04550a97
Merge "WifiManagerTest: Make traffic state change test more robust" into rvc-dev
2020-03-19 19:03:59 +00:00
TreeHugger Robot
1c8a751e65
Merge "[CTS] Added tests for hotspot2 provisioning APIs" into rvc-dev
2020-03-19 16:23:59 +00:00
Roshan Pius
4da74f040a
WifiManagerTest: Make traffic state change test more robust
...
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
2020-03-19 06:33:10 -07:00
Roshan Pius
978768d7be
Merge "WifiMigrationTest: Add test for WifiMigration.loadFromSettings" into rvc-dev
2020-03-19 12:40:03 +00:00
markchien
938c385872
Clean up for TetheringManager API change
...
Bug: 149858697
Bug: 151243337
Test: atest CtsTetheringTest
Change-Id: I817cb62f0f41d72e861952394ac8fbbfdc360f11
2020-03-19 12:43:34 +08:00
Roshan Pius
6afc73aef6
WifiMigrationTest: Add test for WifiMigration.loadFromSettings
...
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
2020-03-18 19:50:38 -07:00
Hai Shalom
1f1a316fb2
[CTS] Added tests for hotspot2 provisioning APIs
...
Added coverage for below APIs:
ProvisioningCallback()
WifiManager#startSubscriptionProvisioning()
Bug: 150977584
Test: atest WifiManagerTest
Change-Id: Ic810b8a4fdeb22a96900971b355c336670199ed6
2020-03-18 11:59:28 -07:00
David Su
a4a48ef759
CTS: Test PNO Scanning
...
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
2020-03-17 20:45:55 -07:00
Hai Shalom
65031e4d9f
[CTS] Add tests for hotspot2.OsuProvider getters
...
Added coverage for below APIs:
getFriendlyName()
getServerUri()
Bug: 150977165
Test: atest WifiHotspot2Test
Change-Id: I0abe5ab63dff6793103552870322da6a2f426dba
2020-03-17 15:10:17 -07:00
David Su
8e5fc5f838
Merge "CTS: test WifiNl80211Manager.sendMgmtFrame" into rvc-dev
2020-03-17 19:22:16 +00:00
David Su
6a780a7c16
CTS: test WifiNl80211Manager.sendMgmtFrame
...
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
2020-03-16 22:47:20 -07:00
Roshan Pius
af73412027
Merge "WifiMigrationTest: Remove all usage of WifiMigration.loadFromStore" into rvc-dev
2020-03-17 00:26:28 +00:00
TreeHugger Robot
78c4e31888
Merge "cts: Add SoftAp API test in CTS" into rvc-dev
2020-03-17 00:02:54 +00:00
TreeHugger Robot
4e10a4d6aa
Merge changes Id532a189,I294f309e,Ie902dfa2 into rvc-dev
...
* changes:
WifiManagerTest: Add test for isTdls & isStaApConcurrency supported
WifiNetworkSuggestionTest: Add test for WAPI builder method
WifiNetworkSpecifierTest: Add tests for enterprise builder methods
2020-03-16 23:14:14 +00:00
Roshan Pius
74ab41b1cd
WifiMigrationTest: Remove all usage of WifiMigration.loadFromStore
...
In preparation of moving away from this API surface to a different
mechanism.
Bug: 149418926
Test: atest android.net.wifi.cts
Change-Id: I5805d9dc27a248b633d514356f603f63af799429
2020-03-16 14:08:37 -07:00
Roshan Pius
90d49fbc57
WifiManagerTest: Add test for isTdls & isStaApConcurrency supported
...
Bug: 150236894
Test: atest android.net.wifi.cts
Change-Id: Id532a189b0d3e6848408e7a798acda13669ffb52
2020-03-16 11:14:22 -07:00
David Su
e341de3532
Merge changes I1ad45223,Id8ec6317,If393bb08,I1cf32ec4,Ia7b86a4b, ... into rvc-dev
...
* changes:
CTS: Test WifiNl80211Manager.OemSecurityType
CTS: Test PnoSettings
CTS: Test NativeWifiClient
CTS: Test PnoNetwork
CTS: Test RadioChainInfo
CTS: Test DeviceWiphyCapabilities
2020-03-16 17:55:37 +00:00
Roshan Pius
96f9efcb75
WifiNetworkSuggestionTest: Add test for WAPI builder method
...
Bug: 150236894
Test: atest android.net.wifi.cts
Change-Id: I294f309ec972c24dfe83d9c40fd33fb591398872
2020-03-16 10:06:32 -07:00
Roshan Pius
fbe50c723a
WifiNetworkSpecifierTest: Add tests for enterprise builder methods
...
Bug: 150236894
Test: atest android.net.wifi.cts
Change-Id: Ie902dfa2c0fb83505c0b570b77462fcdf4c4ecaf
2020-03-16 10:00:36 -07:00
Hai Shalom
d40827d1be
[CTS] Add test for WifiManager#addOrUpdatePasspointConfiguration
...
Bug: 151613705
Test: atest WifiManagerTest
Change-Id: I5f2537c501b065006d3a2f56cf671382e20cd737
2020-03-16 08:01:25 -07:00
lesl
7f53eead8b
cts: Add SoftAp API test in CTS
...
Bug: 150307166
Bug: 150972516
Bug: 150972218
Bug: 150972206
Bug: 150969780
Bug: 150969541
Bug: 150969225
Bug: 150967334
Bug: 150643333
Test: atest android.net.wifi.cts.WifiManagerTest
Change-Id: I10e19223b6370c6e149c48f43da45a64e235bccf
2020-03-16 17:23:15 +08:00
Ahmed ElArabawy
00e72f57df
Add tests for support of Wifi bands and standards
...
This commit adds the CTS support for the following APIs:
WifiManager#is5GHzBandSupported()
WifiManager#is6GHzBandSupported()
WifiManager#isWifiStandardSupported()
Bug: 151372208
Test: atest android.net.wifi.cts.WifiManagerTest
Change-Id: Id8ff303eba878db222e75bd514f7430efc754edb
2020-03-15 00:11:32 -07:00
Hai Shalom
81c0862358
Merge "[CTS] WifiHotspot2Test: Add more uniqueId tests" into rvc-dev
2020-03-14 14:37:50 +00:00
David Su
205d45f2df
CTS: Test WifiNl80211Manager.OemSecurityType
...
Bug: 150979317
Test: atest android.net.wifi.nl80211.cts
Change-Id: I1ad45223641e4e4b88be1fc8f5396b6b4f6abd61
2020-03-13 19:12:19 -07:00
David Su
7c4a11141d
CTS: Test PnoSettings
...
Bug: 150978920
Test: atest android.net.wifi.nl80211.cts
Change-Id: Id8ec63178e67dac8ab3d5e90689c0a4139c17fc0
2020-03-13 18:43:14 -07:00
Hai Shalom
0696191fc3
[CTS] WifiHotspot2Test: Add more uniqueId tests
...
Add additional test for PasspointConfiguration unique ID.
Bug: 151478195
Test: atest WifiHotspot2Test
Change-Id: If01cd5ae98b74f3df083af8131c95c3d91f27de9
2020-03-13 18:38:56 -07:00
David Su
5d4c9c6472
CTS: Test NativeWifiClient
...
Bug: 150978742
Test: atest android.net.wifi.nl80211.cts.NativeWifiClientTest
Change-Id: If393bb087cd6296852473d6c8a994e7ee99c6e71
2020-03-13 18:23:52 -07:00
David Su
c365dac402
CTS: Test PnoNetwork
...
Bug: 150978685
Test: atest android.net.wifi.nl80211.cts.PnoNetworkTest
Change-Id: I1cf32ec4d7775f6d8d398fd2039dfe948e7a8d89
2020-03-13 18:16:32 -07:00
David Su
af95a3aa1c
CTS: Test RadioChainInfo
...
Bug: 150978866
Test: atest android.net.wifi.nl80211.cts.RadioChainInfoTest
Change-Id: Ia7b86a4b511bd77abcc629fca78f4b960946cfec
2020-03-13 17:41:38 -07:00
David Su
0d56ba3341
CTS: Test DeviceWiphyCapabilities
...
Bug: 151092855
Test: atest android.net.wifi.nl80211.cts.DeviceWiphyCapabilitiesTest
Change-Id: I91559a3d65d88fd9e12e2aa9cf7aff6b0dcebb0a
2020-03-13 17:31:45 -07:00
Hai Shalom
b16c76306e
Merge changes Ia75b489e,I5a1510dc into rvc-dev
...
* changes:
[CTS] Add test for android.net.wifi.hotspot2 classes
[CTS] Add tests for WPA3/OWE device capability APIs in WifiManager
2020-03-13 20:14:16 +00:00
Hai Shalom
5944b984d2
[CTS] Add test for android.net.wifi.hotspot2 classes
...
Add CTS tests for PasspointConfiguration, Credential,
Credential.UserCredential, Credential.CertCredential,
Credential.SimCredential, and HomeSp
Bug: 150977126
Bug: 150978132
Bug: 150978391
Bug: 150978125
Bug: 150977972
Bug: 150977655
Test: atest WifiHotspot2Test
Change-Id: Ia75b489e0d12cd23ac62000de8ddb2b289ded87b
2020-03-13 11:10:06 -07:00
Hai Shalom
aae250f249
[CTS] Add tests for WPA3/OWE device capability APIs in WifiManager
...
Add CTS coverage for WPA3/OWE device capability APIs in WifiManager:
mWifiManager.isEnhancedOpenSupported()
mWifiManager.isWpa3SuiteBSupported()
mWifiManager.isWpa3SaeSupported()
Bug: 151439303
Test: atest WifiManagerTest
Change-Id: I5a1510dce1e6d240891ecc18d2aa92509223ac66
2020-03-13 11:09:11 -07:00
Yan Yan
d4bec417f6
Merge "Create CTS test folder for IKE and EAP" into rvc-dev
2020-03-13 17:17:21 +00:00