| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Bug: 130303939
Test: coverage.sh
Change-Id: I31beac5ddcf9c2d442d66bfe9cd2176b5a3f50db
|
|
|
|
|
|
|
|
| |
See go/jetpack-test-android-migration
Test: atest FrameworksWifiTests
Bug: None
Change-Id: I76a3394fe1e4f5b268ed2716291b33d1db8f9f85
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 560ff95760cd1fc1da022e0972a5e29b739fcc52.
Reason for revert: Broke master
Exempt-From-Owner-Approval: build fix, pure revert
Change-Id: I9f155cff6a712a6831be6af6b4dc671a35cd2ee1
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
See go/jetpack-test-android-migration
Test: make checkbuild
Bug: None
Change-Id: I68f37d8eaf20b82a4e26ef7914e13460495e9762
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Service Friendly Names in OSU Providers ANQP response will be saved when
installing Passpoint profile on the device.
The information will be used to find a matching Passpoint configuration with
comparing the service name of OSU Provider.
Bug: 119514793
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: tested with R1 AP for installing profile and R2 AP for connection
Change-Id: Id0624ef5fb0a5ba2285244825ecccd69d7250950
Signed-off-by: Ecco Park <eccopark@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The intermediate layer called WifiTracker gets the OsuProviders without
OSU SSID from WifiService Layer by calling getMatchingOsuProviders API.
With the list, WifiTracker is able to remove duplicate entries by
only comparing servicei provider information in the OsuProvider object
without OSU SSID.
So, when user selects service name for sign up on UI, WifiTracker will pass
the selected OsuProvider without OSU SSID to WifiService Layer by
calling startProvisioning in WifiManager.
If the provided OsuProvider doesn't have OSU SSID, PasspointProvioner will
select the one which has strongest signal strength from matching OsuProviders
with the provided OsuProvider.
Bug: 119514793
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: live test with Passpoint R2 service provider AP
Signed-off-by: Ecco Park <eccopark@google.com>
Change-Id: I50ce60f0499397b1f6529ebb24b6e12be0678736
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
An OSU provider might contain multiple friendly names and
service descriptions in different languages. In this case,
the value that's in the default language will be preferred.
Bug: 62235301
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ie6065a494e6a5c9aa1cc05621ab9627628efb446
|
|
|
|
|
|
| |
Bug: 38351209
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I524c676a76a64cf0ed42a57141f769ef50d9169d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of storing OSU providers list as raw bytes,
parse it using the HSOsuProvidersElement.
Also do not broadcast the raw bytes to the app, since it
will be parsed by us now.
The app will be able to retrieve the parsed information
via a new API in the future (to be implemented).
Bug: 38351209
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: manual testing with Boingo Passpoint AP, verify
via debug logs
Change-Id: Idc15c4b00580d65133bde57ba43be590d50321c0
|
|
|
|
|
|
| |
Bug: 38351209
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I14f26966b073e44291241bd69c4160b91a47e264
|
|
|
|
|
|
|
|
|
| |
An OSU Providers List ANQP element will contain zero or
more OSU Provider Info.
Bug: 38351209
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I73d84400f4232e8ebbfd1d4d11f173daee7c9745
|
|
|
|
|
|
|
|
|
|
| |
IconInfo contained Icon Metadata subfield in the OSU Providers
List ANQP element. Clean up the parsing/creation logic and
added unit tests.
Bug: 38351209
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ib2e709369660ab32d3cd07768e8314e11588be1a
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Below is the list of cleanups:
- removed unused function
- cleaned up parsing of vendor specific element
- only support Hotspot 2.0 elements, since these are the only
elements that we cared about
- added unit tests
Bug: 33000864
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I2e492525dfa5e28c12336e2bbec2f2882e0af57c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cleaned up the implementation and added unit tests for NAIRealmElement
and the classes used by it.
While there, remove the match() function from NAIRealmElement for now.
So that all ANQP elements class are purely data storages for the element.
The match() function will be added to PasspointProvider for matching
a NAI Realm Element against the provider's configuration.
Other changes included:
- removed the now unused EAP.java
- removed the uses of enum for EAP Method ID and Authentication
Parameter type constants.
- renamed Credential to CredentialType
Bug: 33000864
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I940f6d7cecb9bec405f0786845af768caf527990
|
|
|
|
|
|
|
|
| |
This CL contained cleanups for ThreeGPPNetworkElement and CellularNetwork.
Bug: 33000864
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ibba64207e0f22e3247a3cc8387eeca277bcd577b
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Bug: 33000864
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: If842197a027a2c8381aacf5b256191f81bcbd1bb
|
|
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
|