History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/LegacyPasspointConfigParser.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ab83ab09b554e4012af5cf439efe081504a29b88 03-Apr-2017 Peter Qiu <zqiu@google.com> hotspot2: fix parsing of IMSI from legacy Passpoint config file

The parsing of IMSI form the legacy Passpoint config file is incorrect.
The IMSI field is under "Credential/SIM" node instead of "Credential" node.

Bug: 36531896
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: manual upgrade device with EAP-SIM Passpoint profile from N to O
Change-Id: If6ff9facfb380def84818a4c03c80c0bad4c08a9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/LegacyPasspointConfigParser.java
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/LegacyPasspointConfigParser.java