Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
H A DZenDurationDialogTest.java66 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testAlwaysPrompt()
68 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlwaysPrompt()
70 assertTrue(mController.getConditionTagAt( in testAlwaysPrompt()
80 assertTrue(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testForever()
82 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testForever()
84 assertFalse(mController.getConditionTagAt( in testForever()
93 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testSpecificDuration()
95 assertTrue(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testSpecificDuration()
97 assertFalse(mController.getConditionTagAt( in testSpecificDuration()
121 mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb.setChecked( in testChooseForeverSetting()
[all …]
H A DEnableZenModeDialogTest.java113 assertTrue(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testForeverChecked()
115 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testForeverChecked()
117 assertFalse(mController.getConditionTagAt( in testForeverChecked()
124 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testNoneChecked()
126 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testNoneChecked()
128 assertFalse(mController.getConditionTagAt( in testNoneChecked()
138 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testAlarmChecked()
142 assertTrue(mController.getConditionTagAt( in testAlarmChecked()
152 assertFalse(mController.getConditionTagAt(EnableZenModeDialog.FOREVER_CONDITION_INDEX).rb in testCountdownChecked()
154 assertTrue(mController.getConditionTagAt(EnableZenModeDialog.COUNTDOWN_CONDITION_INDEX).rb in testCountdownChecked()
[all …]
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
H A DEnableZenModeDialog.java129 ConditionTag tag = getConditionTagAt(checkedId); in createDialog()
237 protected ConditionTag getConditionTagAt(int index) { in getConditionTagAt() method in EnableZenModeDialog
250 getConditionTagAt(FOREVER_CONDITION_INDEX).rb.setChecked(true); in bindConditions()
257 getConditionTagAt(COUNTDOWN_ALARM_CONDITION_INDEX).rb.setChecked(true); in bindConditions()
262 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true); in bindConditions()
338 if (!mAttached || getConditionTagAt(COUNTDOWN_CONDITION_INDEX).condition == null) { in bindGenericCountdown()
H A DZenDurationDialog.java111 ConditionTag tag = getConditionTagAt(checkedRadioButtonId); in updateZenDuration()
174 getConditionTagAt(checkedIndex).rb.setChecked(true); in setupRadioButtons()
206 protected ConditionTag getConditionTagAt(int index) { in getConditionTagAt() method in ZenDurationDialog
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DZenModePanel.java532 getConditionTagAt(FOREVER_CONDITION_INDEX).rb.setChecked(true);
539 getConditionTagAt(COUNTDOWN_ALARM_CONDITION_INDEX).rb.setChecked(true);
544 getConditionTagAt(COUNTDOWN_CONDITION_INDEX).rb.setChecked(true);
557 if (!mAttached || getConditionTagAt(COUNTDOWN_CONDITION_INDEX).condition == null) {
614 ConditionTag getConditionTagAt(int index) { in getConditionTagAt() method in ZenModePanel