Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java159 public static final int DETECT_DISK_READ = 0x02; // for ThreadPolicy field in StrictMode
174 DETECT_DISK_WRITE | DETECT_DISK_READ | DETECT_NETWORK | DETECT_CUSTOM;
399 return enable(DETECT_DISK_READ); in detectDiskReads()
406 return disable(DETECT_DISK_READ); in permitDiskReads()
809 super(policyMask, DETECT_DISK_READ, null); in StrictModeDiskReadViolation()
865 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_WRITE | DETECT_DISK_READ); in allowThreadDiskWrites()
884 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_READ); in allowThreadDiskReads()
940 StrictMode.DETECT_DISK_READ | in conditionallyEnableDebugLogging()
1100 if ((mPolicyMask & DETECT_DISK_READ) == 0) { in onReadFromDisk()