Enforce ACCESS_NETWORK_STATE to getAvailableInterfaces()

getAvailableInterfaces() will return available ethernet
interfaces which are the information about networks. So it should
enforce ACCESS_NETWORK_STATE permission check to ensure the
applications are allowed to access the information.

Bug: 174573778
Test: TetheringTests
Test: CtsTetheringTest
Change-Id: I7aaa5225d56f2feecc51ba263489ed0ce02fd651
1 file changed
tree: c009c3aec1a23499e10cb2ee61d78c877c9a09c2
  1. service-t/
  2. tests/