* changes:
WifiManagerTest: Add CTS test for TrafficState callback API
WifiManagerTest: Add CTS test for save API
WifiManagerTest: Add CTS test for connect API
Add test AP RSSI to the failure log to easily identify reason.
Bug: 149971206
Test: atest WifiRttTest#testRangingToTestAp
Change-Id: I5a8ed7604eca1c0a01527fd6f52f48925adeef19
Adjust some timeout value and correct the conditional checking
for private DNS waiting mechanism.
Also move the fail() statement from callback thread to test thread.
It is used to avoid the test process crashing.
Bug: 148471807
Test: atest DnsResolverTest
Change-Id: I244cefeae97fe99838d1c72d867c1d7a1a7d5e87
Removed setUp() method since this test does not
need Wifi to be enabled.
Bug: 149604454
Test: atest android.net.wifi.cts.WifiEnterpriseConfigTest
Change-Id: Id23a3fbd3ae7f967be68105829bae01be97fbd1e
p2p does not use NetworkInfo.isAvailable() anymore.
Remove this obsolete check.
Bug: 148164038
Bug: 148561948
Test: atest android.net.wifi.cts.ConcurrencyTest
Change-Id: I544a2363d85ea47e404e481d4d285b9fd6b38eb5
This APK can be installed and run on release devices even when
built from branches with a non-final SDK such as AOSP.
Test: builds
Change-Id: I1e1b24b09eeb7a0688fde9d8ed6bbee9c9d2582e
p2p does not use NetworkInfo.isAvailable() anymore.
Remove this obsolete check.
Bug: 148164038
Test: atest android.net.wifi.cts.ConcurrencyTest
Change-Id: I544a2363d85ea47e404e481d4d285b9fd6b38eb5
Verify that ConnectivityDiagnosticsManager is able to register and
unregister ConnectivityDiagnosticsCallbacks.
Bug: 143187964
Test: atest ConnectivityDiagnosticsManagerTest
Change-Id: Ica065b58ee47e088b9d85b09f9e5b7131f5a16ab
Renamed to WIFI_SCAN_AVAILABILITY_CHANGED to
conform to API guidelines.
Bug: 148781526
Test: compiles
Change-Id: Ic84cbededfe9e5d02900fbe7a6a99c059af89641
Renamed to NETWORK_ID_PERSISTENT/
NETWORK_ID_TEMPORARY to conform to API guidelines.
Bug: 147668001
Test: compiles
Change-Id: Ia4d1e317fe659d5e8e871b1c6808272ff3414c76
The testcase is failing for the model as there are no clients which have already invoked the initialize API.
So we changed the location of initialize() API little forward to be invoked before CTS test.
Bug: 148126151
Test: run cts --m CtsNetTestCases --t android.net.wifi.cts.ConcurrencyTest#testConcurrency
Change-Id: I1081d343795e07440ebf380c25f47c320c064556
Signed-off-by: Jae Choon Jeon <jc.d.jeon@samsung.com>
(cherry picked from commit 1a46560a2b55df0b3159884a7eed4b2598c2e827)
TxPacketCountListener is @hide and only used for
CTS. Remove the test using this altogether.
Bug: 144036594
Test: atest android.net.wifi.cts.WifiManagerTest
Change-Id: Iac42c7dca4ca5cbbae6c464530319975e8d1571e
This test case stop when detect a app failure once a time, which cannot find out all app failure. Use StringBuilder to collect failure info of all apps first, if the StringBuilder is not empty then print all the failure info.
Bug:145475188
Test: run cts -m CtsNetTestCases -t android.net.wifi.cts.WifiManagerTest#testNetworkSettingsPermission
Change-Id: I0e49b65bbe7deca82edd1908dfb6f221551ff725
Signed-off-by: qianyou <qianyou@xiaomi.com>
(cherry picked from commit dcb3a18cbf81f2970d6c3b23a478da5b4ba91805)
CTS cannot test @hide fields, need to use public
getters instead.
Bug: 146463839
Test: atest WifiP2pConfigTest
Change-Id: I182a232d64e3ad66664ee78c96c0f73ea5c08386
Add test for new public APIs
Test: atest android.net.cts.MacAddressTest
Bug: 139268426
Bug: 135998869
Change-Id: Ib2b73851f621f1648904276ec12ceea02f4b5970
Provide a new Aware capabilities API which exposes the supported
cipher suites. These cipher suites are used to negotiate the data-
path. The framework automatially selects the strongest cipher suite
when it initiates a negotiation.
Bug: 145697276
Test: (CTS) atest SingleDeviceTest
Change-Id: Ifc735978aecf3a655ca3115a4659e636f69ebf31
Currently, ConnectivityManagerTest checks whether the device
supports Ethernet by checking whether the OEM has configured it
in the networkAttributes array, or whether the Ethernet service
is running. It does this because devices that support USB host
mode enable Ethernet even if the OEM does not add Ethernet to
the networkAttributes array.
Unfortunately this does not work in instant mode because instant
apps cannot query the Ethernet service due to selinux policies.
In addition to querying whether the service is running (which
will continue to work in non-instant mode), also assume that
Ethernet is supported if the FEATURE_ETHERNET or FEATURE_USB_HOST
PackageManager flags are present.
This fixes various ConnectivityManagerTest testcases on devices
that support USB host mode but where the OEM has not added
Ethernet to the networkAttributes array.
Bug: 137630789
Bug: 143850345
Bug: 145482540
Test: atest android.net.cts.ConnectivityManagerTest#testIsNetworkSupported
Test: atest --instant android.net.cts.ConnectivityManagerTest#testIsNetworkSupported
Change-Id: Ie8a701f607967576a45c6b3c4f25c9c003aa3165