Add new constant indicating the band/channel for SoftAp operation will
be determined during softap initialization.
The term 'ANY' for this option to be consistent with terminology used
in hostapd.
Bug: 68763822
Test: Compiles
Change-Id: I9676caf5188601ca16c9229aaa8be2d0e43404a6
Changes in the CL:
a) Mark startScan() as deprecated so that we can take away this API in
future releases.
b) Modify the documentation regarding scan throttling to indicate that
both foreground & background apps are subject to throttling.
Bug: 68987915
Test: Compiles
Change-Id: I938237b186c39c6b4cfec9dcdbd9b9d196bae0cc
The Responder Configuration is an abstracted specification of the peer
RTT Responder (to which we initiate an RTT operation).
The Responder is abstracted from a ScanResult (for an AP) or a Wi-Fi
Aware PeerHandle or MAC address. Utility methods are provided.
The Responder configuration is the underlying representation used by
the RTT manager and service to communicate infomration on RTT targets.
This API thus does not provide any additional permission or backdoor
hooks to the RTT functionality. It exposes a lower level utility
representation of the data. We may choose to make this more widely
available in the future if necessary.
Bug: 65108607
Test: builds
Change-Id: I620d8e725ad61792b7604ff1355adb1b0ef38ad1
Basic Wi-Fi RTT API for ranging to APs + Wi-Fi Aware peers.
Note: no functional tests, just unhiding/comment fixes.
Bug: 65108607
Test: builds, unit tests, integration tests.
Change-Id: I532ca35c866a7862859a0e64d9f7eccd95baa83d
On devices with multiple radio chains, each scan result could be
received using different combination of the available radio chains
(DBS, MCC). Add a new parameter in the scan result to convey this meta
information about the scan result.
Bug: 68335251
Test: Unit tests
Change-Id: I1fc97745b9e74b768b67b0c80e52ce4a13e69527
Check on the manager side for null callback registration and throw
and exception.
Should be done in addition to service side checks since, in well
behaved apps (which don't bypass the manager), the callback registered
with the service is a proxy wrapper for the user-provided callback.
Bug: 71575804
Test: unit test & integration tests
Change-Id: Ice6585fccb13d842d9518b1f60bff911fb66c48f
The changes are straightforward, the only change outside of BatteryStats
is to use the new WorkSource.isEmpty API to account for WorkChains in a
given WorkSource.
Bug: 62390666
Test: BatteryStatsBackgroundStatsTest, BatteryStatsNoteTest, WifiLockManagerTest
Change-Id: I1dff43b6f2a09877e3af4442bfe8a8fd80b1ba74
Additional status and failure codes for OSU Server connection phase.
Bug: 69009082
Test: Integration test
Change-Id: Ibcb5e62ce40eb13943ae390d4736b5a11eb7f7d4
These extras are no longer sent on the android.net.wifi.STATE_CHANGE broadcast.
Bug: 69974497
Test: Wifi unit tests
Test: Wifi sanity
Change-Id: I5bd6329d3ba822e018965335c7c21dbde5924b9c
This new 'type' parameter in ScanSettings is used to convey the goal of
the scan to the underlying wifi chip. This parameter is intentionally
abstract to let the wifi chip vendors decide what type of scan to
perform on devices which support multiple scan modes (DBS, MCC, etc).
Bug: 68335251
Test: Unit tests
Change-Id: Iabddad980128848938b6e2223ad199345812615b
Convert class and members to final - per API guidelines. Add a generic
constructor for all arguments (which will never be unhidden) to support
an intermediate service-side stage of the Responder config.
Bug: 65108607
Test: unit tests, integration tests
Change-Id: Icbcbd8259856c8290bbc005f5905578da90febbc
When configuring Aware discovery with ranging validate that the RTT
feature is present on the device.
Bug: 63906015
Test: unit tests, integration tests
Change-Id: Ie12feaf84f17c075f0e60bdacfc14af3703124c3
Change to a sensible name which doesn't conflict with legacy RTT
service.
Bug: 65108607
Test: unit test, integration test
Change-Id: I54855635061c09e8d4bd2e97bac049f2893de123
New APIs to allow Aware discovery sessions to specify a ranging (RTT)
constraint.
Bug: 65108607
Test: unit test, integration tests
Change-Id: Ibbb123fc66676e0bd36b0803c8bac21136a801c0
MacAddress class is being added as a public API. Convert ad-hoc
byte[] represetations to new class.
Bug: 65108607
Test: unit tests and integration tests
Change-Id: I4bf3b7c47f37d4ef4dd5af0dcdeb7d57f2f94368
Responder was using the new MacAddress before its finalization.
Fix reference to a (now removed) constructor.
Bug: 65014962
Test: unit tests & integration tests
Change-Id: I4d0fd32454c1362129e03deada2d6e6a253e2590
Direct Aware Responder configuration set to the basic rates (discovery
channel 6, 20MHz bandwidth). It is expected that these will be ignored
and that (with a Ranging enabled Responder Publisher) enabled on the peer
a high accuracy RTT will be negotiated.
Bug: 67678464
Test: unit test & integration test (non-functional at this point)
Change-Id: I240cfef91a968cd1eb75a71b5ead96ae4eccb32d
Add public equals()/hash() methods to PeerHandle. Allows the handle to
be used across multiple calls/sessions.
Bug: 68931709
Test: builds, unit test, integration test
Change-Id: Idc59269d4275181ed6d9a793213c681dc4e98134
Add a generic Responder mode which is the common configuration for
any peer (which any peer configuration can be translated to).
Bug: 65014962
Test: unit tests and integration tests
Change-Id: If2f6abc217508792d319d7d5e54aa3f7385b0ec5
When emitting a method or field, verify that we're able to reference
all mentioned types. This ensures that we don't accidentally
reference undefined classes/interfaces.
Test: manual inspection of API files
Bug: 69791141
Change-Id: I84e0c87fe83daa118661f61dbdf17b58ea5282d4
Passpoint Provisioning status and failure codes to be used by callback
API to provide information to the caller about the provisioning flow
Bug: 67914151
Test: Unit test
Change-Id: If1bf28ac8e2e0b7d8141d1b9cb12e3a6e46cb126
Created a new hidden API to be called for starting subscription
provisioning with a certain provider. Create a callback interface and a
callback object to be used by the caller to get provisioning status
updates.
Bug: 67645546
Test: Unit tests
Change-Id: I9592222cfe79c5859c455c5a658956120558059f
Since the packet rate fields of WifiInfo now have sane units (pps),
remove the getters.
Bug: 68204362
Test: Unit tests
Change-Id: Ib699cef91a8e10aaca05994ba1617ac5556d110f