History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/LegacyPasspointConfig.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
15eeedd83c258ae7eec5065880b0887545124456 16-Feb-2017 Peter Qiu <zqiu@google.com> hotspot2: add config parser for legacy Passpoint configuration file

For Hotspot 2.0 Release 1, most of the configuration data are
already stored as part of WifiConfiguration across multiple files
in N and older. There are number of fields contained in the
legacy Passpoint configuration file
(/data/misc/wifi/PerProviderSubscription.conf) that needed in order
to complete the configuration. Mainly:
- Friendly Name
- Roaming Consortium OI
- Realm
- IMSI (for SIM credential)

So add the parsing support for the legacy Passpoint configuration
file to retrieve the missing configuration fields.

Refer to the javadoc in LegacyPasspointConfigParser for the format
of the configuration file.

Bug: 34206769
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I1d1a96a2534e123fcd06e91eaa9fc18af842bea1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/LegacyPasspointConfig.java