Add metrics for time taken to connect to Wifi after boot

- Whether Wifi was enabled at boot time
- Whether network selection found any network to auto connect to
- Whether L2 connection was successfully established
- Whether L3 connection was successfully established
- timestamps (in millis after boot) for each of the above events

Note: L2/L3 connection failure are not explicitly collected

Bug: 141723363
Test: atest FrameworksWifiTests
Test: adb shell dumpsys wifi
Updated-PDD: TRUE
Change-Id: I9cbfdeededfb2e4f7f928ac597f8b796a464b4b6
12 files changed
tree: 4e8402a51a1f0e2e7b630e1e4cb91913329d2844
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg