Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java1356 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskWritesMask() local
1357 int newPolicyMask = oldPolicyMask & ~(DETECT_THREAD_DISK_WRITE | DETECT_THREAD_DISK_READ); in allowThreadDiskWritesMask()
1358 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskWritesMask()
1361 return oldPolicyMask; in allowThreadDiskWritesMask()
1380 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskReadsMask() local
1381 int newPolicyMask = oldPolicyMask & ~(DETECT_THREAD_DISK_READ); in allowThreadDiskReadsMask()
1382 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskReadsMask()
1385 return oldPolicyMask; in allowThreadDiskReadsMask()