Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DUiBot.java156 UiObject uiObject = mDevice.findObject(new UiSelector().text(text)); in getVisibleObject() local
157 assertTrue("could not find object with text '" + text + "'", uiObject.exists()); in getVisibleObject()
158 return uiObject; in getVisibleObject()
167 UiObject uiObject = mDevice.findObject(new UiSelector().resourceId(id)); in getVisibleObjectById() local
168 assertTrue("could not find object with id '" + id+ "'", uiObject.exists()); in getVisibleObjectById()
169 return uiObject; in getVisibleObjectById()
189 public void click(UiObject uiObject, String description) { in click() argument
191 boolean clicked = uiObject.click(); in click()