Searched refs:DETECT_NETWORK (Results 1 – 1 of 1) sorted by relevance
180 public static final int DETECT_NETWORK = 0x04; // for ThreadPolicy field in StrictMode202 DETECT_DISK_WRITE | DETECT_DISK_READ | DETECT_NETWORK | DETECT_CUSTOM |467 return enable(DETECT_NETWORK); in detectNetwork()474 return disable(DETECT_NETWORK); in permitNetwork()1047 super(policyMask, DETECT_NETWORK, null); in StrictModeNetworkViolation()1206 StrictMode.DETECT_NETWORK; in conditionallyEnableDebugLogging()1251 int newPolicy = oldPolicy | DETECT_NETWORK | PENALTY_DEATH_ON_NETWORK; in enableDeathOnNetwork()1444 if ((mPolicyMask & DETECT_NETWORK) == 0) { in onNetwork()