Home
last modified time | relevance | path

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

/packages/modules/ExtServices/src/android/ext/services/notification/
DChannelImpressions.java71 public int getViews() { in getViews() method in ChannelImpressions
97 mViews += additionalImpressions.getViews(); in append()
112 if (getViews() == 0) { in shouldTriggerBlock()
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.java101 assertEquals(3, ci.getViews()); in testAppend()
105 assertEquals(2, ci2.getViews()); in testAppend()
DAssistantTest.java373 assertEquals(5, c1.getViews()); in testReadXml()
378 assertEquals(10, c1a.getViews()); in testReadXml()
383 assertEquals(77, c2.getViews()); in testReadXml()