ActiveModeWarden: store ClientModeManager & SoftApModeManager separately

They are mostly orthogonal and most operations only care about
one or the other. Store them in separate collections so that we don't
need to perform type casting, which circumvents compiler checks and
can be a source of bugs.

Bug: 160283853
Test: atest FrameworksWifiTests
Test: device boots up and connects to wifi
Change-Id: Ieb1e66d27fdaa8c1f6880ff29649df35ef7f5c23
3 files changed
tree: 2bf9b088de80629bf438affb039de3107179e19a
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg