Home
last modified time | relevance | path

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

/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.java23 import android.support.test.uiautomator.UiObject;
56 public UiObject getNotification(String text) { in getNotification()
78 UiObject notification = getNotification(text); in clickOnNotification()
87 public UiObject getObject(String text) { in getObject()
98 public UiObject getObjectById(String id) { in getObjectById()
109 public UiObject getVisibleObject(String text) { in getVisibleObject()
110 UiObject uiObject = mDevice.findObject(new UiSelector().text(text)); in getVisibleObject()
120 public UiObject getVisibleObjectById(String id) { in getVisibleObjectById()
121 UiObject uiObject = mDevice.findObject(new UiSelector().resourceId(id)); in getVisibleObjectById()
143 public void click(UiObject uiObject, String description) { in click()
[all …]
DBugreportReceiverTest.java58 import android.support.test.uiautomator.UiObject;
576 UiObject dontShowAgain = in bugreportFinishedWithWarningTest()
592 UiObject ok = mUiBot.getVisibleObject(mContext.getString(com.android.internal.R.string.ok)); in bugreportFinishedWithWarningTest()
667 UiObject cancelButton = mUiBot.getVisibleObject(mContext.getString( in cancelFromNotification()
677 private UiObject openProgressNotification(String bugreportName) { in openProgressNotification()
1016 private UiObject getScreenshotButton() { in getScreenshotButton()
1026 UiObject screenshotButton = getScreenshotButton(); in takeScreenshot()
1030 private UiObject waitForScreenshotButtonEnabled(boolean expectedEnabled) throws Exception { in waitForScreenshotButtonEnabled()
1031 UiObject screenshotButton = getScreenshotButton(); in waitForScreenshotButtonEnabled()
1049 UiObject screenshotButton = getScreenshotButton(); in assertScreenshotButtonEnabled()
[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/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java39 import android.support.test.uiautomator.UiObject;
132 UiObject view = getUiDevice().findObject(selector); in clickOn()