/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModePrioritySendersPreferenceControllerTest.java | 34 …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 …]
|
D | ZenModeAppsPreferenceControllerTest.java | 24 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/ |
D | ZenPrioritySendersHelper.java | 66 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/ |
D | ZenModePrioritySendersPreferenceController.java | 73 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:
|
D | ZenModeAppsPreferenceController.java | 40 static final String KEY_NONE = "zen_mode_apps_none"; field in ZenModeAppsPreferenceController 77 case KEY_NONE: in updateState() 97 case KEY_NONE: in onPreferenceChange()
|
D | ZenModeAppsFragment.java | 39 context, ZenModeAppsPreferenceController.KEY_NONE, mBackend)); in createPreferenceControllers()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/zen/ |
D | ZenPrioritySendersHelperTest.java | 30 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/ |
D | ZenModePrioritySendersPreferenceControllerTest.java | 30 import static com.android.settings.notification.zen.ZenPrioritySendersHelper.KEY_NONE; 148 SelectorWithWidgetPreference nonePref = makePreference(KEY_NONE, true, true); in clickPreference_MessagesUnset()
|
D | ZenRulePrioritySendersPreferenceControllerTest.java | 28 import static com.android.settings.notification.zen.ZenPrioritySendersHelper.KEY_NONE; 159 SelectorWithWidgetPreference nonePref = makePreference(KEY_NONE, true, true); in clickPreference_MessagesUnset()
|