Home
last modified time | relevance | path

Searched refs:ZenDurationDialog (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DZenDurationDialogTest.java43 private ZenDurationDialog mController;
56 mController = spy(new ZenDurationDialog(mContext)); in setup()
68 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testAlwaysPrompt()
70 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlwaysPrompt()
73 ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.isChecked()); in testAlwaysPrompt()
82 assertTrue(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testForever()
84 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testForever()
87 ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.isChecked()); in testForever()
95 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testSpecificDuration()
97 assertTrue(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testSpecificDuration()
[all …]
DEnableZenModeDialogTest.java202 ZenDurationDialog.FOREVER_CONDITION_INDEX); in testAccessibility()
204 ZenDurationDialog.COUNTDOWN_CONDITION_INDEX); in testAccessibility()
206 ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX); in testAccessibility()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java47 public class ZenDurationDialog { class
66 public ZenDurationDialog(Context context) { in ZenDurationDialog() method in ZenDurationDialog