Home
last modified time | relevance | path

Searched refs:perform (Results 1 – 25 of 78) sorted by relevance

1234

/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java150 onView(withId(R.id.preview_attribution_pane_set_wallpaper_button)).perform(click()); in testClickSetWallpaper_Success_HomeScreen()
153 onView(withText(R.string.set_wallpaper_home_screen_destination)).perform(click()); in testClickSetWallpaper_Success_HomeScreen()
178 onView(withId(R.id.preview_attribution_pane_set_wallpaper_button)).perform(click()); in testClickSetWallpaper_Success_LockScreen()
181 onView(withText(R.string.set_wallpaper_lock_screen_destination)).perform(click()); in testClickSetWallpaper_Success_LockScreen()
207 onView(withId(R.id.preview_attribution_pane_set_wallpaper_button)).perform(click()); in testClickSetWallpaper_Success_BothHomeAndLockScreen()
210 onView(withText(R.string.set_wallpaper_both_destination)).perform(click()); in testClickSetWallpaper_Success_BothHomeAndLockScreen()
240 onView(withId(R.id.preview_attribution_pane_set_wallpaper_button)).perform(click()); in testClickSetWallpaper_Fails_HomeScreen_ShowsErrorDialog()
243 onView(withText(R.string.set_wallpaper_home_screen_destination)).perform(click()); in testClickSetWallpaper_Fails_HomeScreen_ShowsErrorDialog()
259 onView(withText(R.string.try_again)).perform(click()); in testClickSetWallpaper_Fails_HomeScreen_ShowsErrorDialog()
279 onView(withId(R.id.preview_attribution_pane_set_wallpaper_button)).perform(click()); in testClickSetWallpaper_Fails_LockScreen_ShowsErrorDialog()
[all …]
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivityTest.java194 onView(withId(R.id.wallpaper_grid)).perform( in testClickTile_Mobile_LaunchesPreviewActivityWithWallpaper()
310 onView(withId(R.id.daily_refresh)).perform(click()); in testClickDailyRefreshTile_ShowsStartRotationDialog()
335 onView(withId(R.id.daily_refresh)).perform(click()); in testShowStartRotationDialog_WifiOnly_ClickOK_StartsRotation()
337 onView(withText(android.R.string.ok)).perform(click()); in testShowStartRotationDialog_WifiOnly_ClickOK_StartsRotation()
360 onView(withId(R.id.daily_refresh)).perform(click()); in testShowStartRotationDialog_WifiOnly_ClickOK_Fails_ShowsErrorDialog()
361 onView(withText(android.R.string.ok)).perform(click()); in testShowStartRotationDialog_WifiOnly_ClickOK_Fails_ShowsErrorDialog()
383 onView(withId(R.id.daily_refresh)).perform(click()); in testStartRotation_WifiOnly_FailOnce_Retry()
384 onView(withText(android.R.string.ok)).perform(click()); in testStartRotation_WifiOnly_FailOnce_Retry()
390 onView(withText(R.string.try_again)).perform(click()); in testStartRotation_WifiOnly_FailOnce_Retry()
412 onView(withId(R.id.daily_refresh)).perform(click()); in testShowStartRotationDialog_TurnOffWifiOnly_ClickOK_StartsRotation()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DUiBot.java131 .perform(ViewActions.replaceText(text)); in setDialogText()
185 onView(withId(id)).perform(click()); in clickToolbarItem()
189 onView(ACTIONBAR_OVERFLOW).perform(click()); in clickNewFolder()
192 onView(withText("New folder")).perform(click()); in clickNewFolder()
196 onView(ACTIONBAR_OVERFLOW).perform(click()); in clickActionbarOverflowItem()
198 onView(withText(label)).perform(click()); in clickActionbarOverflowItem()
202 onView(TOOLBAR_OVERFLOW).perform(click()); in clickToolbarOverflowItem()
204 onView(withText(label)).perform(click()); in clickToolbarOverflowItem()
260 onView(withId(android.R.id.button1)).perform(click()); in clickDialogOkButton()
267 onView(withId(android.R.id.button2)).perform(click()); in clickDialogCancelButton()
DSortBot.java113 onView(withText(mContext.getString(labelRes))).perform(click()); in sortByMenu()
121 onView(withText(mContext.getString(labelRes))).perform(click()); in sortByMenu()
138 onView(cellMatcher).perform(click()); in sortBy()
143 onView(cellMatcher).perform(click()); in sortBy()
DSidebarBot.java101 onView(withId(R.id.drawer_layout)).perform(swipeRight()); in closeDrawer()
103 onView(withId(R.id.drawer_layout)).perform(swipeLeft()); in closeDrawer()
DBreadBot.java96 onView(DROPDOWN_BREADCRUMB).perform(click()); in revealAsNeeded()
102 findHorizontalEntry(label).perform(click()); in clickItem()
DKeyboardBot.java54 onView(isAssignableFrom(EditText.class)).perform(pressImeActionButton()); in pressEnter()
/packages/apps/Settings/tests/unit/src/com/android/settings/password/
DSetupChooseLockPasswordAppTest.java98 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsNotShown_when_nothingEntered()
99 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in clearIsNotShown_when_nothingEntered()
109 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsShown_when_somethingEnteredToConfirm()
110 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in clearIsShown_when_somethingEnteredToConfirm()
112 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsShown_when_somethingEnteredToConfirm()
113 .perform(pressKey(KeyEvent.KEYCODE_ENTER)) in clearIsShown_when_somethingEnteredToConfirm()
114 .perform(ViewActions.typeText("1")); in clearIsShown_when_somethingEnteredToConfirm()
DChooseLockPasswordTest.java79 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsNotShown_when_nothingEntered()
80 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in clearIsNotShown_when_nothingEntered()
91 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsShown_when_somethingEnteredToConfirm()
92 .perform(pressKey(KeyEvent.KEYCODE_ENTER)) in clearIsShown_when_somethingEnteredToConfirm()
93 .perform(ViewActions.typeText("1")); in clearIsShown_when_somethingEnteredToConfirm()
DConfirmLockPasswordTest.java56 onView(withId(R.id.password_entry)).perform(typeText("1234")) in enterWrongPin_shouldShowErrorMessage()
57 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in enterWrongPin_shouldShowErrorMessage()
66 onView(withId(R.id.password_entry)).perform(typeText("1234")) in enterWrongPin_darkTheme_shouldShowErrorMessage()
67 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in enterWrongPin_darkTheme_shouldShowErrorMessage()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyContactsPreferenceTest.java101 onView(withId(R.id.delete_contact)).perform(new RelaxedClick()); in testWidgetClick_positiveButton()
102 onView(withText(R.string.remove)).perform(click()); in testWidgetClick_positiveButton()
113 onView(withId(R.id.delete_contact)).perform(new RelaxedClick()); in testWidgetClick_negativeButton()
114 onView(withText(android.R.string.cancel)).perform(click()); in testWidgetClick_negativeButton()
144 public void perform(UiController uiController, View view) { in perform() method in EmergencyContactsPreferenceTest.RelaxedClick
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java372 .perform(click()); in testErrorNoFactoryReset()
398 .perform(click()); in testErrorFactoryReset()
439 .perform(click()); in testCancelProfileOwner()
453 .perform(click()); in testCancelProfileOwner()
527 .perform(click()); in testCancelDeviceOwner()
541 .perform(click()); in testCancelDeviceOwner()
558 onView(withText(R.string.next)).perform(click()); in testSuccess()
589 onView(withText(R.string.next)).perform(click()); in testSuccess_Nfc()
DLandingActivityTest.java64 onView(withText(R.string.next)).perform(click()); in onNextButtonClicked_shouldRunPrepareActivity_runsPrepareActivity()
75 onView(withText(R.string.next)).perform(click()); in onNextButtonClicked_shouldNotRunPrepareActivity_doesNotRunPrepareActivity()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java124 onView(withText(HEADER_1)).perform(click()); in expanderTest()
128 onView(withText(HEADER_3_BOTTOM)).perform(click()); in expanderTest()
137 onView(withText(HEADER_1)).perform(click()); in expanderTest()
142 onView(withText("header2")).perform(click()); in expanderTest()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiDppChooseSavedWifiNetworkFragmentTest.java83 onView(withText(resourceString(WIFI_DPP_CHOOSE_DIFFERENT_NETWORK))).perform(click()); in clickCancelButton_configuratorQrCodeScannerIntent_shouldPopBackStack()
84 onView(withText(resourceString(CANCEL))).perform(click()); in clickCancelButton_configuratorQrCodeScannerIntent_shouldPopBackStack()
97 onView(withText(resourceString(CANCEL))).perform(click()); in clickCancelButton_processWifiDppQrCodeIntent_shouldFinish()
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/
DPowerUsageSummaryTest.java49 onView(withText(R.string.battery_last_full_charge)).perform(click()); in testClickLastFullCharge_shouldNotCrash()
54 onView(withText(R.string.device_screen_usage)).perform(click()); in testClickScreenUsage_shouldNotCrash()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DEncryptDeviceActivityTest.java138 onView(withId(R.id.encrypt_button)).perform(click()); in testProfileOwner()
161 onView(withId(R.id.encrypt_button)).perform(click()); in testDeviceOwner()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java396 onWebView().withElement(findElement(Locator.ID, "tst_link")).perform(webClick()); in runCustomSchemeTest()
431 .perform(webClick()); in testUnsupportedScheme()
481 .perform(webClick()); in testDownload()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/
DEditInfoActivityTest.java179 onView(withText(R.string.clear_all)).perform(click()); in testClearAllPreferences()
190 onView(withText(R.string.clear)).perform(click()); in testClearAllPreferences()
DEditMedicalInfoActivityTest.java82 onView(withText(R.string.name)).perform(click()); in testRotate_editNameDialogOpen_shouldNotCrash()
/packages/apps/TimeZoneData/oem_template/xts/
DREADME.oem8 These tests are not included in CTS because the OEM must perform their own feature
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DSavedNetworkSettingsTest.java73 .perform(click()); in launchSavedNetworkSettings_shouldHaveAddNetworkField()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java77 onView(withText("Wi‑Fi hotspot")).perform(); in launchWifiTetherActivity()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastSettingsTest.java119 .string.alert_reminder_interval_title))).perform(click()); in openAlertReminderDialog()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollFinishTest.java90 onView(withId(R.id.next_button)).perform(click()); in clickNext_shouldFinish()

1234