In preparation of moving away from this API surface to a different mechanism. Bug: 149418926 Test: atest android.net.wifi.cts Change-Id: I5805d9dc27a248b633d514356f603f63af799429