Searched refs:networkPolicy (Results 1 – 2 of 2) sorted by relevance
919 NetworkPolicyManagerService networkPolicy = null; in startOtherServices() local1367 networkPolicy = new NetworkPolicyManagerService(context, mActivityManagerService, in startOtherServices()1369 ServiceManager.addService(Context.NETWORK_POLICY_SERVICE, networkPolicy); in startOtherServices()1426 context, networkManagement, networkStats, networkPolicy); in startOtherServices()1430 networkPolicy.bindConnectivityManager(connectivity); in startOtherServices()2071 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()