Make SupplicantStateTracker per-ClientModeImpl

SupplicantStateTracker is only used by ClientModeImpl.
Thus, make it owned by ClientModeImpl, with the same
lifetime.

Remove CMD_RESET_SUPPLICANT_STATE since a fresh
instance of SupplicantStateTracker will be created
with every ClientModeImpl instance, so no need to
reset.

Also performed misc cleanup in SupplicantStateTracker.

Bug: 159944009
Test: atest FrameworksWifiTests
Change-Id: Iab929c42eb40448a0c51bc9390960564696600e6
5 files changed
tree: 805286aefbafe9c240e55c8f7fb6af3995ea3c60
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg