Home
last modified time | relevance | path

Searched refs:getZenModeConfig (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModesBackendTest.java140 when(mNm.getZenModeConfig()).thenReturn(new ZenModeConfig()); in setup()
157 when(mNm.getZenModeConfig()).thenReturn(config); in getModes_containsManualDndAndZenRules()
183 when(mNm.getZenModeConfig()).thenReturn(config); in getMode_manualDnd_returnsMode()
226 when(mNm.getZenModeConfig()).thenReturn(configWithActiveRule); in getMode_manualDnd_returnsCorrectActiveState()
234 when(mNm.getZenModeConfig()).thenReturn(configWithManualRule(configWithActiveRule, true)); in getMode_manualDnd_returnsCorrectActiveState()
248 when(mNm.getZenModeConfig()).thenReturn( in getMode_zenRule_returnsCorrectActiveState()
255 when(mNm.getZenModeConfig()).thenReturn( in getMode_zenRule_returnsCorrectActiveState()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DAbstractZenModePreferenceController.java113 protected ZenModeConfig getZenModeConfig() { in getZenModeConfig() method in AbstractZenModePreferenceController
114 return mNotificationManager.getZenModeConfig(); in getZenModeConfig()
DZenModeBehaviorFooterPreferenceController.java59 ZenModeConfig config = getZenModeConfig(); in getFooterText()
DZenModeSettingsFooterPreferenceController.java88 ZenModeConfig config = getZenModeConfig(); in getFooterText()
DZenModeSettings.java193 ZenModeConfig config = NotificationManager.from(mContext).getZenModeConfig(); in getSoundSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowNotificationManager.java52 public ZenModeConfig getZenModeConfig() { in getZenModeConfig() method in ShadowNotificationManager
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModesBackend.java80 ZenModeConfig currentConfig = mNotificationManager.getZenModeConfig(); in getModes()
104 ZenModeConfig currentConfig = mNotificationManager.getZenModeConfig(); in getMode()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DDndConditionCardController.java124 if (ZenModeConfig.areAllZenBehaviorSoundsMuted(mNotificationManager.getZenModeConfig())) { in getSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeBehaviorFooterPreferenceControllerTest.java90 when(mNotificationManager.getZenModeConfig()).thenReturn(mZenModeConfig); in setup()
DZenModeSettingsFooterPreferenceControllerTest.java94 when(mNotificationManager.getZenModeConfig()).thenReturn(mZenModeConfig); in setup()