Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java1009 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskWrites() local
1010 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_WRITE | DETECT_DISK_READ); in allowThreadDiskWrites()
1011 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskWrites()
1014 return new ThreadPolicy(oldPolicyMask); in allowThreadDiskWrites()
1028 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskReads() local
1029 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_READ); in allowThreadDiskReads()
1030 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskReads()
1033 return new ThreadPolicy(oldPolicyMask); in allowThreadDiskReads()