Home
last modified time | relevance | path

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

/packages/modules/ExtServices/src/android/ext/services/notification/
DChannelImpressions.java63 public int getStreak() { in getStreak() method in ChannelImpressions
98 mStreak += additionalImpressions.getStreak(); in append()
116 Log.d(TAG, "should trigger? " + getDismissals() + " " + getViews() + " " + getStreak()); in shouldTriggerBlock()
119 && getStreak() > mStreakLimit; in shouldTriggerBlock()
DAssistant.java343 if (ci.getStreak() > 0) { in onNotificationRemoved()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DChannelImpressionsTest.java103 assertEquals(2, ci.getStreak()); in testAppend()
107 assertEquals(1, ci2.getStreak()); in testAppend()
DAssistantTest.java372 assertEquals(2, c1.getStreak()); in testReadXml()
377 assertEquals(3, c1a.getStreak()); in testReadXml()
382 assertEquals(7, c2.getStreak()); in testReadXml()