Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java1255 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskWritesMask() local
1256 int newPolicyMask = oldPolicyMask & ~(DETECT_THREAD_DISK_WRITE | DETECT_THREAD_DISK_READ); in allowThreadDiskWritesMask()
1257 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskWritesMask()
1260 return oldPolicyMask; in allowThreadDiskWritesMask()
1279 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskReadsMask() local
1280 int newPolicyMask = oldPolicyMask & ~(DETECT_THREAD_DISK_READ); in allowThreadDiskReadsMask()
1281 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskReadsMask()
1284 return oldPolicyMask; in allowThreadDiskReadsMask()