Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/
DLayoutValidatorTests.java101 ValidatorData.Policy newPolicy = new ValidatorData.Policy( in testValidationPolicyType() local
104 LayoutValidator.updatePolicy(newPolicy); in testValidationPolicyType()
119 ValidatorData.Policy newPolicy = new ValidatorData.Policy( in testValidationPolicyLevel() local
122 LayoutValidator.updatePolicy(newPolicy); in testValidationPolicyLevel()
145 ValidatorData.Policy newPolicy = new ValidatorData.Policy( in testValidationPolicyChecks() local
148 newPolicy.mChecks.addAll(filtered); in testValidationPolicyChecks()
149 LayoutValidator.updatePolicy(newPolicy); in testValidationPolicyChecks()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java121 void uidPolicyChanged(int uid, int oldPolicy, int newPolicy) { in uidPolicyChanged() argument
125 getPolicyChangedLog(uid, oldPolicy, newPolicy)); in uidPolicyChanged()
127 mEventsBuffer.uidPolicyChanged(uid, oldPolicy, newPolicy); in uidPolicyChanged()
295 private static String getPolicyChangedLog(int uid, int oldPolicy, int newPolicy) { in getPolicyChangedLog() argument
298 + NetworkPolicyManager.uidPoliciesToString(newPolicy); in getPolicyChangedLog()
416 public void uidPolicyChanged(int uid, int oldPolicy, int newPolicy) { in uidPolicyChanged() argument
424 data.ifield3 = newPolicy; in uidPolicyChanged()
DNetworkPolicyManagerService.java2573 final int newPolicy = policy | POLICY_ALLOW_METERED_BACKGROUND;
2575 Log.v(TAG, "new policy for " + uid + ": " + uidPoliciesToString(newPolicy)); in Log.v() argument
2576 setUidPolicyUncheckedUL(uid, newPolicy, false); in setUidPolicyUncheckedUL() argument
/frameworks/base/core/jni/
Dandroid_os_Parcel.cpp691 const int32_t newPolicy = threadState->getStrictModePolicy(); in android_os_Parcel_enforceInterface() local
692 if (oldPolicy != newPolicy) { in android_os_Parcel_enforceInterface()
700 set_dalvik_blockguard_policy(env, newPolicy); in android_os_Parcel_enforceInterface()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1022 Policy newPolicy = mConfig.toNotificationPolicy(policy); in updateConsolidatedPolicy() local
1023 if (!Objects.equals(mConsolidatedPolicy, newPolicy)) { in updateConsolidatedPolicy()
1024 mConsolidatedPolicy = newPolicy; in updateConsolidatedPolicy()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java1978 private void logDisplayPolicyChanged(int newPolicy) { in logDisplayPolicyChanged() argument
1981 log.setSubtype(newPolicy); in logDisplayPolicyChanged()
/frameworks/base/core/java/android/os/
DStrictMode.java2519 private static void onBinderStrictModePolicyChange(@ThreadPolicyMask int newPolicy) { in onBinderStrictModePolicyChange() argument
2520 setBlockGuardPolicy(newPolicy); in onBinderStrictModePolicyChange()