Grant Mainline NetworkStack access to network stats

Parts of the network stack moved into a Mainline module, specifically
NetworkStackGoogle on GMS devices. NetworkStatsAccess should allow the
whole network stack to query stats across apps, so check for
PERMISSION_MAINLINE_NETWORK_STACK as well.

Issue: FP3-A13#32
Fixes: 4f84ff3709 ("[MS26.1] Remove Process.NETWORK_STACK_UID dependency")
Test: run gts -m GtsNetworkStackHostTestCases -t com.google.android.gts.networkstack.NetworkStatsHostTest#testNetworkStatsProvider
Change-Id: Ie9d7120903956ae24a31cf7da66a7c89d8cd85c5
1 file changed