Searched refs:mConsolidatedPolicy (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 470 mZenModeHelper.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS in testZenOff_NoMuteApplied() 484 mZenModeHelper.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS in testZenOn_NotificationApplied() 505 mZenModeHelper.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS in testZenOn_StarredCallers_CallTypesBlocked() 525 mZenModeHelper.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS in testZenOn_AllCallers_CallTypesAllowed() 543 mZenModeHelper.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied() 555 mZenModeHelper.mConsolidatedPolicy = new Policy(0, 0, 0, 0, 0, 0); in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied() 568 mZenModeHelper.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS in testTotalSilence() 587 mZenModeHelper.mConsolidatedPolicy = new Policy(0, 0, 0, 0, 0, 0); in testAlarmsOnly_alarmMediaMuteNotApplied() 607 mZenModeHelper.mConsolidatedPolicy = new Policy(0, 0, 0, 0, 0, 0); in testAlarmsOnly_callsMuteApplied() 621 mZenModeHelper.mConsolidatedPolicy = new Policy(0, 0, 0, 0, 0, 0); in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 189 @VisibleForTesting protected NotificationManager.Policy mConsolidatedPolicy; field in ZenModeHelper 234 mConsolidatedPolicy = mConfig.toNotificationPolicy(); in ZenModeHelper() 258 return ZenModeFiltering.matchesCallFilter(mContext, mZenMode, mConsolidatedPolicy, in matchesCallFilter() 278 return mFiltering.shouldIntercept(mZenMode, mConsolidatedPolicy, record); in shouldIntercept() 1618 pw.println("mConsolidatedPolicy=" + mConsolidatedPolicy.toString()); in dump() 1855 return mConsolidatedPolicy.copy(); in getConsolidatedNotificationPolicy() 1935 mZenMode, mConfig, mConsolidatedPolicy); in updateConfigAndZenModeLocked() 1964 mZenMode, mConfig, mConsolidatedPolicy); in updateConfigAndZenModeLocked() 1999 final int policyHashBefore = mConsolidatedPolicy == null ? 0 in evaluateZenModeLocked() 2000 : mConsolidatedPolicy.hashCode(); in evaluateZenModeLocked() [all …]
|