Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java128 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, config, r)); in testSuppressDNDInfo_yes_VisEffectsAllowed()
139 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, config, r)); in testSuppressDNDInfo_yes_WrongId()
150 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, config, r)); in testSuppressDNDInfo_yes_WrongPackage()
161 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, config, r)); in testSuppressDNDInfo_no()
162 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_ALARMS, config, r)); in testSuppressDNDInfo_no()
163 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, config, r)); in testSuppressDNDInfo_no()
172 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_OFF, config, r)); in testSuppressAnything_yes_ZenModeOff()
DZenModeExtractorTest.java61 when(mZenModeHelper.shouldIntercept(any())).thenReturn(true); in testExtractIntercepted()
76 when(mZenModeHelper.shouldIntercept(any())).thenReturn(false); in testExtractVisualDisturbancesNotIntercepted()
91 when(mZenModeHelper.shouldIntercept(any())).thenReturn(true); in testExtractVisualDisturbancesIntercepted()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeExtractor.java50 record.setIntercepted(mZenModeHelper.shouldIntercept(record)); in process()
DZenModeFiltering.java119 public boolean shouldIntercept(int zen, ZenModeConfig config, NotificationRecord record) { in shouldIntercept() method in ZenModeFiltering
DZenModeHelper.java170 public boolean shouldIntercept(NotificationRecord record) { in shouldIntercept() method in ZenModeHelper
172 return mFiltering.shouldIntercept(mZenMode, mConfig, record); in shouldIntercept()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSScrollLayout.java91 public boolean shouldIntercept(MotionEvent ev) { in shouldIntercept() method in QSScrollLayout