Searched refs:oldPolicyMask (Results 1 – 1 of 1) sorted by relevance
864 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskWrites() local865 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_WRITE | DETECT_DISK_READ); in allowThreadDiskWrites()866 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskWrites()869 return new ThreadPolicy(oldPolicyMask); in allowThreadDiskWrites()883 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskReads() local884 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_READ); in allowThreadDiskReads()885 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskReads()888 return new ThreadPolicy(oldPolicyMask); in allowThreadDiskReads()