Home
last modified time | relevance | path

Searched refs:mUiDevice (Results 1 – 13 of 13) sorted by relevance

/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DDialogHelper.java40 mUiDevice, in assertWaitForPinDialogOpen()
47 assertWaitForCondition(mUiDevice, Until.gone(byPinDialog)); in assertWaitForPinDialogClose()
52 mUiDevice.pressEnter(); in enterPinCodes()
53 mUiDevice.pressEnter(); in enterPinCodes()
54 mUiDevice.pressEnter(); in enterPinCodes()
55 mUiDevice.pressEnter(); in enterPinCodes()
56 boolean result = waitForCondition(mUiDevice, Until.gone(byPinDialog)); in enterPinCodes()
59 mUiDevice.pressEnter(); in enterPinCodes()
60 mUiDevice.pressEnter(); in enterPinCodes()
61 mUiDevice.pressEnter(); in enterPinCodes()
[all …]
DMenuHelper.java81 UiDeviceAsserts.assertHas(mUiDevice, MENU, true); in assertNavigateToRow()
82 UiObject2 menu = mUiDevice.findObject(MENU); in assertNavigateToRow()
86 mUiDevice, in assertNavigateToRow()
100 UiDeviceAsserts.assertHas(mUiDevice, MENU, true); in assertNavigateToPlayControlsRow()
104 mUiDevice.pressDPadUp(); in assertNavigateToPlayControlsRow()
118 mUiDevice, in assertNavigateToRowItem()
163 mUiDevice.pressDPadCenter(); in assertPressMenuItem()
169 UiDeviceAsserts.assertWaitForCondition(mUiDevice, Until.hasObject(MENU)); in assertWaitForMenu()
178 if (!mUiDevice.hasObject(MENU)) { in showMenu()
179 mUiDevice.pressMenu(); in showMenu()
[all …]
DLiveChannelsUiDeviceHelper.java54 mUiDevice.waitForIdle(); in assertAppStarted()
56 waitForCondition(mUiDevice, Until.hasObject(Constants.TV_VIEW)); in assertAppStarted()
60 mUiDevice.wait( in assertAppStarted()
64 if (mUiDevice.hasObject(welcome)) { in assertAppStarted()
66 mUiDevice.pressBack(); in assertAppStarted()
71 while (mUiDevice.hasObject(By.pkg(CommonConstants.BASE_PACKAGE).depth(0))) { in assertAppStopped()
72 mUiDevice.pressBack(); in assertAppStopped()
73 mUiDevice.waitForIdle(); in assertAppStopped()
DBaseUiDeviceHelper.java23 protected final UiDevice mUiDevice; field in BaseUiDeviceHelper
27 this.mUiDevice = uiDevice; in BaseUiDeviceHelper()
DSidePanelHelper.java60 UiObject2 sidePanelList = mUiDevice.findObject(sidePanelSelector); in assertNavigateToItem()
64 mUiDevice, sidePanelList, By.hasDescendant(By.text(title)), direction); in assertNavigateToItem()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
DAppOpsSettingsTest.java63 private UiDevice mUiDevice; field in AppOpsSettingsTest
86 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
87 mUiDevice.wakeUp(); in setUp()
88 mUiDevice.executeShellCommand(WM_DISMISS_KEYGUARD_COMMAND); in setUp()
123 final UiObject2 switchPref = mUiDevice.wait(Until.findObject(switchSelector), in findAndVerifySwitchState()
137 final UiObject2 preferenceList = mUiDevice.wait(Until.findObject(preferenceListSelector), in testAppList()
157 mUiDevice.pressBack(); in testAppList()
171 mUiDevice.wait(Until.findObject(appDetailTitleSelector), START_ACTIVITY_TIMEOUT); in testAppDetailScreenForAppOp()
173 mUiDevice.pressBack(); in testAppDetailScreenForAppOp()
197 mUiDevice.pressBack(); in testSwitchToggle()
[all …]
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/inputmethods/
DDataSaverSummaryUITest.java41 private UiDevice mUiDevice; field in DataSaverSummaryUITest
46 mUiDevice = UiDevice.getInstance(mInstrumentation); in setUp()
56 mUiDevice.wait(Until.findObject(By.text("Use Data Saver")), TIMEOUT); in launchSettings_hasSwitchBar()
64 mUiDevice.wait(Until.findObject(By.text("Data Saver")), TIMEOUT); in launchDataSaverSettings()
DSpellCheckerSettingsUITest.java41 private UiDevice mUiDevice; field in SpellCheckerSettingsUITest
46 mUiDevice = UiDevice.getInstance(mInstrumentation); in setUp()
56 mUiDevice.wait(Until.findObject(By.text("Use spell checker")), TIMEOUT); in launchSettings_hasSwitchBar()
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/
DAppBubbleNotificationSettingsTest.java46 private UiDevice mUiDevice; field in AppBubbleNotificationSettingsTest
55 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
56 mUiDevice.wakeUp(); in setUp()
57 mUiDevice.executeShellCommand(WM_DISMISS_KEYGUARD_COMMAND); in setUp()
DZenModeSettingsIntegrationTest.java27 private UiDevice mUiDevice; field in ZenModeSettingsIntegrationTest
32 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
33 mUiDevice.wakeUp(); in setUp()
34 mUiDevice.executeShellCommand(WM_DISMISS_KEYGUARD_COMMAND); in setUp()
DChannelNotificationSettingsTest.java54 private UiDevice mUiDevice; field in ChannelNotificationSettingsTest
65 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
66 mUiDevice.wakeUp(); in setUp()
67 mUiDevice.executeShellCommand(WM_DISMISS_KEYGUARD_COMMAND); in setUp()
DAppNotificationSettingsTest.java61 private UiDevice mUiDevice; field in AppNotificationSettingsTest
78 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
79 mUiDevice.wakeUp(); in setUp()
80 mUiDevice.executeShellCommand(WM_DISMISS_KEYGUARD_COMMAND); in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/
DRestrictAppTest.java55 private UiDevice mUiDevice; field in RestrictAppTest
61 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
62 mUiDevice.wakeUp(); in setUp()
63 mUiDevice.executeShellCommand(WM_DISMISS_KEYGUARD_COMMAND); in setUp()