Searched refs:networkPolicy (Results 1 – 2 of 2) sorted by relevance
885 NetworkPolicyManagerService networkPolicy = null; in startOtherServices() local1316 networkPolicy = new NetworkPolicyManagerService(context, mActivityManagerService, in startOtherServices()1318 ServiceManager.addService(Context.NETWORK_POLICY_SERVICE, networkPolicy); in startOtherServices()1375 context, networkManagement, networkStats, networkPolicy); in startOtherServices()1379 networkPolicy.bindConnectivityManager(connectivity); in startOtherServices()2018 final NetworkPolicyManagerService networkPolicyF = networkPolicy; in startOtherServices()
1959 int networkPolicy = NETWORK_POLICY_ACCEPT; in setVmPolicy() local1963 networkPolicy = NETWORK_POLICY_REJECT; in setVmPolicy()1965 networkPolicy = NETWORK_POLICY_LOG; in setVmPolicy()1974 netd.setUidCleartextNetworkPolicy(android.os.Process.myUid(), networkPolicy); in setVmPolicy() local1977 } else if (networkPolicy != NETWORK_POLICY_ACCEPT) { in setVmPolicy()