Home
last modified time | relevance | path

Searched refs:oldPolicy (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/webkit/
DWebViewFactory.java117 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in getProvider() local
133 StrictMode.setThreadPolicy(oldPolicy); in getProvider()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewChromiumFactoryProvider.java119 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in initialize() local
121 StrictMode.setThreadPolicy(oldPolicy); in initialize()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1447 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in setUidPolicy() local
1448 if (oldPolicy != policy) { in setUidPolicy()
1463 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in addUidPolicy() local
1464 policy |= oldPolicy; in addUidPolicy()
1465 if (oldPolicy != policy) { in addUidPolicy()
1480 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in removeUidPolicy() local
1481 policy = oldPolicy & ~policy; in removeUidPolicy()
1482 if (oldPolicy != policy) { in removeUidPolicy()
/frameworks/base/core/jni/
Dandroid_os_Parcel.cpp664 const int32_t oldPolicy = threadState->getStrictModePolicy(); in android_os_Parcel_enforceInterface() local
671 if (oldPolicy != newPolicy) { in android_os_Parcel_enforceInterface()
/frameworks/base/core/java/android/os/
DStrictMode.java996 int oldPolicy = getThreadPolicyMask(); in enableDeathOnNetwork() local
997 int newPolicy = oldPolicy | DETECT_NETWORK | PENALTY_DEATH_ON_NETWORK; in enableDeathOnNetwork()
/frameworks/base/core/java/android/app/
DLoadedApk.java359 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in getClassLoader() local
364 StrictMode.setThreadPolicy(oldPolicy); in getClassLoader()
DActivityThread.java2541 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleInstallProvider() local
2545 StrictMode.setThreadPolicy(oldPolicy); in handleInstallProvider()
2837 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpService() local
2848 StrictMode.setThreadPolicy(oldPolicy); in handleDumpService()
2853 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpActivity() local
2864 StrictMode.setThreadPolicy(oldPolicy); in handleDumpActivity()
2869 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpProvider() local
2880 StrictMode.setThreadPolicy(oldPolicy); in handleDumpProvider()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java4859 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in logAppTooSlow() local
4923 StrictMode.setThreadPolicy(oldPolicy); in logAppTooSlow()