Home
last modified time | relevance | path

Searched refs:assertWaitForCondition (Results 1 – 15 of 15) sorted by relevance

/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/dvr/
DDvrLibraryTest.java84 controller.assertWaitForCondition(Until.hasObject(Constants.DVR_LIBRARY)); in testCancel()
86 controller.assertWaitForCondition(Until.gone(Constants.DVR_LIBRARY)); in testCancel()
94 controller.assertWaitForCondition(Until.hasObject(Constants.DVR_LIBRARY)); in testEmptyLibrary()
104 controller.assertWaitForCondition(Until.gone(Constants.DVR_LIBRARY)); in testEmptyLibrary()
115 controller.assertWaitForCondition(Until.hasObject(Constants.DVR_LIBRARY)); in testEmptyLibrary()
117 controller.assertWaitForCondition(Until.gone(Constants.DVR_LIBRARY)); in testEmptyLibrary()
160 controller.assertWaitForCondition( in testScheduleRecordings()
166 controller.assertWaitForCondition( in testScheduleRecordings()
173 controller.assertWaitForCondition(Until.hasObject(Constants.DVR_LIBRARY)); in testScheduleRecordings()
193 controller.assertWaitForCondition(Until.gone(Constants.DVR_LIBRARY)); in testScheduleRecordings()
[all …]
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/sidepanel/
DCustomizeChannelListFragmentTest.java58 controller.assertWaitForCondition(Until.hasObject(Constants.CHANNEL_BANNER)); in setUp()
76 controller.assertWaitForCondition(Until.hasObject(mBySettingsSidePanel)); in testCustomizeChannelList_noraml()
83 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in testCustomizeChannelList_noraml()
92 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in testCustomizeChannelList_noraml()
100 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in testCustomizeChannelList_noraml()
105 controller.assertWaitForCondition(Until.hasObject(mBySettingsSidePanel)); in testCustomizeChannelList_noraml()
114 controller.assertWaitForCondition(Until.hasObject(mBySettingsSidePanel)); in testCustomizeChannelList_timeout()
121 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in testCustomizeChannelList_timeout()
130 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in testCustomizeChannelList_timeout()
134 controller.assertWaitForCondition( in testCustomizeChannelList_timeout()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DLiveChannelsAppTest.java57 controller.assertWaitForCondition(Until.hasObject(byChannelSourcesSidePanel)); in testSettingsCancel()
59 controller.assertWaitForCondition(Until.gone(byChannelSourcesSidePanel)); in testSettingsCancel()
69 controller.assertWaitForCondition(Until.hasObject(byClosedCaptionSidePanel)); in testClosedCaptionsCancel()
71 controller.assertWaitForCondition(Until.gone(byClosedCaptionSidePanel)); in testClosedCaptionsCancel()
87 controller.assertWaitForCondition(Until.hasObject(byDisplayModeSidePanel)); in testDisplayModeCancel()
89 controller.assertWaitForCondition(Until.gone(byDisplayModeSidePanel)); in testDisplayModeCancel()
97 controller.assertWaitForCondition(Until.hasObject(Constants.MENU)); in testMenu()
110 controller.assertWaitForCondition(Until.hasObject(byMultiAudioSidePanel)); in testMultiAudioCancel()
112 controller.assertWaitForCondition(Until.gone(byMultiAudioSidePanel)); in testMultiAudioCancel()
121 controller.assertWaitForCondition(Until.hasObject(mBySettingsSidePanel)); in testPinCancel()
DParentalControlsTest.java69 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in testRatingDependentSelect()
74 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in testRatingDependentSelect()
136 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in prepareParentalControl()
142 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in prepareParentalControl()
171 controller.assertWaitForCondition(Until.hasObject(mBySettingsSidePanel)); in showParentalControl()
182 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in showParentalControl()
DChannelBannerViewTest.java51 controller.assertWaitForCondition(Until.hasObject(Constants.CHANNEL_BANNER)); in testChannelBannerAppearDisappear()
52 controller.assertWaitForCondition( in testChannelBannerAppearDisappear()
59 controller.assertWaitForCondition(Until.hasObject(Constants.CHANNEL_BANNER)); in testChannelBannerShownWhenTune()
61 controller.assertWaitForCondition(Until.hasObject(Constants.CHANNEL_BANNER)); in testChannelBannerShownWhenTune()
DTimeoutTest.java51 controller.assertWaitForCondition(Until.hasObject(Constants.MENU)); in testMenu()
52 controller.assertWaitForCondition( in testMenu()
62 controller.assertWaitForCondition(Until.hasObject(Constants.PROGRAM_GUIDE)); in testProgramGuide()
63 controller.assertWaitForCondition( in testProgramGuide()
DChannelSourcesTest.java48 controller.assertWaitForCondition(Until.hasObject(mBySettingsSidePanel)); in testSetup_cancel()
54 controller.assertWaitForCondition( in testSetup_cancel()
66 controller.assertWaitForCondition(Until.hasObject(mBySettingsSidePanel)); in testSetupTwice_cancel()
72 controller.assertWaitForCondition( in testSetupTwice_cancel()
DLiveChannelsTestController.java139 UiDeviceAsserts.assertWaitForCondition( in pressKeysForChannel()
148 public void assertWaitForCondition(SearchCondition<Boolean> booleanSearchCondition) { in assertWaitForCondition() method in LiveChannelsTestController
149 UiDeviceAsserts.assertWaitForCondition(mDevice, booleanSearchCondition); in assertWaitForCondition()
152 public void assertWaitForCondition(SearchCondition<Boolean> gone, long timeout) { in assertWaitForCondition() method in LiveChannelsTestController
153 UiDeviceAsserts.assertWaitForCondition(mDevice, gone, timeout); in assertWaitForCondition()
DPlayControlsRowViewTest.java55 controller.assertWaitForCondition(Until.hasObject(CHANNEL_BANNER)); in setUp()
111 controller.assertWaitForCondition(Until.hasObject(mBySettingsSidePanel)); in testKeepPausedWhileParentalControlChange()
121 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in testKeepPausedWhileParentalControlChange()
DProgramGuideTest.java37 controller.assertWaitForCondition(Until.hasObject(Constants.PROGRAM_GUIDE)); in testCancel()
39 controller.assertWaitForCondition(Until.gone(Constants.PROGRAM_GUIDE)); in testCancel()
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/
DProgramGuideJankTest.java18 import static com.android.tv.testing.uihelper.UiDeviceAsserts.assertWaitForCondition;
106 assertWaitForCondition(mDevice, Until.hasObject(Constants.PROGRAM_GUIDE)); in warmProgramGuide()
113 assertWaitForCondition(mDevice, Until.gone(Constants.PROGRAM_GUIDE)); in clearProgramGuide()
119 assertWaitForCondition(mDevice, Until.hasObject(Constants.PROGRAM_GUIDE)); in showProgramGuide()
126 assertWaitForCondition(mDevice, Until.hasObject(Constants.PROGRAM_GUIDE)); in showAndFocusProgramGuide()
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DUiDeviceAsserts.java52 public static void assertWaitForCondition( in assertWaitForCondition() method in UiDeviceAsserts
54 assertWaitForCondition(uiDevice, searchCondition, Constants.MAX_SHOW_DELAY_MILLIS); in assertWaitForCondition()
63 public static void assertWaitForCondition( in assertWaitForCondition() method in UiDeviceAsserts
125 UiObject2Asserts.assertWaitForCondition(container, untilHasFocusedDescendant); in assertNavigateTo()
DUiObject2Asserts.java33 public static void assertWaitForCondition( in assertWaitForCondition() method in UiObject2Asserts
35 assertWaitForCondition(uiObject, searchCondition, Constants.MAX_SHOW_DELAY_MILLIS); in assertWaitForCondition()
44 public static void assertWaitForCondition( in assertWaitForCondition() method in UiObject2Asserts
DDialogHelper.java19 import static com.android.tv.testing.uihelper.UiDeviceAsserts.assertWaitForCondition;
39 assertWaitForCondition( in assertWaitForPinDialogOpen()
47 assertWaitForCondition(mUiDevice, Until.gone(byPinDialog)); in assertWaitForPinDialogClose()
DMenuHelper.java169 UiDeviceAsserts.assertWaitForCondition(mUiDevice, Until.hasObject(MENU)); in assertWaitForMenu()
183 UiDeviceAsserts.assertWaitForCondition(mUiDevice, Until.hasObject(MENU)); in showMenu()