Searched refs:DETECT_NETWORK (Results 1 – 1 of 1) sorted by relevance
164 public static final int DETECT_NETWORK = 0x04; // for ThreadPolicy field in StrictMode174 DETECT_DISK_WRITE | DETECT_DISK_READ | DETECT_NETWORK | DETECT_CUSTOM;385 return enable(DETECT_NETWORK); in detectNetwork()392 return disable(DETECT_NETWORK); in permitNetwork()800 super(policyMask, DETECT_NETWORK, null); in StrictModeNetworkViolation()941 StrictMode.DETECT_NETWORK; in conditionallyEnableDebugLogging()975 int newPolicy = oldPolicy | DETECT_NETWORK | PENALTY_DEATH_ON_NETWORK; in enableDeathOnNetwork()1113 if ((mPolicyMask & DETECT_NETWORK) == 0) { in onNetwork()