Make Before Break: Switch primary ClientModeManager

Introduce MakeBeforeBreakManager as a central location
to manage Make Before Break (MBB) attempts.

Switch the primary ClientModeManager upon L3
validation success for the new MBB ClientModeManager.

The previous primary ClientModeManager will linger
in the background. The following CL will tear down
the previous primary ClientModeManager after
lingering is complete.

Bug: 160346062
Test: atest FrameworksWifiTests
Test: 1. Connect to network1 on device1.
      2. Turn on SAP for network2 on device2.
      3. Since device1 prefers network1 (configured ahead of time with user
         connect choice), verify it connects to network2 using Make-Before-Break
         (MBB).
Change-Id: Icaad149fd95204f041aeb9ddfc7e7ef43fd91f77
14 files changed
tree: 31d64a6928a1b370cb8dd85d319c8641734e92f6
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg