[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
Merged-In: I895439752420d6ba19ff42a8f098700da0d43b80
6 files changed
tree: ab009ac40c68864f4a632353562d431d8d80b54e
  1. service/
  2. PREUPLOAD.cfg