Age | Commit message (Collapse) | Author |
|
Migrate to packages/modules/Wifi. This CL will be presubmit tested
once migration is complete. This CL drops the code from
frameworks/base/wifi and migrated to packages/modules/Wifi.
Also adjusts visibility rules in frameworks/base/Android.bp
Bug: 137323948
Test: TH
Change-Id: Id02e28648e922a30d6a81cf92b39eff4ca3cc002
|
|
am: 5d3b26484c am: 90a64f7002 am: 5f217f2b9b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1535862
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic27ecb61d60865ca268c9f31886d86f3555350ea
|
|
The multi STA concurrency API is not present in AOSP.
Bug: 162602799
Test: None
Change-Id: Iaecedf42890777f6d4507bb81d359e67270ebebb
|
|
* changes:
WifiInfo: Add equals implementation
Convert WifiInfo to TransportInfo
|
|
* changes:
WifiInfo: Add equals implementation
Convert WifiInfo to TransportInfo
|
|
* changes:
wifi: Add callback onConnectedClientsOrInfoChanged handling
wifi: Add new callback to support use case in bridged mode
|
|
This is needed for connectivity to compare TransportInfo instances.
Bug: 162602799
Test: atest android.net.wifi
Change-Id: I215b769339f68b76a1b2fa15f66c4527d184b696
Merged-In: I215b769339f68b76a1b2fa15f66c4527d184b696
|
|
Also, deprecate WifiManager.getConnectionInfo() and add a note to
help apps to migrate. The deprecation is purely cosmetic, no plans to
remove any existing functionality from the WifiManager API.
Bug: 162602799
Test: Compiles
Change-Id: I12c473185dc5518f5684e83c2f49e07271738cb5
Merged-In: I12c473185dc5518f5684e83c2f49e07271738cb5
|
|
This is needed for connectivity to compare TransportInfo instances.
(cherry-picked from aosp/1508601)
Bug: 162602799
Test: atest android.net.wifi
Change-Id: I215b769339f68b76a1b2fa15f66c4527d184b696
|
|
Also, deprecate WifiManager.getConnectionInfo() and add a note to
help apps to migrate. The deprecation is purely cosmetic, no plans to
remove any existing functionality from the WifiManager API.
(cherry-picked from aosp/1508600)
Bug: 162602799
Test: Compiles
Change-Id: I12c473185dc5518f5684e83c2f49e07271738cb5
|
|
"s-seucrity-params-setup-migration"
* changes:
wifi: add setSecurityParams APIs for wifi service migration
wifi: add getSecurityType and createSecurityParamsBySecurityType methods
|
|
Now service will only send onConnectedClientsOrInfoChanged to Manager
side. Add callback handling to dispatch correct callback base on below
scenarios.
1. onInfoChanged(SoftApInfo) will send when a. registration (non bridged) b. non
bridged and info changed
2. onInfoChanged(List) will send when a. registration b. info changed
3. onConnectedClientsChanged(List<WifiClient>) will send a. registration b. clients changed
4. onConnectedClientsChanged(SoftApInfo, List<WifiClient>) will send
a. when registration and client connected b. client changed on specific
instance. It will also need to handle when info changed(dismisssed), it
means that an instance shutdown. It needs to send empty list if previous
instance has client connected.
AP+AP Part 6 includes:
Support dual SoftApInfo callback
a. New callback onInfoChanged(List<SoftApInfo>) &
onConnectedClientsChanged(SoftApInfo, List<WifiClient>)
b. Callback refactoring
c. Support shutdown idle instance in bridged mode
Bug: 162686273
Bug: 175351193
Test: FrameworksWifiApiTests
Test: Manual Test, check the log and check SystemUI to confirm clients
update correctly.
Change-Id: Id587125edbb1167f58bba6b50a708be12888490f
|
|
This is not part of the Wifi module, move it to the non-updatable
directory.
Bug: 176105484
Test: compiles
Merged-In: Ia95e300da9286d79ee57c285c3bfa88ecc98e326
Change-Id: I495b3edc6e7a6bbb7bae287e8bdd88243e72da70
|
|
This creates a clearer boundary between what is updatable
(part of the Wifi module) and what is not updatable (outside
the module).
Bug: 176105484
Test: compiles
Merged-In: Ia95e300da9286d79ee57c285c3bfa88ecc98e326
Change-Id: I1747f52f18210bb05bcc414461bf95aa461577a6
|
|
Bug: 162685856
Test: atest FrameworksWifiApiTest
Change-Id: I6b53227a9fb5e68cc2039cb29a8ab3e11bc70bc8
|
|
For backup/restore, it needs to know security type and create a security
params from the security type.
Bug: 162685856
Test: atest FrameworksWifiApiTes
Change-Id: I2a52a288157d7875074f8e20218d564c363b568f
|
|
This is not part of the Wifi module, move it to the non-updatable
directory.
Bug: 176105484
Test: compiles
Change-Id: I38b6eeb6d784cc6e2a87f0161b32be180ade3bdc
|
|
This creates a clearer boundary between what is updatable
(part of the Wifi module) and what is not updatable (outside
the module).
Bug: 176105484
Test: compiles
Change-Id: Ia95e300da9286d79ee57c285c3bfa88ecc98e326
|
|
In bridged mode, it needs the way to know connected client and info in
each instance. Add callback onConnectedClientsChangedWithApInfo to
provide the link between clients and info
1. onConnectedClientsChanged(SoftApInfo, List<WifiClient>)
2. onInfoChanged(List<SoftApInfo>)
PS: This CL# also refactoring the callback in service side.
Move to Manager side to handle it.
Service side:
onConnectedClientsOrInfoChanged, integrate 4 callbacks to
one callback and pass all of the current infos to Manager.
PS: Convert one callback to 4 callback in Manager side will in another CL#.
Now only handle onConnectedClientsChanged in single AP mode to avoid
block AOSP Setting/SystemUI usage.
Manager side: (public systemApi)
1. onInfoChanged(SoftApInfo)
2. onInfoChanged(List<SoftApInfo>)
3. onConnectedClientsChanged(SoftApInfo, List<WifiClient>)
4. onConnectedClientsChanged(List<WifiClient>)
AP+AP Part 6 includes:
Support dual SoftApInfo callback
a. New callback onInfoChanged(List<SoftApInfo>) &
onConnectedClientsChanged(SoftApInfo, List<WifiClient>)
b. Callback refactoring
c. Support shutdown idle instance in bridged mode
Bug: 162686273
Test: FrameworksWifiApiTests
Change-Id: I861ad4ece908ec98fd500b249906ee73fff0a72a
|
|
|
|
|
|
Log ifaceName & method names.
Bug: 175614847
Test: atest FrameworksWifiApiTests
Change-Id: Idd26fdcd02c9e3fd352a822775ed03b3039bcecc
|
|
Test: FrameworksWifiTest FrameworksNetTest
Change-Id: If5d1e4a58fb2d6d9544e6d01995dabe445cf1f25
Merged-In: I067eeecd458c34b7f2fbfa439072682661ac750c
|
|
Add @hide API to return whether the default coex algorithm is enabled or
not for ACTS testing.
Bug: 153651001
Test: build
Change-Id: I4c574c767a8cc2c325139f5f668dd7090efd68b4
|
|
|
|
|
|
module-utils"
|
|
|
|
(client)"
|
|
Bug: 162685856
Test: atest FrameworksWifiApiTests
Change-Id: I5cda53edd286787c97dfb09d047d582c97e8684b
|
|
|
|
Bug: 163355222
Test: adding methods to class. Existing unit tests and 3 additional tests pass.
Change-Id: Ie003e63350faa257f8dbd68d6918961580745cce
|
|
|
|
|
|
Bug: 160648511
Test: atest android.net.wifi
Change-Id: I2a1959a2504e274de83f9cd0e44300222bbe8aac
|
|
callback"
|
|
|
|
Bug: 175130412
Test: boots up and connects to wifi
Change-Id: Ia0d26ad39e994a7a177db2ef4082ee04bff87e10
|
|
Disable network temporarily when detecting carrier eap error
Bug: 148940011
Test: atest FrameworksWifiTests
Test: make sure network can be disabled when detecting carrier eap error
Change-Id: Ide5f8b2a084ce3d72b6ba820393b9fb9b22aff0f
|
|
1. The framework need to know the instance of the client connected to
know which instance is idled.
2. The framework need to know the instance of the soft AP info.
3. Add infoList callback support for dual APs mode.
AP+AP Part 5 includes:
1. Support forceClientDisconnect in dual AP mode.
2. Support dual SoftApInfo callback
a. New callback onInfoListChanged
b. Add instanceIdentifier in SoftApInfo but it is used only in
framework.
c. Add instanceIdentifier in WifiClient but it is used only in
framework.
Bug: 162686273
Test: FrameworksWifiApiTests
Change-Id: I207831ff15a3044316556d61a72542ff35c94e74
|
|
Bug: 162685856
Test: atest FrameworksWifiApiTests
Change-Id: I020d338b1829f19f6dde8b1969f64cc065f8d796
|
|
|
|
Trigger WiFi recovery. The WiFi chip will get disabled and then
re-enabled. The state at the exit may not match the entry state.
Bug: 175084231
Test: atest com.android.server.wifi
Test: atest android.net.wifi
Test: adb shell cmd wifi trigger-recovery
Change-Id: Ie46bc697dcc003758c5df7c7c9d594e365086c7d
|
|
Bug: 173054916
Test: compile
Change-Id: I38f96e91a27e180a8a2b7b862fe4b67e3ca741f8
|
|
|
|
|
|
|
|
Pipe oemPaid, oemPrivite, and carrierMerged into passpoint profile
Bug: 172867186
Test: atest android.net.wifi
Change-Id: If253aca1d26fe5575fa9edbdd0d6fe75d9d4ca81
|
|
1. Remove internal function
2. Add the version check in new APIs which miss it before
Bug: 173791707
Test: S module on R base image boots and connects to wifi and SAP
enable succeed.
Change-Id: Ic9ea9fecfa7d39f54a1875ad687fe21c1381124c
|
|
AP+AP Part 4 includes:
1. Support API to indicate Bridged AP supported or not
2. Interface idx mechanism. I.e. STA+STA support, AP+AP will take wlan2 & wlan3
Bug: 162686273
Test: atest FrameworksWifiApiTests
Change-Id: Ic56700f58671ec3daaf05942eab06e0568465210
|