Home
last modified time | relevance | path

Searched refs:maybeClick (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreUiTest.java136 private void maybeClick(UiSelector sel) { in maybeClick() method in MediaStoreUiTest
140 private void maybeClick(BySelector sel) { in maybeClick() method in MediaStoreUiTest
201 maybeClick(new UiSelector().resourceId(pkg + ":id/shutter_button")); in testImageCapture()
204 maybeClick(new UiSelector().resourceId(pkg + ":id/shutter_button")); in testImageCapture()
206 maybeClick(new UiSelector().resourceId(pkg + ":id/done_button")); in testImageCapture()
215 maybeClick(By.pkg(pkg).descContains("Capture")); in testImageCapture()
218 maybeClick(By.pkg(pkg).descContains("Done")); in testImageCapture()
/cts/tests/app/src/android/app/cts/
DActivityManagerProcessStateTest.java170 private void maybeClick(UiDevice device, UiSelector sel) { in maybeClick() method in ActivityManagerProcessStateTest
174 private void maybeClick(UiDevice device, BySelector sel) { in maybeClick() method in ActivityManagerProcessStateTest
1278 maybeClick(device, new UiSelector().resourceId("android:id/switch_old")); in testCantSaveStateLaunchAndSwitch()
1294 maybeClick(device, new UiSelector().resourceId("android:id/switch_new")); in testCantSaveStateLaunchAndSwitch()
1317 maybeClick(device, new UiSelector().resourceId("android:id/switch_old")); in testCantSaveStateLaunchAndSwitch()
1329 maybeClick(device, new UiSelector().resourceId("android:id/switch_new")); in testCantSaveStateLaunchAndSwitch()