Home
last modified time | relevance | path

Searched refs:mZenModeEventLogger (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java275 ZenModeEventLoggerFake mZenModeEventLogger; field in ZenModeHelperTest
317 mZenModeEventLogger = new ZenModeEventLoggerFake(mPackageManager); in setUp()
319 mConditionProviders, mTestFlagResolver, mZenModeEventLogger); in setUp()
339 mZenModeEventLogger.reset(); in setUp()
3040 assertEquals(2, mZenModeEventLogger.numLoggedChanges()); in testZenModeEventLog_setManualZenMode()
3054 mZenModeEventLogger.getEventId(0)); in testZenModeEventLog_setManualZenMode()
3055 assertEquals(ZEN_MODE_OFF, mZenModeEventLogger.getPrevZenMode(0)); in testZenModeEventLog_setManualZenMode()
3056 assertEquals(ZEN_MODE_IMPORTANT_INTERRUPTIONS, mZenModeEventLogger.getNewZenMode(0)); in testZenModeEventLog_setManualZenMode()
3057 assertEquals(DNDProtoEnums.MANUAL_RULE, mZenModeEventLogger.getChangedRuleType(0)); in testZenModeEventLog_setManualZenMode()
3058 assertEquals(1, mZenModeEventLogger.getNumRulesActive(0)); in testZenModeEventLog_setManualZenMode()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java186 private final ZenModeEventLogger mZenModeEventLogger; field in ZenModeHelper
242 mZenModeEventLogger = zenModeEventLogger; in ZenModeHelper()
1965 mZenModeEventLogger.maybeLogZenChange(prevInfo, newInfo, callingUid, in updateConfigAndZenModeLocked()