Home
last modified time | relevance | path

Searched refs:newPolicy (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java106 void uidPolicyChanged(int uid, int oldPolicy, int newPolicy) { in uidPolicyChanged() argument
108 if (LOGV) Slog.v(TAG, getPolicyChangedLog(uid, oldPolicy, newPolicy)); in uidPolicyChanged()
109 mEventsBuffer.uidPolicyChanged(uid, oldPolicy, newPolicy); in uidPolicyChanged()
244 private static String getPolicyChangedLog(int uid, int oldPolicy, int newPolicy) { in getPolicyChangedLog() argument
247 + NetworkPolicyManager.uidPoliciesToString(newPolicy); in getPolicyChangedLog()
359 public void uidPolicyChanged(int uid, int oldPolicy, int newPolicy) { in uidPolicyChanged() argument
367 data.ifield3 = newPolicy; in uidPolicyChanged()
DNetworkPolicyManagerService.java2343 final int newPolicy = policy | POLICY_ALLOW_METERED_BACKGROUND; in readPolicyAL() local
2345 Log.v(TAG, "new policy for " + uid + ": " + uidPoliciesToString(newPolicy)); in readPolicyAL()
2346 setUidPolicyUncheckedUL(uid, newPolicy, false); in readPolicyAL()
/frameworks/base/core/jni/
Dandroid_os_Parcel.cpp633 const int32_t newPolicy = threadState->getStrictModePolicy(); in android_os_Parcel_enforceInterface() local
634 if (oldPolicy != newPolicy) { in android_os_Parcel_enforceInterface()
642 set_dalvik_blockguard_policy(env, newPolicy); in android_os_Parcel_enforceInterface()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java974 Policy newPolicy = mConfig.toNotificationPolicy(policy); in updateConsolidatedPolicy() local
975 if (!Objects.equals(mConsolidatedPolicy, newPolicy)) { in updateConsolidatedPolicy()
976 mConsolidatedPolicy = newPolicy; in updateConsolidatedPolicy()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java1571 private void logDisplayPolicyChanged(int newPolicy) {
1574 log.setSubtype(newPolicy);
/frameworks/base/core/java/android/os/
DStrictMode.java2296 private static void onBinderStrictModePolicyChange(@ThreadPolicyMask int newPolicy) { in onBinderStrictModePolicyChange() argument
2297 setBlockGuardPolicy(newPolicy); in onBinderStrictModePolicyChange()