summaryrefslogtreecommitdiffstats
path: root/tests/wifitests/src/com/android/server/wifi/ByteBufferReaderTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Take 2 of Migrate frameworks/opt/net/wifi to androidx.testBrett Chabot2018-12-191-1/+1
| | | | | | | | See go/jetpack-test-android-migration Test: atest FrameworksWifiTests Bug: None Change-Id: I76a3394fe1e4f5b268ed2716291b33d1db8f9f85
* Revert "Migrate frameworks/opt/net/wifi to androidx.test"Brett Chabot2018-12-191-1/+1
| | | | | | | | | This reverts commit 560ff95760cd1fc1da022e0972a5e29b739fcc52. Reason for revert: Broke master Exempt-From-Owner-Approval: build fix, pure revert Change-Id: I9f155cff6a712a6831be6af6b4dc671a35cd2ee1
* Migrate frameworks/opt/net/wifi to androidx.testBrett Chabot2018-12-141-1/+1
| | | | | | | | See go/jetpack-test-android-migration Test: make checkbuild Bug: None Change-Id: I68f37d8eaf20b82a4e26ef7914e13460495e9762
* Update SmallTest libraryEtan Cohen2018-01-261-1/+1
| | | | | | | | | | | | android.test.suitebuilder.annotation.SmallTest is deprecated and replaced by android.support.test.filters.SmallTest. Update all test files. No other change (except import order cleaning up to pass preload format check). Bug: 72324160 Test: all unit tests pass Change-Id: Icc4abe3b3b37926d583c0d4ae510a7d7c74c1a03
* Cleanup support for parsing various length integer and string from ByteBufferPeter Qiu2016-12-151-0/+170
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