Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java887 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_WRITE | DETECT_DISK_READ); in allowThreadDiskWrites() local
888 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskWrites()
889 setThreadPolicyMask(newPolicyMask); in allowThreadDiskWrites()
906 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_READ); in allowThreadDiskReads() local
907 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskReads()
908 setThreadPolicyMask(newPolicyMask); in allowThreadDiskReads()