/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiSelector.java | 34 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 …]
|
D | UiCollection.java | 34 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 …]
|
D | UiScrollable.java | 57 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 …]
|
D | QueryController.java | 127 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()
|
D | UiObject.java | 70 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/ |
D | 17.txt | 4 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 …]
|
D | 16.txt | 4 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 …]
|
D | current.txt | 18 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/DocumentsUI/tests/src/com/android/documentsui/bots/ |
D | RootsListBot.java | 24 import android.support.test.uiautomator.UiSelector; 46 final UiSelector rootsList = new UiSelector().resourceId( in findRoot() 48 new UiSelector().resourceId(ROOTS_LIST_ID)); in findRoot() 53 final UiSelector hamburger = new UiSelector().resourceId( in findRoot() 55 new UiSelector().className("android.widget.ImageButton").clickable(true)); in findRoot() 60 new UiObject(rootsList.childSelector(new UiSelector())).waitForExists(mTimeout); in findRoot() 63 new UiScrollable(rootsList).scrollIntoView(new UiSelector().text(label)); in findRoot() 64 return new UiObject(rootsList.childSelector(new UiSelector().text(label))); in findRoot()
|
D | BaseBot.java | 27 import android.support.test.uiautomator.UiSelector; 60 final UiSelector object = new UiSelector().resourceId(resourceId); in findObject() 65 final UiSelector selector = new UiSelector() in findObject() 67 .childSelector(new UiSelector().resourceId(childResourceId)); in findObject()
|
D | UiBot.java | 30 import android.support.test.uiautomator.UiSelector; 179 UiSelector selector = new UiSelector().text("Couldn't download"); in findDownloadRetryDialog() 198 UiSelector selector = new UiSelector().text(label); in findMenuLabelWithName() 218 UiSelector selector = new UiSelector().className("android.widget.ImageButton") in findMenuMoreOptions()
|
D | DirectoryListBot.java | 31 import android.support.test.uiautomator.UiSelector; 150 final UiSelector docList = new UiSelector().resourceId( in findDocument() 152 new UiSelector().resourceId(DIR_LIST_ID)); in findDocument() 155 new UiObject(docList.childSelector(new UiSelector())).waitForExists(mTimeout); in findDocument() 158 return mDevice.findObject(docList.childSelector(new UiSelector().text(label))); in findDocument()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | UiBot.java | 24 import android.support.test.uiautomator.UiSelector; 98 UiObject uiObject = mDevice.findObject(new UiSelector().text(text)); in getVisibleObject() 109 UiObject uiObject = mDevice.findObject(new UiSelector().resourceId(id)); in getVisibleObjectById() 155 UiScrollable activitiesList = new UiScrollable(new UiSelector().scrollable(true)); in chooseActivity() 179 .findObject(new UiSelector().resourceId("android:id/button_once")); in clickJustOnce()
|
/frameworks/base/docs/html/training/testing/ui-testing/ |
D | uiautomator-testing.jd | 196 …id/support/test/uiautomator/UiDevice.html#findObject(android.support.test.uiautomator.UiSelector)"> 287 …/uiautomator/UiDevice.html#findObject(android.support.test.uiautomator.UiSelector)">{@code findObj… 302 UiObject cancelButton = mDevice.findObject(new UiSelector() 305 UiObject okButton = mDevice.findObject(new UiSelector() 317 <a href="{@docRoot}reference/android/support/test/uiautomator/UiSelector.html">{@code UiSelector}</… 324 <a href="{@docRoot}reference/android/support/test/uiautomator/UiSelector.html">{@code UiSelector}</… 331 …erence/android/support/test/uiautomator/UiSelector.html#childSelector(android.support.test.uiautom… 333 <a href="{@docRoot}reference/android/support/test/uiautomator/UiSelector.html">{@code UiSelector}</… 339 UiObject appItem = new UiObject(new UiSelector() 342 .childSelector(new UiSelector() [all …]
|
/frameworks/base/docs/html/topic/libraries/testing-support-library/ |
D | index.jd | 507 …href="{@docRoot}reference/android/support/test/uiautomator/UiSelector.html">{@code UiSelector}</a>: 531 .findObject(new UiSelector().description("Apps"));
|