Searched refs:UiSelector (Results 1 – 10 of 10) sorted by relevance
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiSelector.java | 76 UiSelector(UiSelector selector) { in UiSelector() method in UiSelector 84 UiSelector ret = new UiSelector(); in cloneSelector() 95 static UiSelector patternBuilder(UiSelector selector) { in patternBuilder() 102 static UiSelector patternBuilder(UiSelector container, UiSelector pattern) { in patternBuilder() 533 public UiSelector childSelector(UiSelector selector) { in childSelector() 537 private UiSelector patternSelector(UiSelector selector) { in patternSelector() 556 public UiSelector fromParent(UiSelector selector) { in fromParent() 589 UiSelector selector = new UiSelector(this); in buildSelector() 607 UiSelector selector = (UiSelector)mSelectorAttributes.get(UiSelector.SELECTOR_CHILD, null); in getChildSelector() 883 UiSelector child = (UiSelector)mSelectorAttributes.get(UiSelector.SELECTOR_CHILD); in getLastSubSelector() [all …]
|
H A 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 …]
|
H A D | UiScrollable.java | 57 public UiScrollable(UiSelector container) { in UiScrollable() 93 protected boolean exists(UiSelector selector) { in exists() 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() 215 scrollIntoView(new UiSelector().text(text)); in getChildByText() 233 return scrollIntoView(new UiSelector().description(text)); in scrollDescriptionIntoView() 262 UiSelector childSelector = getSelector().childSelector(selector); in scrollIntoView() [all …]
|
H A 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()
|
H A 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()
|
/aosp14/frameworks/base/cmds/uiautomator/api/ |
H A D | 17.txt | 4 ctor public UiCollection(com.android.uiautomator.core.UiSelector); 8 method public int getChildCount(com.android.uiautomator.core.UiSelector); 62 ctor public UiObject(com.android.uiautomator.core.UiSelector); 113 ctor public UiScrollable(com.android.uiautomator.core.UiSelector); 141 public class UiSelector { 142 ctor public UiSelector(); 143 method public com.android.uiautomator.core.UiSelector checked(boolean); 144 …method public com.android.uiautomator.core.UiSelector childSelector(com.android.uiautomator.core.U… 157 …method public com.android.uiautomator.core.UiSelector fromParent(com.android.uiautomator.core.UiSe… 158 method public com.android.uiautomator.core.UiSelector index(int); [all …]
|
H A D | 16.txt | 4 ctor public UiCollection(com.android.uiautomator.core.UiSelector); 8 method public int getChildCount(com.android.uiautomator.core.UiSelector); 54 ctor public UiObject(com.android.uiautomator.core.UiSelector); 103 ctor public UiScrollable(com.android.uiautomator.core.UiSelector); 130 public class UiSelector { 131 ctor public UiSelector(); 132 method public com.android.uiautomator.core.UiSelector checked(boolean); 133 …method public com.android.uiautomator.core.UiSelector childSelector(com.android.uiautomator.core.U… 142 …method public com.android.uiautomator.core.UiSelector fromParent(com.android.uiautomator.core.UiSe… 143 method public com.android.uiautomator.core.UiSelector index(int); [all …]
|
H A D | current.txt | 19 ctor @Deprecated public UiCollection(com.android.uiautomator.core.UiSelector); 23 method @Deprecated public int getChildCount(com.android.uiautomator.core.UiSelector); 82 ctor @Deprecated public UiObject(com.android.uiautomator.core.UiSelector); 141 ctor @Deprecated public UiScrollable(com.android.uiautomator.core.UiSelector); 169 @Deprecated public class UiSelector { 170 ctor @Deprecated public UiSelector(); 173 …recated public com.android.uiautomator.core.UiSelector childSelector(com.android.uiautomator.core.… 186 …eprecated public com.android.uiautomator.core.UiSelector fromParent(com.android.uiautomator.core.U… 187 method @Deprecated public com.android.uiautomator.core.UiSelector index(int); 188 method @Deprecated public com.android.uiautomator.core.UiSelector instance(int); [all …]
|
/aosp14/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
H A D | WorkflowTest.java | 45 import androidx.test.uiautomator.UiSelector; 135 private void clickOn(UiSelector selector) throws UiObjectNotFoundException { in clickOn() 144 clickOn(new UiSelector().text(text)); in clickOnText() 149 clickOn(new UiSelector().resourceId("com.android.printspooler:id/destination_spinner")); in setPrinter() 321 clickOn(new UiSelector().text(FirstPrintService.class.getCanonicalName()) in addAndSelectPrinter()
|
/aosp14/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | UiBot.java | 27 import android.support.test.uiautomator.UiSelector; 156 UiObject uiObject = mDevice.findObject(new UiSelector().text(text)); in getVisibleObject() 167 UiObject uiObject = mDevice.findObject(new UiSelector().resourceId(id)); in getVisibleObjectById()
|