Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAttentionHelperTest.java245 private void initAttentionHelper(TestableFlagResolver flagResolver) { in initAttentionHelper() argument
248 mService.mNotificationManagerPrivate, mock(ZenModeHelper.class), flagResolver); in initAttentionHelper()
2146 TestableFlagResolver flagResolver = new TestableFlagResolver(); in testBeepVolume_politeNotif() local
2147 flagResolver.setFlagOverride(NotificationFlags.NOTIF_VOLUME1, 50); in testBeepVolume_politeNotif()
2148 flagResolver.setFlagOverride(NotificationFlags.NOTIF_VOLUME2, 0); in testBeepVolume_politeNotif()
2149 initAttentionHelper(flagResolver); in testBeepVolume_politeNotif()
2177 TestableFlagResolver flagResolver = new TestableFlagResolver(); in testBeepVolume_politeNotif_AvalancheStrategy() local
2178 flagResolver.setFlagOverride(NotificationFlags.NOTIF_VOLUME1, 50); in testBeepVolume_politeNotif_AvalancheStrategy()
2179 flagResolver.setFlagOverride(NotificationFlags.NOTIF_VOLUME2, 0); in testBeepVolume_politeNotif_AvalancheStrategy()
2180 initAttentionHelper(flagResolver); in testBeepVolume_politeNotif_AvalancheStrategy()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java173 ZenModeHelper zenModeHelper, SystemUiSystemPropertiesFlags.FlagResolver flagResolver) { in NotificationAttentionHelper() argument
182 mFlagResolver = flagResolver; in NotificationAttentionHelper()
DZenModeHelper.java214 SystemUiSystemPropertiesFlags.FlagResolver flagResolver, in ZenModeHelper() argument
241 mFlagResolver = flagResolver; in ZenModeHelper()
DNotificationManagerService.java2400 SystemUiSystemPropertiesFlags.FlagResolver flagResolver, in init() argument
2450 mConditionProviders, flagResolver, new ZenModeEventLogger(mPackageManagerClient)); in init()
2570 mFlagResolver = flagResolver; in init()
2578 mNotificationManagerPrivate, mZenModeHelper, flagResolver); in init()