Scan Optimization: collect metrics on PNO scans in each mobility state

Collect metrics on how much time was spent in each mobility state, how
many times the mobility state was entered, and how much time was spent
performing PNO scans in each mobility state in order to inform further
optimizations of PNO scanning.

Bug: 120097108
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: Run "adb shell dumpsys wifi" and find section starting with
"mMobilityStatePnoStatsMap:" to ensure metrics are printed properly.
Change-Id: Ib37abc551564776d04c5740afe260c1b9ce1b386
4 files changed