Searched refs:resourceId (Results 1 – 12 of 12) sorted by relevance
36 private static UiSelector resourceId(String id) { in resourceId() method in UiObjectTest37 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 …]
60 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 …]
163 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 …]
163 @NonNull String resourceId) { in res() argument164 return new BySelector().res(resourcePackage, resourceId); in res()
301 public @NonNull BySelector res(@NonNull String resourcePackage, @NonNull String resourceId) { in res() argument303 requireNonNull(resourceId, "resourceId cannot be null"); in res()305 String.format("%s:id/%s", resourcePackage, resourceId)))); in res()
283 public @NonNull UiSelector resourceId(@NonNull String id) { in resourceId() method in UiSelector
370 method public androidx.test.uiautomator.UiSelector! resourceId(String!);
421 method public androidx.test.uiautomator.UiSelector resourceId(String);
575 method public androidx.test.uiautomator.UiSelector resourceId(String);