Home
last modified time | relevance | path

Searched refs:ZEN_MODE (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeBehaviorFooterPreferenceControllerTest.java19 import static android.provider.Settings.Global.ZEN_MODE;
103 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in totalSilence_footerIsAvailable()
109 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in alarmsOnly_footerIsAvailable()
115 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in priorityOnly_footerIsAvailable()
121 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF); in zenModeOff_footerIsAvailable()
127 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF); in zenModeOff_updateState_noFooterTitle()
135 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in zenModeImportantInterruptions_updateState_noFooterTitle()
143 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in deprecatedZenModeAlarms_qsManualRule_setFooterTitle()
157 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in deprecatedZenModeAlarms_appManualRule_setFooterTitle()
173 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in deprecatedZenModeNoInterruptions_qsManualRule_setFooterTitle()
[all …]
DZenModeSettingsFooterPreferenceControllerTest.java19 import static android.provider.Settings.Global.ZEN_MODE;
107 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in totalSilence_footerIsAvailable()
113 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in alarmsOnly_footerIsAvailable()
119 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in priorityOnly_footerIsAvailable()
125 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF); in zenModeOff_footerIsNotAvailable()
131 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_app_manualRule_setFooterTitle()
142 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_time_manualRule_setFooterTitle()
153 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_forever_manualRule_setFooterTitle()
163 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_automaticRule_noManualRule_setFooterTitle()
179 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_manualRuleEndsLast_hasAutomaticRule_setFooterTitle()
[all …]
DZenModeButtonPreferenceControllerTest.java19 import static android.provider.Settings.Global.ZEN_MODE;
99 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in updateState_TotalSilence()
108 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in updateState_AlarmsOnly()
117 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateState_Priority()
126 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF); in updateState_ZenOff()
135 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF); in updateState_otherUserChangedZen()
140 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateState_otherUserChangedZen()
143 Settings.Global.getUriFor(Settings.Global.ZEN_MODE), GUEST_USER_ID); in updateState_otherUserChangedZen()
DZenModeBypassingAppsPreferenceControllerTest.java70 Settings.Global.ZEN_MODE, in setup()
77 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.ZEN_MODE, in tearDown()
89 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.ZEN_MODE, in testUpdateBypassingApps()
119 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.ZEN_MODE, in testUpdateBypassingApps_multipleApps()
160 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.ZEN_MODE, in testUpdateBypassingApps_conversation()
194 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.ZEN_MODE, in testUpdateBypassingApps_demotedConversation()
227 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.ZEN_MODE, in testUpdateAppsBypassingDnd_nullAppsList()
241 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.ZEN_MODE, in testUpdateAppsBypassingDnd_emptyAppsList()
255 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.ZEN_MODE, in testUpdateAppsBypassingDnd_alarmsOnly()
DZenModeRepeatCallersPreferenceControllerTest.java19 import static android.provider.Settings.Global.ZEN_MODE;
90 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in updateState_TotalSilence()
100 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in updateState_AlarmsOnly()
111 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateState_Priority()
125 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateState_Priority_anyCallers()
DZenModeSystemPreferenceControllerTest.java19 import static android.provider.Settings.Global.ZEN_MODE;
86 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in updateState_TotalSilence()
97 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in updateState_AlarmsOnly()
108 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateState_Priority()
DZenModeEventsPreferenceControllerTest.java19 import static android.provider.Settings.Global.ZEN_MODE;
90 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in updateState_TotalSilence()
101 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in updateState_AlarmsOnly()
112 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateState_Priority()
DZenModeMediaPreferenceControllerTest.java19 import static android.provider.Settings.Global.ZEN_MODE;
90 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in updateState_TotalSilence()
101 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in updateState_AlarmsOnly()
112 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateState_Priority()
DZenModeAlarmsPreferenceControllerTest.java19 import static android.provider.Settings.Global.ZEN_MODE;
91 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in updateState_TotalSilence()
102 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in updateState_AlarmsOnly()
113 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateState_Priority()
DZenModeRemindersPreferenceControllerTest.java19 import static android.provider.Settings.Global.ZEN_MODE;
91 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in updateState_TotalSilence()
102 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in updateState_AlarmsOnly()
113 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateState_Priority()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeIconPickerListPreferenceControllerTest.java50 private static final ZenMode ZEN_MODE = new ZenMode( field in ZenModeIconPickerListPreferenceControllerTest
87 mController.setZenMode(ZEN_MODE); in selectIcon_updatesMode()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeSettingsBase.java99 final int zenMode = Settings.Global.getInt(getContentResolver(), Global.ZEN_MODE, mZenMode); in updateZenMode()
106 private final Uri ZEN_MODE_URI = Global.getUriFor(Global.ZEN_MODE);
DAbstractZenModePreferenceController.java118 return Settings.Global.getInt(mContext.getContentResolver(), Settings.Global.ZEN_MODE, in getZenMode()
128 private final Uri ZEN_MODE_URI = Settings.Global.getUriFor(Settings.Global.ZEN_MODE);
DZenModePreferenceController.java96 private final Uri ZEN_MODE_URI = Settings.Global.getUriFor(Settings.Global.ZEN_MODE);
DZenModeBackend.java94 Settings.Global.ZEN_MODE, mZenMode); in updateZenMode()
129 Settings.Global.ZEN_MODE, mZenMode); in getZenMode()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModesFragmentBase.java91 private static final Uri ZEN_MODE_URI = Global.getUriFor(Global.ZEN_MODE);