Support APF multi-device test

This change conduct a basic APF multi-device test, which includes:
  1. Setup a hotspot with a client connect to it.
  2. Use adb command to instruct the client to enable doze mode to
     activate APF on the client device.
  3. Use a command to instruct the hotspot device to send
     an empty broadcast EtherCat packet.
  4. Parse dumpsys on the client device to get APF counters.
  5. Verify the corresponding APF counter increases.

This change also fix some lint errors suggested by pyformat.

Test: m connectivity_multi_devices_snippet && \
      atest CtsConnectivityMultiDevicesTestCases:ConnectivityMultiDevicesTest
Fix: 335368434
Change-Id: Ic5aecbf316f150c5b975e5dfe6cd110bd42c2135
2 files changed