| /test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/ |
| D | UiSelectorTest.java | 37 assertTrue(mDevice.findObject(new UiSelector().text("Sample text")).exists()); in testText() 38 assertFalse(mDevice.findObject(new UiSelector().text("Not text")).exists()); in testText() 47 assertTrue(mDevice.findObject(new UiSelector().textMatches(".*text.*")).exists()); in testTextMatches() 48 assertFalse(mDevice.findObject(new UiSelector().textMatches(".*nottext.*")).exists()); in testTextMatches() 58 assertTrue(mDevice.findObject(new UiSelector().textStartsWith("Text")).exists()); in testTextStartsWith() 59 assertFalse(mDevice.findObject(new UiSelector().textStartsWith("NotText")).exists()); in testTextStartsWith() 69 assertTrue(mDevice.findObject(new UiSelector().textContains("text")).exists()); in testTextContains() 70 assertFalse(mDevice.findObject(new UiSelector().textContains("not-text")).exists()); in testTextContains() 81 mDevice.findObject(new UiSelector().className("android.widget.Button")).exists()); in testClassName_withString() 83 mDevice.findObject(new UiSelector().className("android.widget.Switch")).exists()); in testClassName_withString() [all …]
|
| D | UiObjectTest.java | 60 UiObject treeN2 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N2")); in testGetChild() 61 UiObject treeN3 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N3")); in testGetChild() 72 UiObject treeN4 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N4")); in testGetFromParent() 84 UiObject treeN2 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N2")); in testGetChildCount() 85 UiObject treeN3 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N3")); in testGetChildCount() 95 UiObject noNode = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/no_node")); in testGetChildCount_throwsUiObjectNotFoundException() 105 UiObject dragButton = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testDragTo_destObjAndSteps() 107 UiObject dragDestination = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testDragTo_destObjAndSteps() 110 UiObject expectedDragDest = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testDragTo_destObjAndSteps() 126 UiObject dragButton = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testDragTo_destXAndDestYAndSteps() [all …]
|
| D | UntilTest.java | 48 UiObject2 button = mDevice.findObject(By.res(TEST_APP, "gone_button")); in testGone() 59 UiObject2 button = mDevice.findObject(By.res(TEST_APP, "find_button")); in testHasObject() 70 UiObject2 button = mDevice.findObject(By.res(TEST_APP, "find_button")); in testFindObject() 74 assertNotNull(mDevice.wait(Until.findObject(target), TIMEOUT_MS)); in testFindObject() 81 UiObject2 button = mDevice.findObject(By.res(TEST_APP, "find_button")); in testFindObjects() 92 UiObject2 button = mDevice.findObject(By.res(TEST_APP, "checked_button")); in testChecked() 93 UiObject2 target = mDevice.findObject(By.res(TEST_APP, "checked_target")); in testChecked() 103 UiObject2 button = mDevice.findObject(By.res(TEST_APP, "clickable_button")); in testClickable() 104 UiObject2 target = mDevice.findObject(By.res(TEST_APP, "clickable_target")); in testClickable() 114 UiObject2 button = mDevice.findObject(By.res(TEST_APP, "enabled_button")); in testEnabled() [all …]
|
| D | UiObject2Test.java | 66 UiObject2 object = mDevice.findObject(By.res(TEST_APP, "edit_text")); in testClear() 80 UiObject2 button1 = mDevice.findObject(By.res(TEST_APP, "button1")); in testClick() 94 UiObject2 button2 = mDevice.findObject(By.res(TEST_APP, "button2")); in testClick_point() 101 UiObject2 button3 = mDevice.findObject(By.res(TEST_APP, "button3")); in testClick_point() 113 UiObject2 button4 = mDevice.findObject(By.res(TEST_APP, "button4")); in testClick_duration() 120 UiObject2 button5 = mDevice.findObject(By.res(TEST_APP, "button5")); in testClick_duration() 132 UiObject2 button6 = mDevice.findObject(By.res(TEST_APP, "button6")); in testClick_pointAndDuration() 139 UiObject2 button7 = mDevice.findObject(By.res(TEST_APP, "button7")); in testClick_pointAndDuration() 152 UiObject2 button = mDevice.findObject(By.res(TEST_APP, "new_window_button")); in testClickAndWait_conditionAndTimeout() 161 UiObject2 button1 = mDevice.findObject(By.res(TEST_APP, "new_window_button")); in testClickAndWait_pointAndConditionAndTimeout() [all …]
|
| D | UiDeviceTest.java | 109 UiObject2 button = mDevice.findObject(By.res(TEST_APP, "new_window_button")); in testPerformActionAndWait() 121 assertNull(mDevice.findObject(By.res(TEST_APP, "nested_elements"))); in testSetCompressedLayoutHeirarchy() 124 assertNotNull(mDevice.findObject(By.res(TEST_APP, "nested_elements"))); in testSetCompressedLayoutHeirarchy() 141 UiObject2 textView = mDevice.findObject(By.res(TEST_APP, "text_view")); in testPressMenu() 150 UiObject2 textView = mDevice.findObject(By.res(TEST_APP, "text_view")); in testPressBack() 159 UiObject2 textView = mDevice.findObject(By.res(TEST_APP, "text_view")); in testPressSearch() 168 UiObject2 textView = mDevice.findObject(By.res(TEST_APP, "text_view")); in testPressDPadCenter() 177 UiObject2 textView = mDevice.findObject(By.res(TEST_APP, "text_view")); in testPressDPadDown() 186 UiObject2 textView = mDevice.findObject(By.res(TEST_APP, "text_view")); in testPressDPadUp() 195 UiObject2 textView = mDevice.findObject(By.res(TEST_APP, "text_view")); in testPressDPadLeft() [all …]
|
| D | ComposeTest.java | 41 UiObject2 top = mDevice.findObject(By.res("top-text")); in testEndToEnd() 45 UiObject2 column = mDevice.findObject(By.scrollable(true)); in testEndToEnd() 48 Until.findObject(By.clazz(Button.class))); in testEndToEnd() 52 UiObject2 text = mDevice.wait(Until.findObject(By.text("Initial")), TIMEOUT_MS); in testEndToEnd()
|
| D | UiScrollableTest.java | 143 UiObject target = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollDescriptionIntoView() 158 UiObject target = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollIntoView_withUiObject() 160 UiObject nonExistentTarget = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollIntoView_withUiObject() 178 assertFalse(mDevice.findObject(target).exists()); in testScrollIntoView_withUiSelector() 180 assertTrue(mDevice.findObject(target).exists()); in testScrollIntoView_withUiSelector() 190 UiObject target = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollTextIntoView() 285 UiObject topText = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollToBeginning_withSteps() 300 UiObject topText = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollToBeginning_notEnoughSwipes_failed() 315 UiObject topText = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollToBeginning() 341 UiObject bottomText = mDevice.findObject( in testScrollToEnd_withSteps() [all …]
|
| D | MultiWindowTest.java | 52 UiObject2 firstWindow = mDevice.findObject(firstWindowSelector); in testMultiWindow_splitScreen() 57 UiObject2 secondWindow = mDevice.findObject(secondWindowSelector); in testMultiWindow_splitScreen()
|
| D | MultiDisplayTest.java | 86 UiObject2 button = mDevice.findObject( in testMultiDisplay_click() 110 mDevice.findObject(By.hasAncestor(validAncestorSelector).displayId( in testMultiDisplay_treeRelationship()
|
| D | BySelectorTest.java | 377 UiObject2 child = mDevice.findObject(By.copy(n5).hasParent(n3)); in testHasParent() 385 UiObject2 grandchild = mDevice.findObject(By.copy(n5).hasParent(By.hasParent(n1))); in testHasParent() 389 UiObject2 sibling = mDevice.findObject(By.copy(n4).hasParent(By.hasChild(n5))); in testHasParent()
|
| /test/uiautomator/uiautomator/api/ |
| D | api_lint.ignore | 6 MissingNullability: androidx.test.uiautomator.UiDevice#findObject(androidx.test.uiautomator.BySelec… 7 Missing nullability on method `findObject` return 14 MissingNullability: androidx.test.uiautomator.UiObject2#findObject(androidx.test.uiautomator.BySele… 15 Missing nullability on method `findObject` return
|
| D | 2.2.0.txt | 149 …method public androidx.test.uiautomator.UiObject2! findObject(androidx.test.uiautomator.BySelector… 150 …method public androidx.test.uiautomator.UiObject! findObject(androidx.test.uiautomator.UiSelector!… 267 …method public androidx.test.uiautomator.UiObject2! findObject(androidx.test.uiautomator.BySelector… 396 …est.uiautomator.SearchCondition<androidx.test.uiautomator.UiObject2!>! findObject(androidx.test.ui…
|
| D | restricted_2.2.0.txt | 149 …method public androidx.test.uiautomator.UiObject2! findObject(androidx.test.uiautomator.BySelector… 150 …method public androidx.test.uiautomator.UiObject! findObject(androidx.test.uiautomator.UiSelector!… 267 …method public androidx.test.uiautomator.UiObject2! findObject(androidx.test.uiautomator.BySelector… 396 …est.uiautomator.SearchCondition<androidx.test.uiautomator.UiObject2!>! findObject(androidx.test.ui…
|
| D | restricted_2.3.0-beta01.txt | 173 …method public androidx.test.uiautomator.UiObject2! findObject(androidx.test.uiautomator.BySelector… 174 … method public androidx.test.uiautomator.UiObject findObject(androidx.test.uiautomator.UiSelector); 310 …method public androidx.test.uiautomator.UiObject2! findObject(androidx.test.uiautomator.BySelector… 446 …test.uiautomator.SearchCondition<androidx.test.uiautomator.UiObject2!> findObject(androidx.test.ui…
|
| D | 2.3.0-beta01.txt | 173 …method public androidx.test.uiautomator.UiObject2! findObject(androidx.test.uiautomator.BySelector… 174 … method public androidx.test.uiautomator.UiObject findObject(androidx.test.uiautomator.UiSelector); 310 …method public androidx.test.uiautomator.UiObject2! findObject(androidx.test.uiautomator.BySelector… 446 …test.uiautomator.SearchCondition<androidx.test.uiautomator.UiObject2!> findObject(androidx.test.ui…
|
| D | current.txt | 284 …method public androidx.test.uiautomator.UiObject2! findObject(androidx.test.uiautomator.BySelector… 285 … method public androidx.test.uiautomator.UiObject findObject(androidx.test.uiautomator.UiSelector); 444 …method public androidx.test.uiautomator.UiObject2! findObject(androidx.test.uiautomator.BySelector… 600 …test.uiautomator.SearchCondition<androidx.test.uiautomator.UiObject2!> findObject(androidx.test.ui…
|
| D | restricted_current.txt | 284 …method public androidx.test.uiautomator.UiObject2! findObject(androidx.test.uiautomator.BySelector… 285 … method public androidx.test.uiautomator.UiObject findObject(androidx.test.uiautomator.UiSelector); 444 …method public androidx.test.uiautomator.UiObject2! findObject(androidx.test.uiautomator.BySelector… 600 …test.uiautomator.SearchCondition<androidx.test.uiautomator.UiObject2!> findObject(androidx.test.ui…
|
| /test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/ |
| D | Searchable.java | 30 UiObject2 findObject(@NonNull BySelector selector); in findObject() method
|
| D | Until.java | 79 public static @NonNull SearchCondition<UiObject2> findObject(@NonNull BySelector selector) { 83 return container.findObject(selector);
|
| D | UiDevice.java | 133 public @NonNull UiObject findObject(@NonNull UiSelector selector) { in findObject() method in UiDevice 159 public UiObject2 findObject(@NonNull BySelector selector) { in findObject() method in UiDevice
|
| D | UiObject2.java | 282 public UiObject2 findObject(@NonNull BySelector selector) { in findObject() method in UiObject2
|