Home
last modified time | relevance | path

Searched refs:selector (Results 1 – 7 of 7) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/
DUiBot.java500 final BySelector selector = By.res(Helper.MY_PACKAGE, getIdName(resId));
501 assertNeverShown(description, selector, timeout);
507 private void assertNeverShown(String description, BySelector selector, long timeout)
510 final UiObject2 object = mDevice.findObject(selector);
833 private UiObject2 waitForObject(BySelector selector) throws Exception {
834 return waitForObject(selector, mDefaultTimeout);
845 private UiObject2 waitForObject(UiObject2 parent, BySelector selector, Timeout timeout,
849 return timeout.run("waitForObject(" + selector + ")", () -> {
851 ? parent.findObject(selector)
852 : mDevice.findObject(selector);
[all …]
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt139 val selector = By.res(PACKAGE_INSTALLER_PACKAGE_NAME, INSTALL_CONFIRM_TEXT_ID) in <lambda>() constant
140 assertTrue(errorMessage, uiDevice.wait(Until.hasObject(selector), WAIT_FOR_UI_TIMEOUT)) in <lambda>()
145 val selector = By.res(PACKAGE_INSTALLER_PACKAGE_NAME, INSTALL_CONFIRM_TEXT_ID) in <lambda>() constant
146 assertFalse(errorMessage, uiDevice.wait(Until.hasObject(selector), WAIT_FOR_UI_TIMEOUT)) in <lambda>()
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/
DDropTarget.java289 private String queryPrefixed(Uri uri, String selector) { in queryPrefixed() argument
290 final Uri prefixedUri = Uri.parse(uri.toString() + "/" + selector); in queryPrefixed()
291 return checkQueryResult(prefixedUri, selector); in queryPrefixed()
/cts/tests/tests/packageinstaller/tapjacking/src/android/packageinstaller/tapjacking/cts/
DTapjackingTest.java102 final BySelector selector = By.res(packageName, id); in waitForView() local
103 return mUiDevice.wait(Until.findObject(selector), WAIT_FOR_UI_TIMEOUT); in waitForView()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DExternalSourcesTest.kt55 private fun assertUiObject(errorMessage: String, selector: BySelector) { in assertUiObject()
56 assertNotNull(errorMessage, uiDevice.wait(Until.findObject(selector), TIMEOUT)) in assertUiObject()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPermissionsTest.java388 BySelector selector = By in pressPermissionPromptButton() local
391 mDevice.wait(Until.hasObject(selector), 5000); in pressPermissionPromptButton()
392 UiObject2 button = mDevice.findObject(selector); in pressPermissionPromptButton()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java75 final UiSelector selector = new UiSelector().resourceId( in findSearchViewTextField() local
78 return mDevice.findObject(selector); in findSearchViewTextField()