This change is required to show the signal level associated with service
name on UI for installed passpoint profile as picking strongest one up
from matching scanResults.
In order to get a map that consists of WifiConfiguration and a list of
ScanResults, three steps are required.
1) Gets a map that consists of FQDN(Fully Qualified Domain Name) of
a matching Passpoint profile and a list of ScanResults.
2) Gets a list of WifiConfigurations for Passpoint profiles matched a
provided list of FQDN.
3) Creates a new map that consists of WifiConfiguration and a list of
ScanResult.
Bug: 119514793
Test: ./frameworks/base/wifi/tests/runtests.sh
Test: tested with R1 AP for installing profile and R2 AP for connection
Change-Id: I0d56dbdddae4e365b909b9c8f3eff3b0121dc5de
Signed-off-by: Ecco Park <eccopark@google.com>
Given a list of OSU providers, this only returns OSU providers
that already have Passpoint R2 configurations in the device.
This API is required to remove OSU provider entries that already have
the passpoint r2 profile in the device on Settings UI
Bug: 119514793
Test: ./frameworks/base/wifi/tests/runtests.sh
Test: tested with R1 AP for installing profile and R2 AP for connection
Change-Id: I111e380b3031ff268721c80501257c638f64e01a
Signed-off-by: Ecco Park <eccopark@google.com>
API to get the factory MAC addresses. Not for use by third party apps.
Bug: 111634904
Test: unit tests
Change-Id: I9258889b963886b79191b9ea1e7aa70ffb4eb6ad
Also, changed the return of add/removeNetworkSuggestions to clearly
indicate the error encountered.
Bug: 119210573
Test: ./frameworks/base/wifi/tests/runtests.sh
Change-Id: I06eff1aad584ed9939ba905a1008a7565909d148
Changes:
a) Pass the calling package name in the AIDL call to allow target-SDK
checks & error logging on the service side (similar to other binder calls).
b) Pass the return value from service for AIDL calls: disconnect,
reconnect, reassociate.
c) Return false for a previously deprecated saveWifiConfiguration API.
Bug: 115504728
Test: Compiles
Change-Id: I9bc9c8fc5857a430242e5afbecca7fc2c39f1ca1
* changes:
WifiManager: Add abort callback for network request
WifiNetworkAgentSpecifier: Allow satisfiedBy call for 2 instances
WifiConfiguration: Add a field to mark network as trusted
WifiManager: Send list of matching scan results for network request
WifiManager: Implement network suggestion API
wifi(API): Send directed broadcast post connection for suggestions
This API is required to support control of OSU Service Providers with
scan results on Setting UI.
Internally, previous API is merged into new API to take a list of
ScanResult Objects instead of a single ScanResult.
Bug: 119514793
Test: ./frameworks/base/wifi/tests/runtests.sh
Change-Id: Ib2f2e406c8c295c83924e7884657b4088dd23bb3
Signed-off-by: Ecco Park <eccopark@google.com>
This API is required to support control of Passpoint configurations with
scan results on Setting UI.
Internally, previous API is merged into new API to take a list of
ScanResult Objects instead of a single ScanResult.
Bug: 119514793
Test: ./frameworks/base/wifi/tests/runtests.sh
Signed-off-by: Ecco Park <eccopark@google.com>
Change-Id: I1b9e1499081a8b005f10c249163185d0dc817b46
This patch creates a base abstract class that implements
IWifiManager.aidl with stub methods that throw runtime exceptions.
Actual implementations of IWifiManager can extend this class instead of
directly extending the autogenerated IWifiManager.Stub.
This allows adding new methods or modifying existing methods in
IWifiManager without requiring a synchronized change on all concrete
implementations.
Bug: 112338174
Test: Compiled, flashed marlin, booted. WiFi works.
Change-Id: I316c999d6c076f4e6ea1354bd558512915d551ed