Self Recovery trigger subsystem restart and handle the callback event
This change make the framework reload firmware during the self recovery.
Meanwhile, it will handle the subsystem restart callback event, and
restart wifi to recover the wifi stack.
Bug: 178126071
Test: Forward the subsystem restart request by API
callback onSubsystemRestart() can trigger SelfRecovery
atest com.android.server.wifi.SelfRecoveryTest
atest com.android.server.wifi.HalDeviceManagerTest
Change-Id: I2cb239871627f4083cb9238209179b38740f06fc
8 files changed