Allowing configuration of the PMK is required for any PK-based protocols
which operate OOB.
Bug: 143956273
Bug: 111446262
Test: test android.net.wifi.aware
Change-Id: Iccd9739901116399518f278e7d9c9992c1507f3f
getBytesForBackup is used for Softap. Don't need saePasswordId
Bug: 0
Test: unit test, atest frameworks/base/wifi/tests/
Change-Id: Ia85fa65d6a1f939ebd57c20d4c432b6303107b81
creator should read all content from parcel before verify available
Bug: 144286370
Test: atest android.net.wifi
Change-Id: Ie0f4954f5ca6cdb0ae1f77bfd4420b75f302c0f3
Making SoftApCallback methods available to @SystemAPI including
the API for registration of a SoftApCallback. This includes updating
registration to use an executor now vs a handler.
Bug: 143564153
Test: atest FrameworksWifiApiTests:android.net.wifi.WifiManagerTest
Also tested manually on a Hawk.
Change-Id: I22b5029a8dbd7a50ad6faf0bb3b15269af839956
Add new API that allow apps to get connection event.
Bug: 142062781
Test: atest android.net.wifi
Test: atest com.android.server.wifi
Change-Id: I387f620901621feb2b15dff7c696d5d3f9a068b9
This ensures that we don't use wifi overlays in settings.
Bug: 143464763
Test: Verfied MAC randomization setting toggle via Wifi picker.
Change-Id: I24ec509be579ec9c1a3d5e18fdc8d5709d83886c
In WifiScanner#getAvailableChannels(), check if the
extra is null and return an empty list if that is the
case to ensure that the API upholds its @NonNull
guarantee.
Bug: 143985829
Test: compiles
Change-Id: I5abc2e6362469f77db0fa386adbe06b445aa799c
This CL makes modidfication to support Wifi 802.11ax to RTT procedures.
Bug: 139354972
Test: atest com.android.wifi.server
Change-Id: I3d07509b27c4be83ea7c59ee4d1f0e404db5a04d
This CL adds to ScanResult structure information about the Wifi
technology.
Bug: 143382822
Test: atest com.android.wifi.server
Change-Id: Ibe1d30e2efc4693be22148443b26446b90d89179
This commit is to change the naming from Wifi Technology to Wifi
Standard. This is to comply with the API council review.
Bug: 143551314
Test: atest com.android.wifi.server
Change-Id: I0584f9b791dd14119af199cb14d4caf4ffbf54ab
This Commit adds support for handling of HE Operation Information
element as part of the support for 11ax
Bug: 139354972
Test: atest com.android.wifi.server
Change-Id: I5e8319c4065e57eef1b89f21be2725b6bab3ad4d
On RemoteException, rethrow as RuntimeException
instead of returning null.
Bug: 143550768
Test: compiles
Change-Id: Ia4ab148e4fc9efbd19c37abb244a5d3360d40fa0
This is only for the load and save Carrier ID field.
Bug: 130875004
Test: build, bootup, unit test
Change-Id: Id48587ca26fc9dc0f7678b5a449e2d39a2e90dae
This adds a facility for system apps (with NETWORK_SETUP_WIZARD
or NETWORK_SETTINGS permission) to have more control over hotspot
parameters, while allowing them to use local-only mode and the LOHS
callback API for status updates.
Linters give conflicting advice about parameter ordering. With
startLocalOnlyHotspot(config, executor, callback), we satisfy
(+) put callback last (enforced at compile time)
(+) use Executor instead of Handler
(+) put most meaningful argument first
while we're not satisfying
(-) put executor last as it is a SAM (doesn't seem to make much
sense to instantiate executor as SAM anyway, users are more likely
to get an instance from elsewhere)
(-) for overloads, add new arguments at the end.
Bug: 132705022
Test: atest SoftApConfigurationTest android.net.wifi.WifiManagerTest
Test: atest android.net.wifi.cts.WifiManagerTest (not tested due to
failures on emulator b/143120756)
Change-Id: Ia189b3664b47a253e160acb71eafab4f217649eb
This change is to avoid issues in assigning signed integer
feature (WIFI_FEATURE_DPP) to long featureSet. The
assignement was resulting in large, signed integer.
Bug: 143363031
Test: atest com.android.wifi.server
Test: Wifi ON/OFF, Connect and data transfer
Test: Added logs and verified feature set saved in iface.
Change-Id: Ic3828e675e49a8c1628368a7e6cf7f01e420bd96
Adding support for visibility into clients that connect to an active hotspot.
Bug: 137309578
Test: atest FrameworksNetTests:com.android.server.connectivity.TetheringTest
atest FrameworksWifiApiTests:android.net.wifi.WifiManagerTest
atest FrameworksWifiApiTests:android.net.wifi.WifiClientTest
Tested manually on Hawk.
Change-Id: I1caeb10bc50202873e760a76b346bccd941e2574
Add more documentation to WifiManager's
EXTRA_WIFI_AP_INTERFACE_NAME, EXTRA_WIFI_AP_MODE,
and startSoftAp().
Bug: 143138160
Test: compiles
Change-Id: I15a22ca8d0718e02e606ba6e19d20b1727aa93d2
Add an API to indicate if a profile was provisioned by an OSU
(subscription) server. This is necessary for the settings app
to handle profile expiration date use cases, which are different
between R1 (non-OSU) cases and R2 cases.
Make the getSubscriptionExpirationTimeInMillis API public.
Bug: 141474717
Test: atest PasspointConfigurationTest
Test: atest ConfigParserTest
Test: Complete OSU registration, verify API returns true
Test: Install R1 profile, verify API returns false
Change-Id: I788108f973a47716c5d7c9353eafedd5fb06cb8e
WifiManager.allowAutojoin(int, boolean) lets a user toggle whether a
saved network should be allowed to be auto-joined. This "allowAutojoin"
bit is stored within the WifiConfiguration of a saved network.
Bug: 139199957
Test: atest FrameworksWifiApiTests
Change-Id: Ia8650abb59dc53a010accc44bd7b6e28facce992
checkNotNull(a, b) does not check nullness of b,
instead b is the error message. Fix these usages.
Bug: 143084514
Test: compiles
Change-Id: Icd9e9a213141ad50be888b3afd17a69fe3215282
This CL adds to WifiInfo structure information about the Wifi
technology.
This makes it available to Settings app to use to present in
user interface.
Bug: 138634524
Bug: 140168755
Test: atest com.android.wifi.server
Change-Id: I8aae8e8928462be7729c85fc15e0e7bdd97c1e6e