Home
last modified time | relevance | path

Searched refs:getConditionTagAt (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DZenDurationDialogTest.java68 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testAlwaysPrompt()
70 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlwaysPrompt()
72 assertTrue(mController.getConditionTagAt( in testAlwaysPrompt()
82 assertTrue(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testForever()
84 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testForever()
86 assertFalse(mController.getConditionTagAt( in testForever()
95 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testSpecificDuration()
97 assertTrue(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testSpecificDuration()
99 assertFalse(mController.getConditionTagAt( in testSpecificDuration()
109 mController.getConditionTagAt(ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.setChecked( in testChooseAlwaysPromptSetting()
[all …]
DEnableZenModeDialogTest.java117 assertTrue(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testForeverChecked()
119 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testForeverChecked()
121 assertFalse(mController.getConditionTagAt( in testForeverChecked()
128 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testNoneChecked()
130 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testNoneChecked()
132 assertFalse(mController.getConditionTagAt( in testNoneChecked()
142 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testAlarmChecked()
144 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlarmChecked()
146 assertTrue(mController.getConditionTagAt( in testAlarmChecked()
156 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testCountdownChecked()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java136 ConditionTag tag = getConditionTagAt(checkedId); in createDialog()
247 protected ConditionTag getConditionTagAt(int index) { in getConditionTagAt() method in EnableZenModeDialog
260 getConditionTagAt(FOREVER_CONDITION_INDEX).rb.setChecked(true); in bindConditions()
267 getConditionTagAt(COUNTDOWN_ALARM_CONDITION_INDEX).rb.setChecked(true); in bindConditions()
272 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true); in bindConditions()
348 if (!mAttached || getConditionTagAt(COUNTDOWN_CONDITION_INDEX).condition == null) { in bindGenericCountdown()
DZenDurationDialog.java111 ConditionTag tag = getConditionTagAt(checkedRadioButtonId); in updateZenDuration()
174 getConditionTagAt(checkedIndex).rb.setChecked(true); in setupRadioButtons()
209 protected ConditionTag getConditionTagAt(int index) { in getConditionTagAt() method in ZenDurationDialog