Searched refs:shouldIntercept (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeFilteringTest.java | 198 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 …]
|
D | ZenModeExtractorTest.java | 61 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/ |
D | ZenModeExtractor.java | 47 record.setIntercepted(mZenModeHelper.shouldIntercept(record)); in process()
|
D | ZenModeFiltering.java | 165 public boolean shouldIntercept(int zen, NotificationManager.Policy policy, in shouldIntercept() method in ZenModeFiltering
|
D | ZenModeHelper.java | 276 public boolean shouldIntercept(NotificationRecord record) { in shouldIntercept() method in ZenModeHelper 278 return mFiltering.shouldIntercept(mZenMode, mConsolidatedPolicy, record); in shouldIntercept()
|
D | NotificationManagerService.java | 9465 record.setIntercepted(mZenModeHelper.shouldIntercept(record));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSScrollLayout.java | 92 public boolean shouldIntercept(MotionEvent ev) { in shouldIntercept() method in QSScrollLayout
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewControllerTest.kt | 438 val shouldIntercept = interactionEventHandler.shouldInterceptTouchEvent(DOWN_EVENT) in shouldInterceptTouchEvent_statusBarKeyguardViewManagerShouldIntercept() constant 439 assertThat(shouldIntercept).isTrue() in shouldInterceptTouchEvent_statusBarKeyguardViewManagerShouldIntercept()
|
/frameworks/base/services/ |
D | art-wear-profile | 16554 PLcom/android/server/notification/ZenModeFiltering;->shouldIntercept(ILandroid/app/NotificationMana… 16618 PLcom/android/server/notification/ZenModeHelper;->shouldIntercept(Lcom/android/server/notification/…
|