Home
last modified time | relevance | path

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

/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DChannelImpressionsTest.java20 import static android.ext.services.notification.ChannelImpressions.DEFAULT_STREAK_LIMIT;
41 for (int i = 0; i < DEFAULT_STREAK_LIMIT - 1; i++) { in testNoStreakNoBlock()
53 for (int i = 0; i < DEFAULT_STREAK_LIMIT; i++) { in testNoStreakNoBlock_breakStreak()
56 if (i == DEFAULT_STREAK_LIMIT - 1) { in testNoStreakNoBlock_breakStreak()
68 for (int i = 0; i <= DEFAULT_STREAK_LIMIT; i++) { in testStreakBlock()
80 for (int i = 0; i < DEFAULT_STREAK_LIMIT; i++) { in testRatio_NoBlockEvenWithStreak()
115 int updatedStreakLimit = DEFAULT_STREAK_LIMIT + 3; in testUpdateThresholds_streakLimitsCorrectlyApplied()
140 ci.updateThresholds(updatedDismissRatio, DEFAULT_STREAK_LIMIT); in testUpdateThresholds_ratioLimitsCorrectlyApplied()
143 for (int i = 0; i <= DEFAULT_STREAK_LIMIT; i++) { in testUpdateThresholds_ratioLimitsCorrectlyApplied()
145 if (i != DEFAULT_STREAK_LIMIT) { in testUpdateThresholds_ratioLimitsCorrectlyApplied()
[all …]
DAssistantTest.java160 for (int i = 0; i < ChannelImpressions.DEFAULT_STREAK_LIMIT; i++) { in almostBlockChannel()
/packages/modules/ExtServices/src/android/ext/services/notification/
DChannelImpressions.java36 static final int DEFAULT_STREAK_LIMIT = 2; field in ChannelImpressions
52 mStreakLimit = DEFAULT_STREAK_LIMIT; in ChannelImpressions()
DAssistantSettings.java160 ChannelImpressions.DEFAULT_STREAK_LIMIT); in update()