p2p: mirgrate p2p into tethering modes

If there is a valid p2p interface pattern defined,
using Android tethering modes instead of doing
tethering in p2p service.

Bug: 137602441
Bug: 139783330
Test: atest FrameworksNetTests
Test: atest FrameworksWifiTests
Test: CtsVerifier - Wi-Fi Direct
Test: Enable hotspot when P2P GO is running
      * P2P GO is terminated
      * hotspot is running
Test: Enable P2P GO when hotspot is running
      * hotspot is intact
      * P2P GO could not be launched

Change-Id: I9b880f18ecfa7cb951c26d17e0edee139c992023
1 file changed
tree: bff366845f94433a3300314dc4f93b12f46d72c7
  1. service/
  2. PREUPLOAD.cfg