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 |
432 return enable(DETECT_NETWORK); in detectNetwork()
439 return disable(DETECT_NETWORK); in permitNetwork()
925 super(policyMask, DETECT_NETWORK, null); in StrictModeNetworkViolation()
1075 StrictMode.DETECT_NETWORK; in conditionallyEnableDebugLogging()
1109 int newPolicy = oldPolicy | DETECT_NETWORK | PENALTY_DEATH_ON_NETWORK; in enableDeathOnNetwork()
1269 if ((mPolicyMask & DETECT_NETWORK) == 0) { in onNetwork()