[Ethernet] 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.

Bug: 32963470
Test: atest EthernetServiceTests
Change-Id: I2a88d04bbdcd7e7e624b9065372a6603d2bb45a2
1 file changed
tree: 81a42bcaad5e497caa22aba2a8b4ba612b73399e
  1. java/
  2. tests/
  3. Android.bp