Log API surfaces of WifiService
Log following ways to interact with WifiServiceImpl
- AIDL methods, trace calling uid
- AsyncChannel messages sent from and handled by WifiService
using WifiAsyncChannel instead of AsyncChannel
- AsyncChannel messages sent to WifiService using WifiHandler
instead of Handler
This CL changes the construction of WifiServiceImpl to use the
WifiAsyncChannel object instead. Exercise WifiAsyncChannel using
tests added in WifiServiceImplTest and mock logging objects.
Bug: 33780715
Test: Unit tests, Sanity tests (power on and connect to AP),
and verify logging
Change-Id: I7a56806ea1b166d15a4c75e5e0d5bfcaf23c7b98
3 files changed