Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/
DSystemServer.java522 NetworkPolicyManagerService networkPolicy = null; in startOtherServices() local
812 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()
/frameworks/base/core/java/android/os/
DStrictMode.java1679 int networkPolicy = NETWORK_POLICY_ACCEPT; in setVmPolicy() local
1683 networkPolicy = NETWORK_POLICY_REJECT; in setVmPolicy()
1685 networkPolicy = NETWORK_POLICY_LOG; in setVmPolicy()
1693 netd.setUidCleartextNetworkPolicy(android.os.Process.myUid(), networkPolicy); in setVmPolicy() local
1696 } else if (networkPolicy != NETWORK_POLICY_ACCEPT) { in setVmPolicy()