This reverts commit 6f5338dd8f.
Reason for revert: Wifi services no longer plan to be a separate
APK/process for mainline. Will instead become a jar loaded from Apex.
Bug: 144722612
Test: Device boots up & connects to wifi networks.
Change-Id: I293e36973c4bdbd8bf9db2fcd78e61e6c38b39f4
Listen to boot complete in WifiStackService and
perform expensive initialization tasks afterwards.
WifiStackClient no longer drives the initialization
order of services. Instead it receives a list of
services and only registers them with ServiceManager.
Bug: 141003116
Test: atest FrameworksWifiTests
Test: device boots
Test: atest google/perf/boottime/boottime-test -v
Change-Id: If1f2a409f6dc72469b95d4fb491e408ae81b3a74
Spin up a new thread to perform Wifi initialization.
Also reordered initialization so that WifiScanningService
starts before WifiService, since WifiService needs to
call WifiScanner.
Bug: 141003116
Bug: 140938772
Test: atest google/perf/boottime/boottime-test -v
Change-Id: Idcc910f853a2270924bf138b636a3c56158cf1af
a) Expose AIDL methods in IWifiStackConnector to retrieve the various
wifi API service implementation from the WifiStack.apk.
b) WifiStackClient running on system_server will register the various
wifi services & trigger the initialization sequence of the various wifi
services.
Regardless of whether the wifi stack runs in system_server or
network_stack process, this ensures that binder service publish always
happens in system_server. This allows us to maintain a default set of
sepolicy rules regardless of which version of the APK is running
(mainline or non-mainline).
Bug: 135753701
Change-Id: I2c1c40d14d6ec822694d6a3250b81694ab6b2a81
Merged-In: I2c1c40d14d6ec822694d6a3250b81694ab6b2a81
Test: Verified that device boots up & connects to wifi networks with
both WifiStack.apk & InProcessWifiStack.apk.
Test: Will send for regression tests
a) Moved wifi service to a separate APK
b) Use the IWifiStackConnector to load the wifi stack from
SystemServer (similar to network stack).
c) Create a new WifiStackClient interface for system server to interact
with the wifi stack (under new services/wifi folder). Note: This not planned
to be updated via wifi-sdk Apex.
d) Add priv-app permissions for the new wifi stack APK.
Bug: 113174748
Test: Device boots up & connects to wifi networks, hotspot toggle, etc.
Test: Will send for regression tests
Change-Id: I54b3a11ed30668bad5a387370484b2bb0eabca5f
Merged-In: I54b3a11ed30668bad5a387370484b2bb0eabca5f