Home
last modified time | relevance | path

Searched refs:toString (Results 1 – 21 of 21) sorted by relevance

/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DUiSelectorTest.java40 assertEquals("UiSelector[TEXT=text]", new UiSelector().text("text").toString()); in testText()
51 new UiSelector().textMatches(".*text.*").toString()); in testTextMatches()
62 new UiSelector().textStartsWith("Text").toString()); in testTextStartsWith()
73 new UiSelector().textContains("text").toString()); in testTextContains()
85 assertEquals("UiSelector[CLASS=class]", new UiSelector().className("class").toString()); in testClassName_withString()
96 new UiSelector().classNameMatches(".*").toString()); in testClassNameMatches()
107 new UiSelector().className(Button.class).toString()); in testClassName_withClass()
118 new UiSelector().description("desc").toString()); in testDescription()
132 new UiSelector().descriptionMatches(".*").toString()); in testDescriptionMatches()
143 new UiSelector().descriptionStartsWith("start").toString()); in testDescriptionStartsWith()
[all …]
DUiObjectTest.java548 partlyInvisibleRegion.getVisibleBounds().toString()); in testGetVisibleBounds()
550 regionInsideScrollable.getVisibleBounds().toString()); in testGetVisibleBounds()
564 partlyInvisibleRegion.getBounds().toString()); in testGetBounds()
DUiObject2Test.java374 partlyInvisibleRegion.getVisibleBounds().toString()); in testGetVisibleBounds()
376 regionInsideScrollable.getVisibleBounds().toString()); in testGetVisibleBounds()
388 partlyInvisibleRegion.getVisibleCenter().toString()); in testGetVisibleCenter()
755 public @NonNull String toString() { in testScrollUntil_eventConditionNotSatisfied()
/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DAccessibilityNodeInfoDumper.java53 serializer.attribute("", "rotation", Integer.toString(device.getDisplayRotation())); in dumpWindowHierarchy()
69 serializer.attribute("", "NAF", Boolean.toString(true)); in dumpNodeRec()
70 serializer.attribute("", "index", Integer.toString(index)); in dumpNodeRec()
76 serializer.attribute("", "checkable", Boolean.toString(node.isCheckable())); in dumpNodeRec()
77 serializer.attribute("", "checked", Boolean.toString(node.isChecked())); in dumpNodeRec()
78 serializer.attribute("", "clickable", Boolean.toString(node.isClickable())); in dumpNodeRec()
79 serializer.attribute("", "enabled", Boolean.toString(node.isEnabled())); in dumpNodeRec()
80 serializer.attribute("", "focusable", Boolean.toString(node.isFocusable())); in dumpNodeRec()
81 serializer.attribute("", "focused", Boolean.toString(node.isFocused())); in dumpNodeRec()
82 serializer.attribute("", "scrollable", Boolean.toString(node.isScrollable())); in dumpNodeRec()
[all …]
DUntil.java51 public @NonNull String toString() { in gone() method in Until
69 public @NonNull String toString() {
87 public @NonNull String toString() {
107 public @NonNull String toString() {
129 public @NonNull String toString() {
148 public @NonNull String toString() {
167 public @NonNull String toString() {
186 public @NonNull String toString() {
205 public @NonNull String toString() {
224 public @NonNull String toString() {
[all …]
DUiObject.java150 throw new UiObjectNotFoundException(mUiSelector.toString()); in getChildCount()
374 throw new UiObjectNotFoundException(mUiSelector.toString()); in click()
413 throw new UiObjectNotFoundException(mUiSelector.toString()); in clickAndWaitForNewWindow()
432 throw new UiObjectNotFoundException(mUiSelector.toString()); in clickTopLeft()
449 throw new UiObjectNotFoundException(mUiSelector.toString()); in longClickBottomRight()
466 throw new UiObjectNotFoundException(mUiSelector.toString()); in clickBottomRight()
483 throw new UiObjectNotFoundException(mUiSelector.toString()); in longClick()
500 throw new UiObjectNotFoundException(mUiSelector.toString()); in longClickTopLeft()
518 throw new UiObjectNotFoundException(mUiSelector.toString()); in getText()
532 throw new UiObjectNotFoundException(mUiSelector.toString()); in getClassName()
[all …]
DPointerGesture.java120 public @NonNull String toString() { in toString() method in PointerGesture
121 return mActions.toString(); in toString()
152 public @NonNull String toString() { in toString() method in PointerGesture.PointerPauseAction
172 public @NonNull String toString() { in toString() method in PointerGesture.PointerLinearMoveAction
DUiSelector.java657 if (s == null || !s.toString().contentEquals(getString(criterion))) { in isMatchFor()
684 if (s == null || !s.toString().toLowerCase() in isMatchFor()
691 if (s == null || !s.toString().toLowerCase() in isMatchFor()
698 if (s == null || !s.toString().contentEquals(getString(criterion))) { in isMatchFor()
710 if (s == null || !s.toString().toLowerCase() in isMatchFor()
717 if (s == null || !s.toString().toLowerCase() in isMatchFor()
724 if (s == null || !s.toString().contentEquals(getString(criterion))) { in isMatchFor()
753 if (s == null || !s.toString().contentEquals(getString(criterion))) { in isMatchFor()
775 if (s == null || !s.toString().contentEquals(getString(criterion))) { in isMatchFor()
867 public String toString() { in toString() method in UiSelector
[all …]
DQueryController.java72 mLastActivityName = event.getText().get(0).toString();
80 mLastTraversedText = event.getText().get(0).toString();
515 return rootNode.getPackageName() != null ? rootNode.getPackageName().toString() : null; in getCurrentPackageName()
549 return l.toString(); in formatLog()
DGestureController.java324 public String toString() { in toString() method in GestureController.Pointer
343 public @NonNull String toString() { in toString() method in GestureController.GestureRunnable
344 return Arrays.toString(mGestures); in toString()
DBySelector.java776 public String toString() { in toString() method in BySelector
828 .append(mAncestorSelector.toString().substring(11)) in toString()
832 builder.append("CHILD='").append(childSelector.toString().substring(11)).append("', "); in toString()
836 return builder.toString(); in toString()
DUiObject2.java373 return chars != null ? chars.toString() : null; in getClassName()
384 return chars != null ? chars.toString() : null; in getContentDescription()
391 return chars != null ? chars.toString() : null; in getApplicationPackage()
398 return chars != null ? chars.toString() : null; in getResourceName()
410 return chars != null ? chars.toString() : null; in getText()
912 public @NonNull String toString() { in scrollUntil()
1076 return chars != null ? chars.toString() : null; in getHintText()
DUiScrollable.java345 throw new UiObjectNotFoundException(getSelector().toString()); in scrollForward()
419 throw new UiObjectNotFoundException(getSelector().toString()); in scrollBackward()
DAccessibilityNodeInfoExt.kt247 get() = text?.toString()
DUiAutomatorTestScope.kt109 val id = watcher.toString() in watchFor()
DUiDevice.java523 Arrays.toString(keyCodes), in pressKeyCodes()
675 Log.d(TAG, String.format("Swiping between %s in %d steps.", Arrays.toString(segments), in swipe()
1137 public @NonNull String toString() { in waitRotationComplete()
1370 return stdout.toString(); in executeShellCommand()
DByMatcher.java370 return chars != null ? chars.toString() : null; in getHintText()
/test/uiautomator/integration-tests/testapp/src/main/java/androidx/test/uiautomator/testapp/
DVisibleBoundsTestActivity.java49 ((TextView) view).setText(visibleRegion.toString()); in onClick()
59 ((TextView) view).setText(visibleRegionCenter.toString()); in onLongClick()
DPinchTestActivity.java44 scaleFactor.setText(Float.toString(scale)); in onCreate()
/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/internal/
DModels.kt77 node.hintText?.toString() ?: "" in <lambda>()
84 fun CharSequence?.orBlank() = this.toString() in <lambda>()
/test/screenshot/screenshot/src/main/java/androidx/test/screenshot/
DScreenshotTestRule.kt289 it.write(diffResultProto.build().toString().toByteArray()) in reportResult()