Searched refs:oldPolicyMask (Results 1 – 1 of 1) sorted by relevance
1129 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskWrites() local1130 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_WRITE | DETECT_DISK_READ); in allowThreadDiskWrites()1131 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskWrites()1134 return new ThreadPolicy(oldPolicyMask); in allowThreadDiskWrites()1148 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskReads() local1149 int newPolicyMask = oldPolicyMask & ~(DETECT_DISK_READ); in allowThreadDiskReads()1150 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskReads()1153 return new ThreadPolicy(oldPolicyMask); in allowThreadDiskReads()