[WiFi] Replace internal connectivity checks permission

A number of connectivity checks that protect system-only methods
check for CONNECTIVITY_INTERNAL, but CONNECTIVITY_INTERNAL is a
signature|privileged permission. We should audit the permissions
checks, and convert checks that protect code that should not be
called outside the system to a signature permission. So replace
the permission to NETWORK_STACK or another proper permission.

Bug: 32963470
Test: atest FrameworksWifiTests
Change-Id: I895439752420d6ba19ff42a8f098700da0d43b80
5 files changed
tree: 408aebe3a14cb18a3ab3602c0110b82fab1bf180
  1. apex/
  2. service/
  3. PREUPLOAD.cfg