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.java158 public static final int DETECT_DISK_WRITE = 0x01; // for ThreadPolicy field in StrictMode
178 DETECT_DISK_WRITE | DETECT_DISK_READ | DETECT_NETWORK | DETECT_CUSTOM;
436 return enable(DETECT_DISK_WRITE); in detectDiskWrites()
443 return disable(DETECT_DISK_WRITE); in permitDiskWrites()
840 super(policyMask, DETECT_DISK_WRITE, null); in StrictModeDiskWriteViolation()
887 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_WRITE | DETECT_DISK_READ); in allowThreadDiskWrites()
961 int threadPolicyMask = StrictMode.DETECT_DISK_WRITE | in conditionallyEnableDebugLogging()
1104 if ((mPolicyMask & DETECT_DISK_WRITE) == 0) { in onWriteToDisk()