Searched refs:oldPolicyMask (Results 1 – 1 of 1) sorted by relevance
886 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskWrites() local887 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_WRITE | DETECT_DISK_READ); in allowThreadDiskWrites()888 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskWrites()891 return new ThreadPolicy(oldPolicyMask); in allowThreadDiskWrites()905 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskReads() local906 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_READ); in allowThreadDiskReads()907 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskReads()910 return new ThreadPolicy(oldPolicyMask); in allowThreadDiskReads()