Home
last modified time | relevance | path

Searched refs:getDismissals (Results 1 – 3 of 3) sorted by relevance

/packages/modules/ExtServices/src/android/ext/services/notification/
DChannelImpressions.java67 public int getDismissals() { in getDismissals() method in ChannelImpressions
99 mDismissals += additionalImpressions.getDismissals(); in append()
116 Log.d(TAG, "should trigger? " + getDismissals() + " " + getViews() + " " + getStreak()); in shouldTriggerBlock()
118 return ((float) getDismissals() / getViews()) > mDismissToViewRatioLimit in shouldTriggerBlock()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DChannelImpressionsTest.java102 assertEquals(2, ci.getDismissals()); in testAppend()
106 assertEquals(1, ci2.getDismissals()); in testAppend()
DAssistantTest.java374 assertEquals(9, c1.getDismissals()); in testReadXml()
379 assertEquals(99, c1a.getDismissals()); in testReadXml()
384 assertEquals(777, c2.getDismissals()); in testReadXml()