NetworkTools
object NetworkTools
Provider for the network tools: data usage, cellular signal, and VPN status. Combines a normal runtime permission (ACCESS_NETWORK_STATE) with the PACKAGE_USAGE_STATS special-access grant (checked via android.app.AppOpsManager, not a runtime dialog). GetDataUsageTool degrades to TrafficStats without usage access; the signal and VPN tools only need ACCESS_NETWORK_STATE.