• Home
  • Raw
  • Download

Lines Matching refs:controller

45     @Rule public final LiveChannelsTestController controller = new LiveChannelsTestController();  field in PlayControlsRowViewTest
52 controller.liveChannelsHelper.assertAppStarted(); in setUp()
53 controller.pressKeysForChannel(TvTestInputConstants.CH_2); in setUp()
55 controller.assertWaitForCondition(Until.hasObject(CHANNEL_BANNER)); in setUp()
57 controller.pressDPadUp(); in setUp()
58 controller.waitForIdleSync(); in setUp()
60 controller.sidePanelHelper.bySidePanelTitled(R.string.side_panel_title_settings); in setUp()
67 controller.menuHelper.showMenu(); in testFocusedViewInNormalCase()
68 controller.menuHelper.assertNavigateToPlayControlsRow(); in testFocusedViewInNormalCase()
70 controller.pressBack(); in testFocusedViewInNormalCase()
80 controller.pressKeyCode(KeyEvent.KEYCODE_MEDIA_FAST_FORWARD); in testFocusedViewWithDisabledActionForward()
81 controller.menuHelper.assertWaitForMenu(); in testFocusedViewWithDisabledActionForward()
83 controller.pressBack(); in testFocusedViewWithDisabledActionForward()
86 controller.pressKeyCode(KeyEvent.KEYCODE_MEDIA_NEXT); in testFocusedViewWithDisabledActionForward()
87 controller.menuHelper.assertWaitForMenu(); in testFocusedViewWithDisabledActionForward()
89 controller.pressBack(); in testFocusedViewWithDisabledActionForward()
94 controller.menuHelper.showMenu(); in testFocusedViewInMenu()
95 controller.pressKeyCode(KeyEvent.KEYCODE_MEDIA_PLAY); in testFocusedViewInMenu()
97 controller.menuHelper.assertNavigateToRow(R.string.menu_title_channels); in testFocusedViewInMenu()
98 controller.pressKeyCode(KeyEvent.KEYCODE_MEDIA_NEXT); in testFocusedViewInMenu()
106 controller.pressKeyCode(KeyEvent.KEYCODE_MEDIA_PAUSE); in testKeepPausedWhileParentalControlChange()
107 controller.menuHelper.assertWaitForMenu(); in testKeepPausedWhileParentalControlChange()
110 controller.menuHelper.assertPressOptionsSettings(); in testKeepPausedWhileParentalControlChange()
111 controller.assertWaitForCondition(Until.hasObject(mBySettingsSidePanel)); in testKeepPausedWhileParentalControlChange()
112 controller.sidePanelHelper.assertNavigateToItem(R.string.settings_parental_controls); in testKeepPausedWhileParentalControlChange()
113 controller.pressDPadCenter(); in testKeepPausedWhileParentalControlChange()
115 new DialogHelper(controller.getUiDevice(), controller.getTargetResources()); in testKeepPausedWhileParentalControlChange()
120 controller.sidePanelHelper.bySidePanelTitled(R.string.menu_parental_controls); in testKeepPausedWhileParentalControlChange()
121 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in testKeepPausedWhileParentalControlChange()
122 controller.pressEnter(); in testKeepPausedWhileParentalControlChange()
123 controller.pressEnter(); in testKeepPausedWhileParentalControlChange()
124 controller.pressBack(); in testKeepPausedWhileParentalControlChange()
125 controller.pressBack(); in testKeepPausedWhileParentalControlChange()
127 controller.menuHelper.assertWaitForMenu(); in testKeepPausedWhileParentalControlChange()
135 controller.pressKeyCode(KeyEvent.KEYCODE_MEDIA_PAUSE); in testKeepPausedAfterVisitingHome()
136 controller.menuHelper.assertWaitForMenu(); in testKeepPausedAfterVisitingHome()
139 controller.pressHome(); in testKeepPausedAfterVisitingHome()
141 controller.waitForIdle(); in testKeepPausedAfterVisitingHome()
142 controller.pressHome(); in testKeepPausedAfterVisitingHome()
144 controller.waitForIdle(); in testKeepPausedAfterVisitingHome()
146 controller.menuHelper.assertWaitForMenu(); in testKeepPausedAfterVisitingHome()
151 UiObject2 menu = controller.getUiDevice().findObject(MENU); in assertButtonHasFocus()