Home
last modified time | relevance | path

Searched refs:KEY_CONTACTS (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenPrioritySendersHelper.java63 static final String KEY_CONTACTS = "senders_contacts"; field in ZenPrioritySendersHelper
114 makeSelectorPreference(KEY_CONTACTS, in displayPreference()
170 case KEY_CONTACTS: in keyToSettingEndState()
192 case KEY_CONTACTS: in keyToSettingEndState()
275 if ((preference.getKey() == KEY_STARRED || preference.getKey() == KEY_CONTACTS) in settingsToSaveOnClick()
288 case KEY_CONTACTS: in getSummary()
351 if (!KEY_CONTACTS.equals(key) && !KEY_STARRED.equals(key) && !KEY_IMPORTANT.equals(key)) { in getWidgetClickListener()
359 if (KEY_CONTACTS.equals(key) && !isContactsIntentValid()) { in getWidgetClickListener()
369 } else if (KEY_CONTACTS.equals(key) in getWidgetClickListener()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModePrioritySendersPreferenceController.java70 static final String KEY_CONTACTS = "senders_contacts"; field in ZenModePrioritySendersPreferenceController
115 makeSelectorPreference(KEY_CONTACTS, in displayPreference()
213 if (!KEY_CONTACTS.equals(key) && !KEY_STARRED.equals(key) && !KEY_IMPORTANT.equals(key)) { in getWidgetClickListener()
221 if (KEY_CONTACTS.equals(key) && !isContactsIntentValid()) { in getWidgetClickListener()
229 } else if (KEY_CONTACTS.equals(key) in getWidgetClickListener()
273 case KEY_CONTACTS:
295 case KEY_CONTACTS:
378 if ((key.equals(KEY_STARRED) || key.equals(KEY_CONTACTS))
391 case KEY_CONTACTS:
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModePrioritySendersPreferenceControllerTest.java32 …ic com.android.settings.notification.modes.ZenModePrioritySendersPreferenceController.KEY_CONTACTS;
174 endState = mMessagesController.keyToSettingEndState(KEY_CONTACTS, true); in testKeyToSettingEndState_messagesCheck()
203 endState = mMessagesController.keyToSettingEndState(KEY_CONTACTS, false); in testKeyToSettingEndState_messagesUncheck()
233 endState = mCallsController.keyToSettingEndState(KEY_CONTACTS, true); in testKeyToSettingEndState_callsCheck()
258 endState = mCallsController.keyToSettingEndState(KEY_CONTACTS, false); in testKeyToSettingEndState_callsUncheck()
286 KEY_CONTACTS, true, PEOPLE_TYPE_NONE, CONVERSATION_SENDERS_NONE); in testSettingsToSaveOnClick_messagesCheck()
320 KEY_CONTACTS, false, PEOPLE_TYPE_CONTACTS, CONVERSATION_SENDERS_IMPORTANT); in testSettingsToSaveOnClick_messagesUncheck()
355 KEY_CONTACTS, true, PEOPLE_TYPE_STARRED, CONVERSATION_SENDERS_IMPORTANT); in testSettingsToSaveOnClick_callsCheck()
384 KEY_CONTACTS, false, PEOPLE_TYPE_CONTACTS, CONVERSATION_SENDERS_IMPORTANT); in testSettingsToSaveOnClick_callsUncheck()
408 KEY_CONTACTS, true, PEOPLE_TYPE_CONTACTS, CONVERSATION_SENDERS_ANYONE); in testSettingsToSave_messages_noChange()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/zen/
DZenPrioritySendersHelperTest.java28 import static com.android.settings.notification.zen.ZenPrioritySendersHelper.KEY_CONTACTS;
228 endState = messagesHelper.keyToSettingEndState(KEY_CONTACTS, true); in testKeyToSettingEndState_messagesCheck()
258 endState = messagesHelper.keyToSettingEndState(KEY_CONTACTS, false); in testKeyToSettingEndState_messagesUncheck()
289 endState = callsHelper.keyToSettingEndState(KEY_CONTACTS, true); in testKeyToSettingEndState_callsCheck()
315 endState = callsHelper.keyToSettingEndState(KEY_CONTACTS, false); in testKeyToSettingEndState_callsUncheck()
409 SelectorWithWidgetPreference contactsPref = makePreference(KEY_CONTACTS, true); in testSettingsToSave_messagesContacts()
516 SelectorWithWidgetPreference contactsPref = makePreference(KEY_CONTACTS, false); in testSettingsToSave_calls()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModePrioritySendersPreferenceControllerTest.java29 import static com.android.settings.notification.zen.ZenPrioritySendersHelper.KEY_CONTACTS;
173 SelectorWithWidgetPreference contactsPref = makePreference(KEY_CONTACTS, false, false); in clickPreference_Calls()
DZenRulePrioritySendersPreferenceControllerTest.java27 import static com.android.settings.notification.zen.ZenPrioritySendersHelper.KEY_CONTACTS;
180 SelectorWithWidgetPreference contactsPref = makePreference(KEY_CONTACTS, false, false); in clickPreference_Calls()