Home
last modified time | relevance | path

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

/frameworks/opt/car/services/builtInServices/tests/src/com/android/car/rotary/
DActivityResolverTest.java30 import androidx.test.uiautomator.UiObject;
82 UiObject list = mDevice.findObject( in testListItemFocusable_threeItems()
89 UiObject listItem1 = mDevice.findObject(new UiSelector() in testListItemFocusable_threeItems()
94 UiObject listItem2 = mDevice.findObject(new UiSelector() in testListItemFocusable_threeItems()
99 UiObject listItem3 = mDevice.findObject(new UiSelector() in testListItemFocusable_threeItems()
115 UiObject list = mDevice.findObject( in testListItemFocusable_twoItems()
122 UiObject listItem1 = mDevice.findObject(new UiSelector() in testListItemFocusable_twoItems()
127 UiObject listItem2 = mDevice.findObject(new UiSelector() in testListItemFocusable_twoItems()
132 UiObject justOnceButton = mDevice.findObject(new UiSelector() in testListItemFocusable_twoItems()
137 UiObject alwaysButton = mDevice.findObject(new UiSelector() in testListItemFocusable_twoItems()
[all …]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiCollection.java26 public class UiCollection extends UiObject {
53 public UiObject getChildByDescription(UiSelector childPattern, String text) in getChildByDescription()
59 UiObject row = getChildByInstance(childPattern, x); in getChildByDescription()
64 UiObject item = row.getChild(new UiSelector().descriptionContains(text)); in getChildByDescription()
87 public UiObject getChildByInstance(UiSelector childPattern, int instance) in getChildByInstance()
92 return new UiObject(patternSelector); in getChildByInstance()
111 public UiObject getChildByText(UiSelector childPattern, String text) in getChildByText()
117 UiObject row = getChildByInstance(childPattern, x); in getChildByText()
122 UiObject item = row.getChild(new UiSelector().text(text)); in getChildByText()
DUiScrollable.java118 public UiObject getChildByDescription(UiSelector childPattern, String text) in getChildByDescription()
140 public UiObject getChildByDescription(UiSelector childPattern, String text, in getChildByDescription()
164 public UiObject getChildByInstance(UiSelector childPattern, int instance) in getChildByInstance()
169 return new UiObject(patternSelector); in getChildByInstance()
189 public UiObject getChildByText(UiSelector childPattern, String text) in getChildByText()
210 public UiObject getChildByText(UiSelector childPattern, String text, boolean allowScrollSearch) in getChildByText()
244 public boolean scrollIntoView(UiObject obj) throws UiObjectNotFoundException { in scrollIntoView()
295 public boolean ensureFullyVisible(UiObject childObject) throws UiObjectNotFoundException { in ensureFullyVisible()
DUiObject.java38 public class UiObject { class
39 private static final String LOG_TAG = UiObject.class.getSimpleName();
80 public UiObject(UiSelector selector) { in UiObject() method in UiObject
123 public UiObject getChild(UiSelector selector) throws UiObjectNotFoundException { in getChild()
125 return new UiObject(getSelector().childSelector(selector)); in getChild()
137 public UiObject getFromParent(UiSelector selector) throws UiObjectNotFoundException { in getFromParent()
139 return new UiObject(getSelector().fromParent(selector)); in getFromParent()
198 public boolean dragTo(UiObject destObj, int steps) throws UiObjectNotFoundException { in dragTo()
635 UiObject selectAll = new UiObject(new UiSelector().descriptionContains("Select all")); in clearTextField()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DUiBot.java27 import androidx.test.uiautomator.UiObject;
66 public UiObject getNotification(String text) { in getNotification()
125 UiObject notification = getNotification(text); in clickOnNotification()
134 public UiObject getObject(String text) { in getObject()
145 public UiObject getObjectById(String id) { in getObjectById()
156 public UiObject getVisibleObject(String text) { in getVisibleObject()
157 UiObject uiObject = mDevice.findObject(new UiSelector().text(text)); in getVisibleObject()
167 public UiObject getVisibleObjectById(String id) { in getVisibleObjectById()
168 UiObject uiObject = mDevice.findObject(new UiSelector().resourceId(id)); in getVisibleObjectById()
190 public void click(UiObject uiObject, String description) { in click()
[all …]
DBugreportReceiverTest.java71 import androidx.test.uiautomator.UiObject;
487 UiObject dontShowAgain = in bugreportFinishedWithWarningTest()
503 UiObject ok = mUiBot.getVisibleObject(mContext.getString(com.android.internal.R.string.ok)); in bugreportFinishedWithWarningTest()
580 UiObject cancelButton = mUiBot.getObject(mContext.getString( in cancelFromNotification()
893 private UiObject getScreenshotButton() { in getScreenshotButton()
903 UiObject screenshotButton = getScreenshotButton(); in takeScreenshot()
907 private UiObject waitForScreenshotButtonEnabled(boolean expectedEnabled) throws Exception { in waitForScreenshotButtonEnabled()
908 UiObject screenshotButton = getScreenshotButton(); in waitForScreenshotButtonEnabled()
926 UiObject screenshotButton = getScreenshotButton(); in assertScreenshotButtonEnabled()
980 final UiObject nameField;
[all …]
/frameworks/base/cmds/uiautomator/api/
D16.txt3 public class UiCollection extends com.android.uiautomator.core.UiObject {
5 …method public com.android.uiautomator.core.UiObject getChildByDescription(com.android.uiautomator.…
6 …method public com.android.uiautomator.core.UiObject getChildByInstance(com.android.uiautomator.cor…
7 …method public com.android.uiautomator.core.UiObject getChildByText(com.android.uiautomator.core.Ui…
53 public class UiObject {
54 ctor public UiObject(com.android.uiautomator.core.UiSelector);
64 …method public com.android.uiautomator.core.UiObject getChild(com.android.uiautomator.core.UiSelect…
67 …method public com.android.uiautomator.core.UiObject getFromParent(com.android.uiautomator.core.UiS…
109 …method public com.android.uiautomator.core.UiObject getChildByDescription(com.android.uiautomator.…
110 …method public com.android.uiautomator.core.UiObject getChildByText(com.android.uiautomator.core.Ui…
D17.txt3 public class UiCollection extends com.android.uiautomator.core.UiObject {
5 …method public com.android.uiautomator.core.UiObject getChildByDescription(com.android.uiautomator.…
6 …method public com.android.uiautomator.core.UiObject getChildByInstance(com.android.uiautomator.cor…
7 …method public com.android.uiautomator.core.UiObject getChildByText(com.android.uiautomator.core.Ui…
61 public class UiObject {
62 ctor public UiObject(com.android.uiautomator.core.UiSelector);
72 …method public com.android.uiautomator.core.UiObject getChild(com.android.uiautomator.core.UiSelect…
75 …method public com.android.uiautomator.core.UiObject getFromParent(com.android.uiautomator.core.UiS…
119 …method public com.android.uiautomator.core.UiObject getChildByDescription(com.android.uiautomator.…
120 …method public com.android.uiautomator.core.UiObject getChildByText(com.android.uiautomator.core.Ui…
[all …]
Dcurrent.txt18 @Deprecated public class UiCollection extends com.android.uiautomator.core.UiObject {
20 …method @Deprecated public com.android.uiautomator.core.UiObject getChildByDescription(com.android.…
21 …method @Deprecated public com.android.uiautomator.core.UiObject getChildByInstance(com.android.uia…
22 …method @Deprecated public com.android.uiautomator.core.UiObject getChildByText(com.android.uiautom…
81 @Deprecated public class UiObject {
82 ctor @Deprecated public UiObject(com.android.uiautomator.core.UiSelector);
89 …method @Deprecated public boolean dragTo(com.android.uiautomator.core.UiObject, int) throws com.an…
94 …method @Deprecated public com.android.uiautomator.core.UiObject getChild(com.android.uiautomator.c…
98 …method @Deprecated public com.android.uiautomator.core.UiObject getFromParent(com.android.uiautoma…
147 …method @Deprecated public com.android.uiautomator.core.UiObject getChildByDescription(com.android.…
[all …]
/frameworks/opt/car/services/builtInServices/tests/src/com/android/server/inputmethod/
DImeSmokeTest.java35 import androidx.test.uiautomator.UiObject;
134 UiObject editText = sDevice.findObject((new UiSelector().resourceId( in canOpenIME()
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java43 import androidx.test.uiautomator.UiObject;
137 UiObject view = getUiDevice().findObject(selector); in clickOn()