OSDN Git Service

hotspot2: add support for complete PerProviderSubscription/Credential subtree
authorPeter Qiu <zqiu@google.com>
Wed, 11 Jan 2017 21:39:35 +0000 (13:39 -0800)
committerPeter Qiu <zqiu@google.com>
Wed, 25 Jan 2017 00:18:31 +0000 (16:18 -0800)
commit444dc5d099788e5aa0fd0e664fd952fbb07a69d4
tree42ba272d2073efb5013f4806b07c58e72bb10928
parente6e7baa600518800a68a5fc0ba49915406765d06
hotspot2: add support for complete PerProviderSubscription/Credential subtree

Added missing fields in Credential subtree for supporting Release 2
and added parsing support for the new fields.

Bug: 34198926
Test: frameworks/base/wifi/test/runtests.sh
Change-Id: Ic3665c963ab77ddc4b9a03262517a3c7a4ec3ffc
wifi/java/android/net/wifi/hotspot2/omadm/PPSMOParser.java
wifi/java/android/net/wifi/hotspot2/pps/Credential.java
wifi/tests/assets/pps/PerProviderSubscription.xml
wifi/tests/src/android/net/wifi/hotspot2/omadm/PPSMOParserTest.java
wifi/tests/src/android/net/wifi/hotspot2/pps/CredentialTest.java