Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1724 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in setUidPolicy() local
1725 if (oldPolicy != policy) { in setUidPolicy()
1726 setUidPolicyUncheckedUL(uid, oldPolicy, policy, true); in setUidPolicy()
1743 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in addUidPolicy() local
1744 policy |= oldPolicy; in addUidPolicy()
1745 if (oldPolicy != policy) { in addUidPolicy()
1746 setUidPolicyUncheckedUL(uid, oldPolicy, policy, true); in addUidPolicy()
1760 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in removeUidPolicy() local
1761 policy = oldPolicy & ~policy; in removeUidPolicy()
1762 if (oldPolicy != policy) { in removeUidPolicy()
[all …]
/frameworks/base/core/java/android/os/
DProcess.java1295 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in isThreadInProcess() local
1305 StrictMode.setThreadPolicy(oldPolicy); in isThreadInProcess()
DStrictMode.java1119 int oldPolicy = getThreadPolicyMask(); in enableDeathOnNetwork() local
1120 int newPolicy = oldPolicy | DETECT_NETWORK | PENALTY_DEATH_ON_NETWORK; in enableDeathOnNetwork()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java191 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in getProvider() local
210 StrictMode.setThreadPolicy(oldPolicy); in getProvider()
/frameworks/base/core/java/android/app/
DLoadedApk.java491 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() local
495 StrictMode.setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
518 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() local
524 StrictMode.setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
DActivityThread.java2932 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleInstallProvider() local
2936 StrictMode.setThreadPolicy(oldPolicy); in handleInstallProvider()
3270 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpService() local
3281 StrictMode.setThreadPolicy(oldPolicy); in handleDumpService()
3286 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpActivity() local
3297 StrictMode.setThreadPolicy(oldPolicy); in handleDumpActivity()
3302 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpProvider() local
3313 StrictMode.setThreadPolicy(oldPolicy); in handleDumpProvider()
/frameworks/base/core/jni/
Dandroid_os_Parcel.cpp675 const int32_t oldPolicy = threadState->getStrictModePolicy(); in android_os_Parcel_enforceInterface() local
683 if (oldPolicy != newPolicy) { in android_os_Parcel_enforceInterface()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1887 final int oldPolicy = mUidCleartextPolicy.get(uid, StrictMode.NETWORK_POLICY_ACCEPT); in setUidCleartextNetworkPolicy() local
1888 if (oldPolicy == policy) { in setUidCleartextNetworkPolicy()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java5399 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in logAppTooSlow() local
5455 StrictMode.setThreadPolicy(oldPolicy); in logAppTooSlow()