Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java198 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_VisEffectsAllowed()
208 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_WrongId()
218 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_WrongPackage()
228 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_no()
229 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_ALARMS, policy, r)); in testSuppressDNDInfo_no()
230 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_no()
239 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_OFF, policy, r)); in testSuppressAnything_yes_ZenModeOff()
249 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressAnything_bypass_ZenModeOn()
252 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressAnything_bypass_ZenModeOn()
270 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testConversation_allAllowed()
[all …]
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.java165 public boolean shouldIntercept(int zen, NotificationManager.Policy policy, in shouldIntercept() method in ZenModeFiltering
DZenModeHelper.java276 public boolean shouldIntercept(NotificationRecord record) { in shouldIntercept() method in ZenModeHelper
278 return mFiltering.shouldIntercept(mZenMode, mConsolidatedPolicy, record); in shouldIntercept()
DNotificationManagerService.java9465 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/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationShadeWindowViewControllerTest.kt438 val shouldIntercept = interactionEventHandler.shouldInterceptTouchEvent(DOWN_EVENT) in shouldInterceptTouchEvent_statusBarKeyguardViewManagerShouldIntercept() constant
439 assertThat(shouldIntercept).isTrue() in shouldInterceptTouchEvent_statusBarKeyguardViewManagerShouldIntercept()
/frameworks/base/services/
Dart-wear-profile16554 PLcom/android/server/notification/ZenModeFiltering;->shouldIntercept(ILandroid/app/NotificationMana…
16618 PLcom/android/server/notification/ZenModeHelper;->shouldIntercept(Lcom/android/server/notification/…