Home
last modified time | relevance | path

Searched refs:click (Results 1 – 25 of 69) sorted by relevance

123

/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java19 import static androidx.test.espresso.action.ViewActions.click;
150 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()
[all …]
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DMoreWirelessSettingsTest2.java208 .clazz(CHECKBOX_CLASS)), TIMEOUT).click(); in testAddNetworkMenu_Proxy()
220 mDevice.wait(Until.findObject(proxySettingsBySelector), TIMEOUT).click(); in testAddNetworkMenu_Proxy()
221 mDevice.wait(Until.findObject(By.text("Manual")), TIMEOUT).click(); in testAddNetworkMenu_Proxy()
231 mDevice.wait(Until.findObject(proxySettingsBySelector), TIMEOUT).click(); in testAddNetworkMenu_Proxy()
232 mDevice.wait(Until.findObject(By.text("Proxy Auto-Config")), TIMEOUT).click(); in testAddNetworkMenu_Proxy()
245 .clazz(CHECKBOX_CLASS)), TIMEOUT).click(); in testAddNetworkMenu_IpSettings()
255 findOrScrollToObject(ADD_NETWORK_MENU_SCROLLABLE_BY_SELECTOR, ipSettingsBySelector).click(); in testAddNetworkMenu_IpSettings()
256 mDevice.wait(Until.findObject(By.text("Static")), TIMEOUT).click(); in testAddNetworkMenu_IpSettings()
280 mDevice.wait(Until.findObject(phase2SettingsBySelector), TIMEOUT).click(); in testPhase2Settings()
300 mDevice.wait(Until.findObject(caCertSettingsBySelector), TIMEOUT).click(); in testCaCertSettings()
[all …]
DStorageWizardTest.java90 waitFor(By.res(PACKAGE, "storage_wizard_init_internal")).click(); in testInternal()
94 waitFor(By.clickable(true).text(containsIgnoringCase("Format"))).click(); in testInternal()
98 waitFor(By.res(PACKAGE, "storage_next_button")).click(); in testInternal()
102 waitFor(By.res(PACKAGE, "storage_next_button")).click(); in testInternal()
106 waitFor(By.res(PACKAGE, "storage_next_button")).click(); in testInternal()
118 waitFor(By.res(PACKAGE, "storage_wizard_init_external")).click(); in testExternal()
122 waitFor(By.res(PACKAGE, "storage_next_button")).click(); in testExternal()
DNotificationSettingsTests.java78 configureNotifications.click(); in testNotificationsSettingsListForCalculator()
82 appNotifications.click(); in testNotificationsSettingsListForCalculator()
96 configureNotifications.click(); in testNotificationsSettingsListForPhone()
100 appNotifications.click(); in testNotificationsSettingsListForPhone()
111 phone.click(); in testNotificationsSettingsListForPhone()
114 incomingCalls.click(); in testNotificationsSettingsListForPhone()
153 view.click(); in launchAppsSettings()
DLocationSettingsTests.java77 locationTitle.click(); in testLoadingLocationSettings()
162 mDevice.wait(Until.findObject(By.text("Mode")), TIMEOUT).click(); in verifyLocationSettingsMode()
167 mDevice.wait(Until.findObject(By.text(textMode)), TIMEOUT).click(); in verifyLocationSettingsMode()
170 mDevice.wait(Until.findObject(By.desc("Navigate up")), TIMEOUT).click(); in verifyLocationSettingsMode()
201 mDevice.wait(Until.findObject(By.res(SETTINGS_PACKAGE, "switch_widget")), TIMEOUT).click(); in verifyLocationSettingsOnOrOff()
230 (By.text("AGREE")), TIMEOUT).click(); in dismissAlertDialogs()
237 previousChoiceYesButton.click(); in dismissAlertDialogs()
DAppsSettingsTests.java88 calculator.click(); in testAppSettingsListForCalculator()
103 calculator.click(); in testDisablingAndEnablingSystemApp()
110 disableButton.click(); in testDisablingAndEnablingSystemApp()
114 Until.findObject(By.text("DISABLE APP")), TIMEOUT).click(); in testDisablingAndEnablingSystemApp()
119 enableButton.click(); in testDisablingAndEnablingSystemApp()
DAppsSettingsRetainFilterTests.java65 calculator.click(); in testDisablingSystemAppAndRotateDevice()
71 disableButton.click(); in testDisablingSystemAppAndRotateDevice()
78 dialogDisableButton.click(); in testDisablingSystemAppAndRotateDevice()
91 spinnerHeader.click(); in testDisablingSystemAppAndRotateDevice()
96 optionDisabledApps.click(); in testDisablingSystemAppAndRotateDevice()
DZonePickerSettingsTest.java122 selectTimeZone.click(); in testSelectTimeZone()
124 wait(By.text("Region")).click(); in testSelectTimeZone()
129 .click(); in testSelectTimeZone()
135 .click(); in testSelectTimeZone()
DConnectedDeviceTests.java79 nfcSetting.click(); in testNFCToggle()
83 nfcSetting.click(); in testNFCToggle()
88 nfcSetting.click(); in testNFCToggle()
DMoreWirelessSettingsTests.java77 .click(); in testTetheringMenuLoad()
90 .click(); in testVPNMenuLoad()
123 .click(); in toggleAirplaneModeSwitch()
DSoundSettingsTest.java268 findRingtoneInList(r.getName()).click(); in verifyRingtone()
270 mDevice.wait(Until.findObject(By.text("SAVE")), TIMEOUT).click(); in verifyRingtone()
273 mDevice.wait(Until.findObject(By.text("OK")), TIMEOUT).click(); in verifyRingtone()
312 more.click(); in clickMore()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivityTest.java19 import static androidx.test.espresso.action.ViewActions.click;
195 RecyclerViewActions.actionOnItemAtPosition(0, click())); 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()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DUiBot.java20 import static androidx.test.espresso.action.ViewActions.click;
124 obj.click(); in openOverflowMenu()
155 listMode.click(); in switchToListMode()
170 gridMode.click(); in switchToGridMode()
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()
[all …]
DSortBot.java20 import static androidx.test.espresso.action.ViewActions.click;
113 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()
DBreadBot.java20 import static androidx.test.espresso.action.ViewActions.click;
96 onView(DROPDOWN_BREADCRUMB).perform(click()); in revealAsNeeded()
102 findHorizontalEntry(label).perform(click()); in clickItem()
104 mMain.findMenuWithName(label).click(); in clickItem()
DSearchBot.java71 searchView.click(); in clickIcon()
79 clear.click(); in clickSearchViewClearButton()
84 clear.click(); in clickFragmentSearchViewClearButton()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java21 import static androidx.test.espresso.action.ViewActions.click;
124 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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java26 import static androidx.test.espresso.action.ViewActions.click;
372 .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.java20 import static androidx.test.espresso.action.ViewActions.click;
64 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/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiDppChooseSavedWifiNetworkFragmentTest.java20 import static androidx.test.espresso.action.ViewActions.click;
83 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/Traceur/uitests/src/com/android/traceur/uitest/
DTraceurAppTests.java144 mDevice.findObject(By.text("Record trace")).click(); in testSuccessfulTracing()
146 mDevice.findObject(By.text("Record trace")).click(); in testSuccessfulTracing()
155 mDevice.findObject(By.text("Tap to share your trace")).click(); in testSuccessfulTracing()
159 mDevice.findObject(By.text(Pattern.compile("share", Pattern.CASE_INSENSITIVE))).click(); in testSuccessfulTracing()
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DSimImportActivityTest.java266 mDevice.findObject(By.textContains("_targetAccount_")).click(); in selectionsAreImportedAndDisabledOnSubsequentImports()
270 mDevice.findObject(By.text("Skip Two")).click(); in selectionsAreImportedAndDisabledOnSubsequentImports()
271 mDevice.findObject(By.text("Skip Four")).click(); in selectionsAreImportedAndDisabledOnSubsequentImports()
272 mDevice.findObject(By.text("Skip Five")).click(); in selectionsAreImportedAndDisabledOnSubsequentImports()
285 mDevice.findObject(By.text("IMPORT").clickable(true)).click(); in selectionsAreImportedAndDisabledOnSubsequentImports()
327 mDevice.findObject(By.textContains(targetAccount.name)).click(); in selectionsAreImportedAndDisabledOnSubsequentImports()
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/
DPowerUsageSummaryTest.java20 import static androidx.test.espresso.action.ViewActions.click;
49 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/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBackground.java113 mLauncher.waitForSystemUiObject("recent_apps").click(); in goToOverviewUnchecked()
165 recentsButton.click(); in quickSwitchToPreviousApp()
167 recentsButton.click(); in quickSwitchToPreviousApp()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyContactsPreferenceTest.java19 import static androidx.test.espresso.action.ViewActions.click;
102 onView(withText(R.string.remove)).perform(click()); in testWidgetClick_positiveButton()
114 onView(withText(android.R.string.cancel)).perform(click()); in testWidgetClick_negativeButton()

123