Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java129 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_VisEffectsAllowed()
139 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_WrongId()
149 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_WrongPackage()
159 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_no()
160 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_ALARMS, policy, r)); in testSuppressDNDInfo_no()
161 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_no()
170 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_OFF, policy, r)); in testSuppressAnything_yes_ZenModeOff()
180 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressAnything_bypass_ZenModeOn()
183 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressAnything_bypass_ZenModeOn()
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.java47 record.setIntercepted(mZenModeHelper.shouldIntercept(record)); in process()
DZenModeFiltering.java120 public boolean shouldIntercept(int zen, NotificationManager.Policy policy, in shouldIntercept() method in ZenModeFiltering
DZenModeHelper.java172 public boolean shouldIntercept(NotificationRecord record) { in shouldIntercept() method in ZenModeHelper
174 return mFiltering.shouldIntercept(mZenMode, mConsolidatedPolicy, record); in shouldIntercept()
DNotificationManagerService.java6479 record.setIntercepted(mZenModeHelper.shouldIntercept(record));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSScrollLayout.java92 public boolean shouldIntercept(MotionEvent ev) { in shouldIntercept() method in QSScrollLayout
/frameworks/base/services/
Dart-profile9916 HSPLcom/android/server/notification/ZenModeFiltering;->shouldIntercept(ILandroid/app/NotificationMa…
9974 HSPLcom/android/server/notification/ZenModeHelper;->shouldIntercept(Lcom/android/server/notificatio…