Home
last modified time | relevance | path

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

123

/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/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()
DDirectoryListBot.java140 button.click(); in clickMessageButton()
186 doc.click(); in openDocument()
193 selectionHotspot.click(); in selectDocument()
249 snackbarAction.click(); in clickSnackbarAction()
/packages/services/Telephony/tests/src/com/android/phone/
DRoamingDialogFragmentTest.java20 import static androidx.test.espresso.action.ViewActions.click;
69 .perform(click()); in disableRoaming()
79 onData(PreferenceMatchers.withTitle(R.string.roaming)).perform(click()); in dataRoamingDialogPersistsOnRotation()
94 onData(PreferenceMatchers.withTitle(R.string.roaming)).perform(click()); in dataRoamingEnabledWhenPositiveButtonClicked()
97 onView(withId(android.R.id.button1)).perform(click()); in dataRoamingEnabledWhenPositiveButtonClicked()
108 onData(PreferenceMatchers.withTitle(R.string.roaming)).perform(click()); in dialogDismissedOnNegativeButtonClicked()
111 onView(withId(android.R.id.button2)).perform(click()); in dialogDismissedOnNegativeButtonClicked()
121 onData(PreferenceMatchers.withTitle(R.string.roaming)).perform(click()); in dataRoamingStaysDisabledWhenDialogCanceled()
124 onView(withId(android.R.id.button2)).perform(click()); in dataRoamingStaysDisabledWhenDialogCanceled()
/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/settings/ui/
DTraceurAppTests.java130 mDevice.findObject(By.text("Record trace")).click(); in testSuccessfulTracing()
132 mDevice.findObject(By.text("Record trace")).click(); in testSuccessfulTracing()
141 mDevice.findObject(By.text("Tap to share your trace")).click(); in testSuccessfulTracing()
145 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/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()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DEncryptDeviceActivityTest.java24 import static androidx.test.espresso.action.ViewActions.click;
138 onView(withId(R.id.encrypt_button)).perform(click()); in testProfileOwner()
161 onView(withId(R.id.encrypt_button)).perform(click()); in testDeviceOwner()

123