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

Cleanup and add unit tests for the following ANQP elements (and
the underlying classes used by those elements):
- HSFriendNameElement
- IPAddressTypeAvailabilityElement
- RoamingConsortiumElement
- VenueNameElement

The cleanup included using a static #parse function for parsing
raw bytes into an element object, the new ByteBufferReader APIs
for reading integer and string from ByteBuffer, and documented
possible runtime exceptions.

Additional changes include:
- remove the unnecessary setting of byte order for
the ByteBuffer, since we're not using the ByteBuffer's APIs
for reading integer values (all reads are either byte or byte
array).
- remove the unused functions in ANQPFactory

More ANQP elements cleanup will be done in the upcoming CLs.

Bug: 33000864
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I6da918c83722d5c0ca7a2374ff5fa5f630cdea6d
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/VenueNameElementTest.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/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/VenueNameElementTest.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/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/VenueNameElementTest.java