History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/DomainNameElement.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1dc52f076977039a6bf112885feca6638c05cd29 06-Dec-2016 Peter Qiu <zqiu@google.com> hotspot2: ANQP elements cleanup Part 2

This CL contained cleanups for the following ANQP elements:
- DomaniNameElement
- HSConnectionCapabilityElement
- HSWanMetricsElement
- RawByteElement

Bug: 33000864
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I6c4737bdb04cc54aa5b3ea7462e44afd423f1b27
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/DomainNameElement.java
fa04a81daf829e6e5c099c9a249b8dd8dd112102 02-Dec-2016 Peter Qiu <zqiu@google.com> Cleanup support for parsing various length integer and string from ByteBuffer

Move and cleanup the parsing functions from
com.android.server.wifi.hotspot2.anqp.Constants to the newly created
ByteBufferReader, since these are generic parsing functions (not
specific to ANQP).

An unchecked runtime exception will be thrown when an error is
encountered. The possible exceptions are documented for each
API. It is the caller's responsibility to handle those
exceptions appropriately (e.g. propagate the exceptions upwards
with appropriate documentation or catch the exception).

The handling of unchecked runtime exceptions for ANQP elements
parsing will be added in the follow-on CL as part of the ANQP cleanup.

b/33296974 is filed for tracking handling of unchecked runtime
exceptions for parsing information elements.

Bug: 33000864
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I6964520e7cc86071b2096408d6cb0503e0f618ff
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/DomainNameElement.java
8ca4ac971a9b862fbd69c57af3a3c0029a6b9f4d 18-Nov-2016 Peter Qiu <zqiu@google.com> hotspot2: anqp: update package name to reflect the updated location

Bug: 33000864
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: If842197a027a2c8381aacf5b256191f81bcbd1bb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/DomainNameElement.java
450a34955b855f0d813400013a9dbeead9d84c7b 18-Nov-2016 Peter Qiu <zqiu@google.com> hotspot2: move anqp related code to under hotspot2

ANQP is specific to Hotspot 2.0, so move all related code to under
hotspot2/.

This CL is a purely rename operation.

Bug: 33000864
Test: None
Change-Id: I17c3eb5bce37290a13c2e0720b62c82450daae9b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/DomainNameElement.java