Searched refs:oldPolicy (Results 1 – 7 of 7) sorted by relevance
62 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in getProvider() local67 StrictMode.setThreadPolicy(oldPolicy); in getProvider()
596 const int32_t oldPolicy = threadState->getStrictModePolicy(); in android_os_Parcel_enforceInterface() local603 if (oldPolicy != newPolicy) { in android_os_Parcel_enforceInterface()
317 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in getClassLoader() local324 StrictMode.setThreadPolicy(oldPolicy); in getClassLoader()
2651 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpService() local2661 StrictMode.setThreadPolicy(oldPolicy); in handleDumpService()2666 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpActivity() local2676 StrictMode.setThreadPolicy(oldPolicy); in handleDumpActivity()2681 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpProvider() local2691 StrictMode.setThreadPolicy(oldPolicy); in handleDumpProvider()
990 int oldPolicy = getThreadPolicyMask(); in enableDeathOnNetwork() local991 int newPolicy = oldPolicy | DETECT_NETWORK | PENALTY_DEATH_ON_NETWORK; in enableDeathOnNetwork()
1354 final int oldPolicy; in setUidPolicyUnchecked() local1356 oldPolicy = getUidPolicy(uid); in setUidPolicyUnchecked()
3258 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in logAppTooSlow() local3322 StrictMode.setThreadPolicy(oldPolicy); in logAppTooSlow()