Searched refs:oldPolicy (Results 1 – 8 of 8) sorted by relevance
117 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in getProvider() local133 StrictMode.setThreadPolicy(oldPolicy); in getProvider()
119 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in initialize() local121 StrictMode.setThreadPolicy(oldPolicy); in initialize()
1447 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in setUidPolicy() local1448 if (oldPolicy != policy) { in setUidPolicy()1463 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in addUidPolicy() local1464 policy |= oldPolicy; in addUidPolicy()1465 if (oldPolicy != policy) { in addUidPolicy()1480 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in removeUidPolicy() local1481 policy = oldPolicy & ~policy; in removeUidPolicy()1482 if (oldPolicy != policy) { in removeUidPolicy()
664 const int32_t oldPolicy = threadState->getStrictModePolicy(); in android_os_Parcel_enforceInterface() local671 if (oldPolicy != newPolicy) { in android_os_Parcel_enforceInterface()
996 int oldPolicy = getThreadPolicyMask(); in enableDeathOnNetwork() local997 int newPolicy = oldPolicy | DETECT_NETWORK | PENALTY_DEATH_ON_NETWORK; in enableDeathOnNetwork()
359 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in getClassLoader() local364 StrictMode.setThreadPolicy(oldPolicy); in getClassLoader()
2541 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleInstallProvider() local2545 StrictMode.setThreadPolicy(oldPolicy); in handleInstallProvider()2837 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpService() local2848 StrictMode.setThreadPolicy(oldPolicy); in handleDumpService()2853 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpActivity() local2864 StrictMode.setThreadPolicy(oldPolicy); in handleDumpActivity()2869 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpProvider() local2880 StrictMode.setThreadPolicy(oldPolicy); in handleDumpProvider()
4859 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in logAppTooSlow() local4923 StrictMode.setThreadPolicy(oldPolicy); in logAppTooSlow()