/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
D | DialogHelper.java | 40 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 …]
|
D | MenuHelper.java | 81 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 …]
|
D | LiveChannelsUiDeviceHelper.java | 54 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()
|
D | BaseUiDeviceHelper.java | 23 protected final UiDevice mUiDevice; field in BaseUiDeviceHelper 27 this.mUiDevice = uiDevice; in BaseUiDeviceHelper()
|
D | SidePanelHelper.java | 60 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/ |
D | AppOpsSettingsTest.java | 63 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/ |
D | DataSaverSummaryUITest.java | 41 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()
|
D | SpellCheckerSettingsUITest.java | 41 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/ |
D | AppBubbleNotificationSettingsTest.java | 46 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()
|
D | ZenModeSettingsIntegrationTest.java | 27 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()
|
D | ChannelNotificationSettingsTest.java | 54 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()
|
D | AppNotificationSettingsTest.java | 61 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/ |
D | RestrictAppTest.java | 55 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()
|