Searched refs:NETWORK_POLICY_ACCEPT (Results 1 – 2 of 2) sorted by relevance
1482 case StrictMode.NETWORK_POLICY_ACCEPT: in applyUidCleartextNetworkPolicy()1510 final int oldPolicy = mUidCleartextPolicy.get(uid, StrictMode.NETWORK_POLICY_ACCEPT); in setUidCleartextNetworkPolicy()1529 if (oldPolicy != StrictMode.NETWORK_POLICY_ACCEPT && in setUidCleartextNetworkPolicy()1530 policy != StrictMode.NETWORK_POLICY_ACCEPT) { in setUidCleartextNetworkPolicy()1531 applyUidCleartextNetworkPolicy(uid, StrictMode.NETWORK_POLICY_ACCEPT); in setUidCleartextNetworkPolicy()
330 public static final int NETWORK_POLICY_ACCEPT = 0; field in StrictMode1959 int networkPolicy = NETWORK_POLICY_ACCEPT; in setVmPolicy()1977 } else if (networkPolicy != NETWORK_POLICY_ACCEPT) { in setVmPolicy()