WifiDiagnostics: migrate to chained logging API
Migrate parameterized log messages in WifiDiagnostics
to the new chained logging API.
Along the way: add DummyLogMessage and FakeLog, to
facilitate testing. (Alternatively, we could bake their
behavior into WifiDiagnosticsTest. But it seems likely
that other tests will want the same behavior.)
While there:
- fix ordering of imports (WifiDiagnostics, WifiDiagnosticsTest)
- remove unused imports (WifiDiagnostics)
- change the level of some WifiDiagnostics log message, to
fit our new guidelines
BUG=30736898
TEST=wifitests/runtests.sh
Change-Id: If60282adf40d58e80cdaa0d7e1e7008c490d545b
4 files changed