WifiMetrics: use SoftAp return code metrics

Add calls to populate SoftAp startup return code values to metrics.
This CL also adds the handling of these metrics in WifiMetrics.  The
newly tracked SoftAp start return code metric is also added to the
WifiMetricsTest.

Bug: 30899122
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: frameworks/base/wifi/tests/runtests.sh
Test: manually verified code counts incrementing with dumpsys wifi
Change-Id: I9256e08c0de6e9d4132e5aab3d604ba0ef6922c0
3 files changed
tree: 31a3bd5ded6244c46c20dfd8edb787597def97e1
  1. libwifi_hal/
  2. libwifi_system/
  3. service/
  4. tests/
  5. PREUPLOAD.cfg