Searched refs:shouldIntercept (Results 1 – 9 of 9) sorted by relevance
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ZenModeFilteringTest.java | 189 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_VisEffectsAllowed() 199 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_WrongId() 209 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_WrongPackage() 220 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_ALARMS, policy, r)); in testSuppressDNDInfo_no() 221 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_no() 230 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_OFF, policy, r)); in testSuppressAnything_yes_ZenModeOff() 240 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressAnything_bypass_ZenModeOn() 243 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressAnything_bypass_ZenModeOn() 296 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testConversation_importantAllowed_isNotImportant() 313 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testConversation_noneAllowed_notCallOrMsg() [all …]
|
H A 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()
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ZenModeExtractor.java | 47 record.setIntercepted(mZenModeHelper.shouldIntercept(record)); in process()
|
H A D | ZenModeFiltering.java | 150 public boolean shouldIntercept(int zen, NotificationManager.Policy policy, in shouldIntercept() method in ZenModeFiltering
|
H A D | ZenModeHelper.java | 213 public boolean shouldIntercept(NotificationRecord record) { in shouldIntercept() method in ZenModeHelper 215 return mFiltering.shouldIntercept(mZenMode, mConsolidatedPolicy, record); in shouldIntercept()
|
H A D | NotificationManagerService.java | 9071 record.setIntercepted(mZenModeHelper.shouldIntercept(record));
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSScrollLayout.java | 92 public boolean shouldIntercept(MotionEvent ev) { in shouldIntercept() method in QSScrollLayout
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
H A D | NotificationShadeWindowViewControllerTest.kt | 370 val shouldIntercept = interactionEventHandler.shouldInterceptTouchEvent(DOWN_EVENT) regex 371 assertThat(shouldIntercept).isTrue()
|
/aosp14/frameworks/base/services/ |
H A D | art-profile | 5392 HSPLcom/android/server/notification/ZenModeFiltering;->shouldIntercept(ILandroid/app/NotificationMa… 5394 HSPLcom/android/server/notification/ZenModeHelper;->shouldIntercept(Lcom/android/server/notificatio…
|