/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutBitmapSaver.java | 171 final StrictMode.ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in saveBitmapLocked() local 175 StrictMode.setThreadPolicy(new ThreadPolicy.Builder(oldPolicy) in saveBitmapLocked() 197 StrictMode.setThreadPolicy(oldPolicy); in saveBitmapLocked()
|
D | ShortcutPackage.java | 2681 final StrictMode.ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in fromAppSearch() local 2702 StrictMode.setThreadPolicy(oldPolicy); in fromAppSearch()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyLogger.java | 136 void uidPolicyChanged(int uid, int oldPolicy, int newPolicy) { in uidPolicyChanged() argument 140 getPolicyChangedLog(uid, oldPolicy, newPolicy)); in uidPolicyChanged() 142 mEventsBuffer.uidPolicyChanged(uid, oldPolicy, newPolicy); in uidPolicyChanged() 323 private static String getPolicyChangedLog(int uid, int oldPolicy, int newPolicy) { in getPolicyChangedLog() argument 325 + NetworkPolicyManager.uidPoliciesToString(oldPolicy) + " to " in getPolicyChangedLog() 473 public void uidPolicyChanged(int uid, int oldPolicy, int newPolicy) { in uidPolicyChanged() argument 480 data.ifield2 = oldPolicy; in uidPolicyChanged()
|
D | NetworkPolicyManagerService.java | 3084 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); 3085 if (oldPolicy != policy) { 3086 setUidPolicyUncheckedUL(uid, oldPolicy, policy, true); 3087 mLogger.uidPolicyChanged(uid, oldPolicy, policy); 3105 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); 3106 policy |= oldPolicy; 3107 if (oldPolicy != policy) { 3108 setUidPolicyUncheckedUL(uid, oldPolicy, policy, true); 3109 mLogger.uidPolicyChanged(uid, oldPolicy, policy); 3124 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); [all …]
|
D | NetworkManagementService.java | 1192 final int oldPolicy = mUidCleartextPolicy.get(uid, StrictMode.NETWORK_POLICY_ACCEPT); in setUidCleartextNetworkPolicy() local 1193 if (oldPolicy == policy) { in setUidCleartextNetworkPolicy() 1211 if (oldPolicy != StrictMode.NETWORK_POLICY_ACCEPT && in setUidCleartextNetworkPolicy()
|
/frameworks/base/core/java/android/app/ |
D | QueuedWork.java | 203 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in waitToFinish() local 207 StrictMode.setThreadPolicy(oldPolicy); in waitToFinish()
|
D | LoadedApk.java | 975 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() local 980 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked() 1023 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() local 1045 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked() 1052 StrictMode.ThreadPolicy oldPolicy = allowThreadDiskReads(); in createOrUpdateClassLoaderLocked() local 1056 setThreadPolicy(oldPolicy); in createOrUpdateClassLoaderLocked()
|
D | ActivityThread.java | 4467 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleInstallProvider() local 4471 StrictMode.setThreadPolicy(oldPolicy); in handleInstallProvider() 5059 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpGfxInfo() local 5066 StrictMode.setThreadPolicy(oldPolicy); in handleDumpGfxInfo() 5071 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpService() local 5082 StrictMode.setThreadPolicy(oldPolicy); in handleDumpService() 5087 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpResources() local 5099 StrictMode.setThreadPolicy(oldPolicy); in handleDumpResources() 5104 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in handleDumpActivity() local 5115 StrictMode.setThreadPolicy(oldPolicy); in handleDumpActivity() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 1302 ZenPolicy oldPolicy = zenRule.zenPolicy != null in updatePolicy() local 1315 newPolicy = oldPolicy.overwrittenWith(newPolicy); in updatePolicy() 1320 if (oldPolicy.getPriorityMessageSenders() != newPolicy.getPriorityMessageSenders()) { in updatePolicy() 1323 if (oldPolicy.getPriorityCallSenders() != newPolicy.getPriorityCallSenders()) { in updatePolicy() 1326 if (oldPolicy.getPriorityConversationSenders() in updatePolicy() 1330 if (oldPolicy.getPriorityChannelsAllowed() != newPolicy.getPriorityChannelsAllowed()) { in updatePolicy() 1333 if (oldPolicy.getPriorityCategoryReminders() in updatePolicy() 1337 if (oldPolicy.getPriorityCategoryEvents() != newPolicy.getPriorityCategoryEvents()) { in updatePolicy() 1340 if (oldPolicy.getPriorityCategoryRepeatCallers() in updatePolicy() 1344 if (oldPolicy.getPriorityCategoryAlarms() != newPolicy.getPriorityCategoryAlarms()) { in updatePolicy() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PhantomProcessRecord.java | 88 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in PhantomProcessRecord() local 101 StrictMode.setThreadPolicy(oldPolicy); in PhantomProcessRecord()
|
D | PhantomProcessList.java | 138 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in lookForPhantomProcessesLocked() local 147 StrictMode.setThreadPolicy(oldPolicy); in lookForPhantomProcessesLocked()
|
D | ActivityManagerShellCommand.java | 2098 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 2109 StrictMode.setThreadPolicy(oldPolicy); 2117 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 2127 StrictMode.setThreadPolicy(oldPolicy); 2135 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 2141 StrictMode.setThreadPolicy(oldPolicy); 2149 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 2159 StrictMode.setThreadPolicy(oldPolicy); 2167 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); 2173 StrictMode.setThreadPolicy(oldPolicy); [all …]
|
D | ProcessList.java | 2028 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); 2034 StrictMode.setThreadPolicy(oldPolicy);
|
/frameworks/base/core/java/android/os/ |
D | StrictMode.java | 1419 ThreadPolicy oldPolicy = getThreadPolicy(); in allowThreadViolations() local 1421 return oldPolicy; in allowThreadViolations() 1426 VmPolicy oldPolicy = getVmPolicy(); in allowVmViolations() local 1428 return oldPolicy; in allowVmViolations() 1912 ThreadPolicy oldPolicy = StrictMode.allowThreadViolations(); in onThreadPolicyViolation() local 1916 StrictMode.setThreadPolicy(oldPolicy); in onThreadPolicyViolation() 2552 VmPolicy oldPolicy = allowVmViolations(); in onVmPolicyViolation() local 2556 setVmPolicy(oldPolicy); in onVmPolicyViolation()
|
D | Process.java | 1718 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in isThreadInProcess() local 1728 StrictMode.setThreadPolicy(oldPolicy); in isThreadInProcess()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceProvider.java | 548 ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in onBindSliceStrict() local 556 StrictMode.setThreadPolicy(oldPolicy); in onBindSliceStrict()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | AutomaticBrightnessController.java | 519 final int oldPolicy = mDisplayPolicy; in setDisplayPolicy() local 522 Slog.d(TAG, "Display policy transitioning from " + oldPolicy + " to " + policy); in setDisplayPolicy() 524 if (!isInteractivePolicy(policy) && isInteractivePolicy(oldPolicy) && !isInIdleMode()) { in setDisplayPolicy() 527 } else if (isInteractivePolicy(policy) && !isInteractivePolicy(oldPolicy)) { in setDisplayPolicy()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateSelector.cpp | 1357 Policy oldPolicy; in setPolicy() local 1361 oldPolicy = *getCurrentPolicyLocked(); in setPolicy() 1395 if (idleScreenConfigOpt != oldPolicy.idleScreenConfigOpt) { in setPolicy() 1424 if (getCurrentPolicyLocked()->similarExceptIdleConfig(oldPolicy)) { in setPolicy() 1439 to_string(displayId).c_str(), oldPolicy.toString().c_str(), toString(policy).c_str(), in setPolicy()
|
/frameworks/base/core/jni/ |
D | android_os_Parcel.cpp | 775 const int32_t oldPolicy = threadState->getStrictModePolicy(); in android_os_Parcel_enforceInterface() local 781 if (oldPolicy != newPolicy) { in android_os_Parcel_enforceInterface()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 718 final StrictMode.VmPolicy oldPolicy = StrictMode.allowVmViolations(); in buildBrowsePendingIntent() local 727 StrictMode.setVmPolicy(oldPolicy); in buildBrowsePendingIntent()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | LowPowerStandbyController.java | 1041 @Nullable LowPowerStandbyPolicy oldPolicy, @Nullable LowPowerStandbyPolicy newPolicy) { in policyChangeAffectsAllowlistLocked() 1042 final LowPowerStandbyPolicy policyA = policyOrDefault(oldPolicy); in policyChangeAffectsAllowlistLocked()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 3639 Policy oldPolicy = newConfig.toNotificationPolicy(); in testZenModeEventLog_policyAllowChannels() local 3640 Policy newPolicy = new Policy(oldPolicy.priorityCategories, oldPolicy.priorityCallSenders, in testZenModeEventLog_policyAllowChannels() 3641 oldPolicy.priorityMessageSenders, oldPolicy.suppressedVisualEffects, in testZenModeEventLog_policyAllowChannels() 3643 oldPolicy.priorityConversationSenders); in testZenModeEventLog_policyAllowChannels()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 936 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in updateAccountVisibilityLocked() local 943 StrictMode.setThreadPolicy(oldPolicy); in updateAccountVisibilityLocked()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerService.java | 5656 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in logAppTooSlow() local 5706 StrictMode.setThreadPolicy(oldPolicy); in logAppTooSlow()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 11628 final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in dumpWindow() local 11636 StrictMode.setThreadPolicy(oldPolicy); in dumpWindow()
|