Home
last modified time | relevance | path

Searched refs:networkPolicy (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/os/
DStrictMode.java2103 int networkPolicy = NETWORK_POLICY_ACCEPT; in setVmPolicy() local
2107 networkPolicy = NETWORK_POLICY_REJECT; in setVmPolicy()
2109 networkPolicy = NETWORK_POLICY_LOG; in setVmPolicy()
2118 netd.setUidCleartextNetworkPolicy(android.os.Process.myUid(), networkPolicy); in setVmPolicy() local
2121 } else if (networkPolicy != NETWORK_POLICY_ACCEPT) { in setVmPolicy()
/frameworks/base/services/java/com/android/server/
DSystemServer.java1446 NetworkPolicyManagerService networkPolicy = null; in startOtherServices() local
2043 networkPolicy = new NetworkPolicyManagerService(context, mActivityManagerService, in startOtherServices()
2045 ServiceManager.addService(Context.NETWORK_POLICY_SERVICE, networkPolicy); in startOtherServices()
2121 networkPolicy.bindConnectivityManager(); in startOtherServices()
3010 final NetworkPolicyManagerService networkPolicyF = networkPolicy; in startOtherServices()