/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeBehaviorFooterPreferenceControllerTest.java | 19 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 …]
|
D | ZenModeSettingsFooterPreferenceControllerTest.java | 19 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 …]
|
D | ZenModeButtonPreferenceControllerTest.java | 19 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()
|
D | ZenModeBypassingAppsPreferenceControllerTest.java | 70 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()
|
D | ZenModeRepeatCallersPreferenceControllerTest.java | 19 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()
|
D | ZenModeSystemPreferenceControllerTest.java | 19 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()
|
D | ZenModeEventsPreferenceControllerTest.java | 19 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()
|
D | ZenModeMediaPreferenceControllerTest.java | 19 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()
|
D | ZenModeAlarmsPreferenceControllerTest.java | 19 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()
|
D | ZenModeRemindersPreferenceControllerTest.java | 19 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/ |
D | ZenModeIconPickerListPreferenceControllerTest.java | 50 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/ |
D | ZenModeSettingsBase.java | 99 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);
|
D | AbstractZenModePreferenceController.java | 118 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);
|
D | ZenModePreferenceController.java | 96 private final Uri ZEN_MODE_URI = Settings.Global.getUriFor(Settings.Global.ZEN_MODE);
|
D | ZenModeBackend.java | 94 Settings.Global.ZEN_MODE, mZenMode); in updateZenMode() 129 Settings.Global.ZEN_MODE, mZenMode); in getZenMode()
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | ZenModesFragmentBase.java | 91 private static final Uri ZEN_MODE_URI = Global.getUriFor(Global.ZEN_MODE);
|