Log automaticBugReportTaken in connection event

To help the data analysis, log automaticBugReportTaken in connection
event. This field already exists in wifi.proto. Log bug report time in
WifiMetrics and set this field to true when bugreport does happen after
the connection attempt.

Bug: 172071055
Test: atest com.android.server.wifi
Change-Id: I08b5b1d7a1c7b0017503bb1d472c998e9773bb35
Merged-In: I08b5b1d7a1c7b0017503bb1d472c998e9773bb35
3 files changed
tree: c9f4ba8ee41577f04710ae3043351b21965be33b
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg