Home
last modified time | relevance | path

Searched refs:KEY_NONE (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModePrioritySendersPreferenceControllerTest.java34 …static com.android.settings.notification.modes.ZenModePrioritySendersPreferenceController.KEY_NONE;
160 endState = mMessagesController.keyToSettingEndState(KEY_NONE, true); in testKeyToSettingEndState_messagesCheck()
189 endState = mMessagesController.keyToSettingEndState(KEY_NONE, false); in testKeyToSettingEndState_messagesUncheck()
219 endState = mCallsController.keyToSettingEndState(KEY_NONE, true); in testKeyToSettingEndState_callsCheck()
244 endState = mCallsController.keyToSettingEndState(KEY_NONE, false); in testKeyToSettingEndState_callsUncheck()
269 KEY_NONE, true, PEOPLE_TYPE_ANYONE, CONVERSATION_SENDERS_ANYONE); in testSettingsToSaveOnClick_messagesCheck()
303 KEY_NONE, false, PEOPLE_TYPE_NONE, CONVERSATION_SENDERS_NONE); in testSettingsToSaveOnClick_messagesUncheck()
338 KEY_NONE, true, PEOPLE_TYPE_CONTACTS, CONVERSATION_SENDERS_IMPORTANT); in testSettingsToSaveOnClick_callsCheck()
367 KEY_NONE, false, PEOPLE_TYPE_NONE, CONVERSATION_SENDERS_NONE); in testSettingsToSaveOnClick_callsUncheck()
394 KEY_NONE, true, PEOPLE_TYPE_NONE, CONVERSATION_SENDERS_NONE); in testSettingsToSave_messages_noChange()
[all …]
DZenModeAppsPreferenceControllerTest.java24 import static com.android.settings.notification.modes.ZenModeAppsPreferenceController.KEY_NONE;
83 mNoneController = new ZenModeAppsPreferenceController(mContext, KEY_NONE, mBackend); in setup()
88 mNonePref = makePreference(KEY_NONE, mNoneController); in setup()
241 assertThat(((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_NONE)) in testPreferenceClick_passesCorrectCheckedState_All()
259 assertThat(!((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_NONE)) in testPreferenceClick_passesCorrectCheckedState_All()
281 assertThat(!((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_NONE)) in testPreferenceClick_passesCorrectCheckedState_None()
287 mPrefCategory.findPreference(KEY_NONE).performClick(); in testPreferenceClick_passesCorrectCheckedState_None()
297 assertThat(((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_NONE)) in testPreferenceClick_passesCorrectCheckedState_None()
319 assertThat(((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_NONE)) in testPreferenceClick_passesCorrectCheckedState_Priority()
339 assertThat(!((SelectorWithWidgetPreference) mPrefCategory.findPreference(KEY_NONE)) in testPreferenceClick_passesCorrectCheckedState_Priority()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenPrioritySendersHelper.java66 static final String KEY_NONE = "senders_none"; field in ZenPrioritySendersHelper
123 makeSelectorPreference(KEY_NONE, in displayPreference()
172 case KEY_NONE: in keyToSettingEndState()
182 case KEY_NONE: in keyToSettingEndState()
198 case KEY_NONE: in keyToSettingEndState()
211 case KEY_NONE: in keyToSettingEndState()
296 case KEY_NONE: in getSummary()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModePrioritySendersPreferenceController.java73 static final String KEY_NONE = "senders_none"; field in ZenModePrioritySendersPreferenceController
123 makeSelectorPreference(KEY_NONE, in displayPreference()
275 case KEY_NONE:
285 case KEY_NONE:
301 case KEY_NONE:
314 case KEY_NONE:
399 case KEY_NONE:
DZenModeAppsPreferenceController.java40 static final String KEY_NONE = "zen_mode_apps_none"; field in ZenModeAppsPreferenceController
77 case KEY_NONE: in updateState()
97 case KEY_NONE: in onPreferenceChange()
DZenModeAppsFragment.java39 context, ZenModeAppsPreferenceController.KEY_NONE, mBackend)); in createPreferenceControllers()
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/zen/
DZenPrioritySendersHelperTest.java30 import static com.android.settings.notification.zen.ZenPrioritySendersHelper.KEY_NONE;
214 endState = messagesHelper.keyToSettingEndState(KEY_NONE, true); in testKeyToSettingEndState_messagesCheck()
244 endState = messagesHelper.keyToSettingEndState(KEY_NONE, false); in testKeyToSettingEndState_messagesUncheck()
275 endState = callsHelper.keyToSettingEndState(KEY_NONE, true); in testKeyToSettingEndState_callsCheck()
301 endState = callsHelper.keyToSettingEndState(KEY_NONE, false); in testKeyToSettingEndState_callsUncheck()
329 SelectorWithWidgetPreference nonePref = makePreference(KEY_NONE, false); in testSettingsToSave_messagesNone()
518 SelectorWithWidgetPreference nonePref = makePreference(KEY_NONE, false); in testSettingsToSave_calls()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModePrioritySendersPreferenceControllerTest.java30 import static com.android.settings.notification.zen.ZenPrioritySendersHelper.KEY_NONE;
148 SelectorWithWidgetPreference nonePref = makePreference(KEY_NONE, true, true); in clickPreference_MessagesUnset()
DZenRulePrioritySendersPreferenceControllerTest.java28 import static com.android.settings.notification.zen.ZenPrioritySendersHelper.KEY_NONE;
159 SelectorWithWidgetPreference nonePref = makePreference(KEY_NONE, true, true); in clickPreference_MessagesUnset()