Searched refs:networkPolicy (Results 1 – 2 of 2) sorted by relevance
522 NetworkPolicyManagerService networkPolicy = null; in startOtherServices() local812 networkPolicy = new NetworkPolicyManagerService(context, in startOtherServices()814 ServiceManager.addService(Context.NETWORK_POLICY_SERVICE, networkPolicy); in startOtherServices()842 context, networkManagement, networkStats, networkPolicy); in startOtherServices()845 networkPolicy.bindConnectivityManager(connectivity); in startOtherServices()894 networkPolicy.bindNotificationManager(notification); in startOtherServices()1274 final NetworkPolicyManagerService networkPolicyF = networkPolicy; in startOtherServices()
1679 int networkPolicy = NETWORK_POLICY_ACCEPT; in setVmPolicy() local1683 networkPolicy = NETWORK_POLICY_REJECT; in setVmPolicy()1685 networkPolicy = NETWORK_POLICY_LOG; in setVmPolicy()1693 netd.setUidCleartextNetworkPolicy(android.os.Process.myUid(), networkPolicy); in setVmPolicy() local1696 } else if (networkPolicy != NETWORK_POLICY_ACCEPT) { in setVmPolicy()