Home
last modified time | relevance | path

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

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java34 public class UiSelector { class
73 public UiSelector() { in UiSelector() method in UiSelector
76 UiSelector(UiSelector selector) { in UiSelector() method in UiSelector
83 protected UiSelector cloneSelector() { in cloneSelector()
84 UiSelector ret = new UiSelector(); in cloneSelector()
87 ret.mSelectorAttributes.put(SELECTOR_CHILD, new UiSelector(getChildSelector())); in cloneSelector()
89 ret.mSelectorAttributes.put(SELECTOR_PARENT, new UiSelector(getParentSelector())); in cloneSelector()
91 ret.mSelectorAttributes.put(SELECTOR_PATTERN, new UiSelector(getPatternSelector())); in cloneSelector()
95 static UiSelector patternBuilder(UiSelector selector) { in patternBuilder()
97 return new UiSelector().patternSelector(selector); in patternBuilder()
[all …]
DUiCollection.java34 public UiCollection(UiSelector selector) { in UiCollection()
53 public UiObject getChildByDescription(UiSelector childPattern, String text) in getChildByDescription()
64 UiObject item = row.getChild(new UiSelector().descriptionContains(text)); in getChildByDescription()
87 public UiObject getChildByInstance(UiSelector childPattern, int instance) in getChildByInstance()
90 UiSelector patternSelector = UiSelector.patternBuilder(getSelector(), in getChildByInstance()
91 UiSelector.patternBuilder(childPattern).instance(instance)); in getChildByInstance()
111 public UiObject getChildByText(UiSelector childPattern, String text) in getChildByText()
122 UiObject item = row.getChild(new UiSelector().text(text)); in getChildByText()
142 public int getChildCount(UiSelector childPattern) { in getChildCount()
144 UiSelector patternSelector = in getChildCount()
[all …]
DUiScrollable.java57 public UiScrollable(UiSelector container) { in UiScrollable()
93 protected boolean exists(UiSelector selector) { in exists()
118 public UiObject getChildByDescription(UiSelector childPattern, String text) in getChildByDescription()
140 public UiObject getChildByDescription(UiSelector childPattern, String text, in getChildByDescription()
145 scrollIntoView(new UiSelector().descriptionContains(text)); in getChildByDescription()
164 public UiObject getChildByInstance(UiSelector childPattern, int instance) in getChildByInstance()
167 UiSelector patternSelector = UiSelector.patternBuilder(getSelector(), in getChildByInstance()
168 UiSelector.patternBuilder(childPattern).instance(instance)); in getChildByInstance()
189 public UiObject getChildByText(UiSelector childPattern, String text) in getChildByText()
210 public UiObject getChildByText(UiSelector childPattern, String text, boolean allowScrollSearch) in getChildByText()
[all …]
DQueryController.java127 public int getPatternCount(UiSelector selector) { in getPatternCount()
137 public AccessibilityNodeInfo findAccessibilityNodeInfo(UiSelector selector) { in findAccessibilityNodeInfo()
141 protected AccessibilityNodeInfo findAccessibilityNodeInfo(UiSelector selector, in findAccessibilityNodeInfo()
157 UiSelector uiSelector = new UiSelector(selector); in findAccessibilityNodeInfo()
215 private AccessibilityNodeInfo translateCompoundSelector(UiSelector selector, in translateCompoundSelector()
285 private AccessibilityNodeInfo translateReqularSelector(UiSelector selector, in translateReqularSelector()
291 private AccessibilityNodeInfo findNodeRegularRecursive(UiSelector subSelector, in findNodeRegularRecursive()
372 private AccessibilityNodeInfo translatePatternSelector(UiSelector subSelector, in translatePatternSelector()
403 UiSelector subSelector, AccessibilityNodeInfo fromNode, int index, in findNodePatternRecursive()
404 UiSelector originalPattern) { in findNodePatternRecursive()
DUiObject.java70 private final UiSelector mSelector;
80 public UiObject(UiSelector selector) { in UiObject()
91 public final UiSelector getSelector() { in getSelector()
93 return new UiSelector(mSelector); in getSelector()
123 public UiObject getChild(UiSelector selector) throws UiObjectNotFoundException { in getChild()
137 public UiObject getFromParent(UiSelector selector) throws UiObjectNotFoundException { in getFromParent()
635 UiObject selectAll = new UiObject(new UiSelector().descriptionContains("Select all")); in clearTextField()
/frameworks/base/cmds/uiautomator/api/
D16.txt4 ctor public UiCollection(com.android.uiautomator.core.UiSelector);
5 …mator.core.UiObject getChildByDescription(com.android.uiautomator.core.UiSelector, java.lang.Strin…
6 …utomator.core.UiObject getChildByInstance(com.android.uiautomator.core.UiSelector, int) throws com…
7 ….uiautomator.core.UiObject getChildByText(com.android.uiautomator.core.UiSelector, java.lang.Strin…
8 method public int getChildCount(com.android.uiautomator.core.UiSelector);
54 ctor public UiObject(com.android.uiautomator.core.UiSelector);
64 …ndroid.uiautomator.core.UiObject getChild(com.android.uiautomator.core.UiSelector) throws com.andr…
67 …d.uiautomator.core.UiObject getFromParent(com.android.uiautomator.core.UiSelector) throws com.andr…
69 method public final com.android.uiautomator.core.UiSelector getSelector();
103 ctor public UiScrollable(com.android.uiautomator.core.UiSelector);
[all …]
D17.txt4 ctor public UiCollection(com.android.uiautomator.core.UiSelector);
5 …mator.core.UiObject getChildByDescription(com.android.uiautomator.core.UiSelector, java.lang.Strin…
6 …utomator.core.UiObject getChildByInstance(com.android.uiautomator.core.UiSelector, int) throws com…
7 ….uiautomator.core.UiObject getChildByText(com.android.uiautomator.core.UiSelector, java.lang.Strin…
8 method public int getChildCount(com.android.uiautomator.core.UiSelector);
62 ctor public UiObject(com.android.uiautomator.core.UiSelector);
72 …ndroid.uiautomator.core.UiObject getChild(com.android.uiautomator.core.UiSelector) throws com.andr…
75 …d.uiautomator.core.UiObject getFromParent(com.android.uiautomator.core.UiSelector) throws com.andr…
77 method public final com.android.uiautomator.core.UiSelector getSelector();
113 ctor public UiScrollable(com.android.uiautomator.core.UiSelector);
[all …]
Dcurrent.txt18 ctor public UiCollection(com.android.uiautomator.core.UiSelector);
19 …mator.core.UiObject getChildByDescription(com.android.uiautomator.core.UiSelector, java.lang.Strin…
20 …utomator.core.UiObject getChildByInstance(com.android.uiautomator.core.UiSelector, int) throws com…
21 ….uiautomator.core.UiObject getChildByText(com.android.uiautomator.core.UiSelector, java.lang.Strin…
22 method public int getChildCount(com.android.uiautomator.core.UiSelector);
81 ctor public UiObject(com.android.uiautomator.core.UiSelector);
93 …ndroid.uiautomator.core.UiObject getChild(com.android.uiautomator.core.UiSelector) throws com.andr…
97 …d.uiautomator.core.UiObject getFromParent(com.android.uiautomator.core.UiSelector) throws com.andr…
99 method public final com.android.uiautomator.core.UiSelector getSelector();
140 ctor public UiScrollable(com.android.uiautomator.core.UiSelector);
[all …]
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DUiBot.java25 import android.support.test.uiautomator.UiSelector;
110 UiObject uiObject = mDevice.findObject(new UiSelector().text(text)); in getVisibleObject()
121 UiObject uiObject = mDevice.findObject(new UiSelector().resourceId(id)); in getVisibleObjectById()
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java41 import android.support.test.uiautomator.UiSelector;
130 private void clickOn(UiSelector selector) throws UiObjectNotFoundException { in clickOn()
139 clickOn(new UiSelector().text(text)); in clickOnText()
144 clickOn(new UiSelector().resourceId("com.android.printspooler:id/destination_spinner")); in setPrinter()
316 clickOn(new UiSelector().text(FirstPrintService.class.getCanonicalName()) in addAndSelectPrinter()