Home
last modified time | relevance | path

Searched refs:shouldTriggerBlock (Results 1 – 4 of 4) sorted by relevance

/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DChannelImpressionsTest.java34 assertFalse(ci.shouldTriggerBlock()); in testNoResultNoBlock()
46 assertFalse(ci.shouldTriggerBlock()); in testNoStreakNoBlock()
61 assertFalse(ci.shouldTriggerBlock()); in testNoStreakNoBlock_breakStreak()
73 assertTrue(ci.shouldTriggerBlock()); in testStreakBlock()
86 assertFalse(ci.shouldTriggerBlock()); in testRatio_NoBlockEvenWithStreak()
132 assertTrue(ci.shouldTriggerBlock()); in testUpdateThresholds_streakLimitsCorrectlyApplied()
133 assertFalse(ci2.shouldTriggerBlock()); in testUpdateThresholds_streakLimitsCorrectlyApplied()
158 assertFalse(ci.shouldTriggerBlock()); in testUpdateThresholds_ratioLimitsCorrectlyApplied()
159 assertTrue(ci2.shouldTriggerBlock()); in testUpdateThresholds_ratioLimitsCorrectlyApplied()
DAssistantTest.java440 assertEquals(false, ci.shouldTriggerBlock()); in testSettingsProviderUpdate()
450 assertEquals(true, ci.shouldTriggerBlock()); in testSettingsProviderUpdate()
/packages/modules/ExtServices/src/android/ext/services/notification/
DAssistant.java296 boolean shouldTriggerBlock;
301 shouldTriggerBlock = ci.shouldTriggerBlock();
303 if (ranking.getImportance() > IMPORTANCE_MIN && shouldTriggerBlock) {
DChannelImpressions.java111 public boolean shouldTriggerBlock() { in shouldTriggerBlock() method in ChannelImpressions