Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java178 public static final int DETECT_NETWORK = 0x04; // for ThreadPolicy field in StrictMode
195 DETECT_DISK_WRITE | DETECT_DISK_READ | DETECT_NETWORK | DETECT_CUSTOM |
421 return enable(DETECT_NETWORK); in detectNetwork()
428 return disable(DETECT_NETWORK); in permitNetwork()
936 super(policyMask, DETECT_NETWORK, null); in StrictModeNetworkViolation()
1086 StrictMode.DETECT_NETWORK; in conditionallyEnableDebugLogging()
1120 int newPolicy = oldPolicy | DETECT_NETWORK | PENALTY_DEATH_ON_NETWORK; in enableDeathOnNetwork()
1299 if ((mPolicyMask & DETECT_NETWORK) == 0) { in onNetwork()