Home
last modified time | relevance | path

Searched refs:mStreakLimit (Results 1 – 5 of 5) sorted by relevance

/packages/modules/ExtServices/src/android/ext/services/notification/
DChannelImpressions.java48 private int mStreakLimit; field in ChannelImpressions
52 mStreakLimit = DEFAULT_STREAK_LIMIT; in ChannelImpressions()
60 mStreakLimit = in.readInt(); in ChannelImpressions()
82 mStreakLimit = streakLimit; in updateThresholds()
92 return mStreakLimit; in getStreakLimit()
119 && getStreak() > mStreakLimit; in shouldTriggerBlock()
128 dest.writeInt(mStreakLimit); in writeToParcel()
175 sb.append(",").append(mStreakLimit); in toString()
DAssistantSettings.java61 int mStreakLimit; field in AssistantSettings
158 mStreakLimit = Settings.Global.getInt( in update()
DAssistant.java501 impressions.updateThresholds(mSettings.mDismissToViewRatioLimit, mSettings.mStreakLimit); in createChannelImpressionsWithThresholds()
510 mSettings.mDismissToViewRatioLimit, mSettings.mStreakLimit); in updateThresholds()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DAssistantTest.java124 mAssistant.mSettings.mStreakLimit = 2; in setUp()
444 mAssistant.mSettings.mStreakLimit = 0; in testSettingsProviderUpdate()
DAssistantSettingsTest.java228 assertEquals(newStreakLimit, mAssistantSettings.mStreakLimit); in testStreakLimit()