hotspot2: Passpoint configuration APIs update
- renamed addPasspointConfiguration to addOrUpdatePasspointConfiguration
to match the implementation of the API
- updated PasspointManager to update passpoint provider using exact FQDN
string matching instead of base domain matching, to avoid unnecessary
complexities.
- updated getPasspointConfigurations to return an empty list instead of
a null when no configuration is installled
- updated PasspointManager to use a 64-bit counter for assigning provider
IDs instead of using the wall clock to avoid possible ID conflicts. The
use of an unique provider ID is necessary to avoid leaving keys and
certificates in a bad state when failing to install keys and certificates
on the update operation.
Bug: 33587910
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Iee304fe742085ec91d8d448e0939201d293ab7e5
3 files changed