Home
last modified time | relevance | path

Searched refs:resourceId (Results 1 – 12 of 12) sorted by relevance

/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DUiObjectTest.java36 private static UiSelector resourceId(String id) { in resourceId() method in UiObjectTest
37 return new UiSelector().resourceId(TEST_APP + ":id/" + id); in resourceId()
60 UiObject treeN2 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N2")); in testGetChild()
61 UiObject treeN3 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N3")); in testGetChild()
64 treeN2.getChild(new UiSelector().resourceId(TEST_APP + ":id/tree_N4")).exists()); in testGetChild()
65 assertTrue(treeN3.getChild(new UiSelector().resourceId(TEST_APP + ":id/tree_N4")).exists()); in testGetChild()
72 UiObject treeN4 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N4")); in testGetFromParent()
75 new UiSelector().resourceId(TEST_APP + ":id/tree_N2")).exists()); in testGetFromParent()
77 new UiSelector().resourceId(TEST_APP + ":id/tree_N5")).exists()); in testGetFromParent()
84 UiObject treeN2 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N2")); in testGetChildCount()
[all …]
DUiScrollableTest.java60 new UiSelector().resourceId(TEST_APP + ":id/relative_layout")); in testGetChildByDescription()
77 new UiSelector().resourceId(TEST_APP + ":id/relative_layout")); in testGetChildByDescription_withoutScrollSearch()
95 new UiSelector().resourceId(TEST_APP + ":id/relative_layout")); in testGetChildByInstance()
110 new UiSelector().resourceId(TEST_APP + ":id/relative_layout")); in testGetChildByText()
126 new UiSelector().resourceId(TEST_APP + ":id/relative_layout")); in testGetChildByText_withoutScrollSearch()
142 new UiSelector().resourceId(TEST_APP + ":id/relative_layout")); in testScrollDescriptionIntoView()
143 UiObject target = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollDescriptionIntoView()
157 new UiSelector().resourceId(TEST_APP + ":id/relative_layout")); in testScrollIntoView_withUiObject()
158 UiObject target = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollIntoView_withUiObject()
160 UiObject nonExistentTarget = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollIntoView_withUiObject()
[all …]
DUiSelectorTest.java163 new UiSelector().resourceId(TEST_APP + ":id/example_id")).exists()); in testResourcesId()
166 new UiSelector().resourceId(TEST_APP + ":id/not_example_id")).exists()); in testResourcesId()
168 assertEquals("UiSelector[RESOURCE_ID=id]", new UiSelector().resourceId("id").toString()); in testResourcesId()
190 new UiSelector().resourceId(TEST_APP + ":id/tree_N3").index(1)).exists()); in testIndex()
192 new UiSelector().resourceId(TEST_APP + ":id/tree_N2").index(1)).exists()); in testIndex()
214 new UiSelector().resourceId(TEST_APP + ":id/enabled_text_view").enabled( in testEnabled()
217 new UiSelector().resourceId(TEST_APP + ":id/disabled_text_view").enabled( in testEnabled()
227 UiObject button = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/button")); in testFocused()
230 new UiSelector().resourceId(TEST_APP + ":id/focusable_text_view").focused( in testFocused()
234 new UiSelector().resourceId(TEST_APP + ":id/focusable_text_view").focused( in testFocused()
[all …]
/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DBy.java163 @NonNull String resourceId) { in res() argument
164 return new BySelector().res(resourcePackage, resourceId); in res()
DBySelector.java301 public @NonNull BySelector res(@NonNull String resourcePackage, @NonNull String resourceId) { in res() argument
303 requireNonNull(resourceId, "resourceId cannot be null"); in res()
305 String.format("%s:id/%s", resourcePackage, resourceId)))); in res()
DUiSelector.java283 public @NonNull UiSelector resourceId(@NonNull String id) { in resourceId() method in UiSelector
/test/uiautomator/uiautomator/api/
D2.2.0.txt370 method public androidx.test.uiautomator.UiSelector! resourceId(String!);
Drestricted_2.2.0.txt370 method public androidx.test.uiautomator.UiSelector! resourceId(String!);
Drestricted_2.3.0-beta01.txt421 method public androidx.test.uiautomator.UiSelector resourceId(String);
D2.3.0-beta01.txt421 method public androidx.test.uiautomator.UiSelector resourceId(String);
Dcurrent.txt575 method public androidx.test.uiautomator.UiSelector resourceId(String);
Drestricted_current.txt575 method public androidx.test.uiautomator.UiSelector resourceId(String);