Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java170 public static final int DETECT_DISK_WRITE = 0x01; // for ThreadPolicy field in StrictMode
202 DETECT_DISK_WRITE | DETECT_DISK_READ | DETECT_NETWORK | DETECT_CUSTOM |
549 return enable(DETECT_DISK_WRITE); in detectDiskWrites()
556 return disable(DETECT_DISK_WRITE); in permitDiskWrites()
1065 super(policyMask, DETECT_DISK_WRITE, null); in StrictModeDiskWriteViolation()
1130 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_WRITE | DETECT_DISK_READ); in allowThreadDiskWrites()
1204 int threadPolicyMask = StrictMode.DETECT_DISK_WRITE | in conditionallyEnableDebugLogging()
1377 if ((mPolicyMask & DETECT_DISK_WRITE) == 0) { in onWriteToDisk()