b45c3dc6f1118c732d516c7a4756700b7daf5b39
For devices with build config |config_wifi_hotspot2_enabled| set to false (Passpoint disabled), an UnsupportedOperationException will be thrown when Passpoint related WifiManager APIs are invoked. For these devices, the testing of Passpoint APIs are not relevant. So just catch and ignore this type of exceptions to avoid any test failures. While there, set the UpdateIdentifier for Passpoint configurations, to avoid the CA certificate verification when adding the config, since we're using a fake CA certificate for testing. Bug: 36863137 Test: cts-tradefed run cts-dev -m CtsNetTestCases -t android.net.wifi.cts.WifiManagerTest Change-Id: I8ebdc58349c33f13b510c3d9e2a5fc8ce4ef09c4
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%