Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java865 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_WRITE | DETECT_DISK_READ); in allowThreadDiskWrites() local
866 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskWrites()
867 setThreadPolicyMask(newPolicyMask); in allowThreadDiskWrites()
884 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_READ); in allowThreadDiskReads() local
885 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskReads()
886 setThreadPolicyMask(newPolicyMask); in allowThreadDiskReads()