/platform_testing/libraries/automotive-helpers/general-ui-helper/src/android.platform.helpers/ |
D | UIHelperImpl.java | 57 public void clickElementWithText(String text) { in clickElementWithText() argument 60 UiObject2 toClick = mSpectatioUiUtil.findUiObject(text); in clickElementWithText() 66 "Error when clicking element with text %s : %s", text, e.toString())); in clickElementWithText() 72 public boolean hasElementWithText(String text) { in hasElementWithText() argument 73 return mSpectatioUiUtil.hasUiElement(text); in hasElementWithText()
|
/platform_testing/tests/automotive/snippets/phone/src/com/google/android/mobly/snippet/bundled/ |
D | UISnippet.java | 38 public void clickUIElementWithText(String text) { in clickUIElementWithText() argument 39 mUIHelper.get().clickElementWithText(text); in clickUIElementWithText() 48 public boolean hasUIElementWithText(String text) { in hasUIElementWithText() argument 49 return mUIHelper.get().hasElementWithText(text); in hasUIElementWithText()
|
D | CarSmsMessengerSnippet.java | 52 public boolean isSmsPreviewTextDisplayed(String text) { in isSmsPreviewTextDisplayed() argument 53 return mCarSmsMessengerHelper.get().isSmsPreviewDisplayed(text); in isSmsPreviewTextDisplayed()
|
/platform_testing/libraries/app-helpers/interfaces/common/src/android/platform/helpers/ |
D | IYouTubeHelper.java | 37 private final String text; field in IYouTubeHelper.VideoQuality 39 VideoQuality(String text) { in VideoQuality() argument 40 this.text = text; in VideoQuality() 44 return text; in getText()
|
D | IGoogleKeyboardHelper.java | 33 public void typeText(String text, long delayBetweenKeyPresses); in typeText() argument
|
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/ |
D | IGoogleHelper.java | 31 private final String text; field in IGoogleHelper.NavigationTab 33 NavigationTab(String text) { in NavigationTab() argument 34 this.text = text; in NavigationTab() 39 return text; in toString()
|
D | INotificationHelper.java | 179 String senderName, int id, String text, String shortcutId, String messageToActivity) { in postBubbleNotification() argument 191 default void postBubbleNotification(String senderName, int id, String text) { in postBubbleNotification() argument 202 default void updateBubbleNotification(String senderName, int id, String text) { in updateBubbleNotification() argument 211 default UiObject2 getNotificationByText(String text) { in getNotificationByText() argument
|
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/ |
D | IAutoGeneralUIHelper.java | 32 void clickElementWithText(String text); in clickElementWithText() argument 44 boolean hasElementWithText(String text); in hasElementWithText() argument
|
D | IAutoCarSmsMessengerHelper.java | 41 boolean isSmsPreviewDisplayed(String text); in isSmsPreviewDisplayed() argument
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/ |
D | SpectatioUiUtil.java | 319 public UiObject2 findUiObject(String text) { in findUiObject() argument 320 validateText(text, /* type= */ "Text"); in findUiObject() 321 return findUiObject(By.text(text)); in findUiObject() 347 public boolean hasUiElement(String text) { in hasUiElement() argument 348 validateText(text, /* type= */ "Text"); in hasUiElement() 349 return hasUiElement(By.text(text)); in hasUiElement() 365 BySelector forward, BySelector backward, String text) throws MissingUiElementException { in scrollAndCheckIfUiElementExist() argument 366 return scrollAndFindUiObject(forward, backward, text) != null; in scrollAndCheckIfUiElementExist() 384 public boolean scrollAndCheckIfUiElementExist(BySelector scrollableSelector, String text) in scrollAndCheckIfUiElementExist() argument 386 return scrollAndCheckIfUiElementExist(scrollableSelector, text, /* isVertical= */ true); in scrollAndCheckIfUiElementExist() [all …]
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/ |
D | WorkflowTaskConfig.java | 31 public WorkflowTaskConfig(String text, UiElement uiElement) { in WorkflowTaskConfig() argument 32 mText = text; in WorkflowTaskConfig()
|
/platform_testing/tests/jank/jankmicrobenchmark/src/com/android/jankmicrobenchmark/janktests/ |
D | ApiDemoJankTests.java | 95 By.res(RES_PACKAGE_NAME, "text1").text("Animation")), LONG_TIMEOUT); in selectAnimation() 99 By.res(RES_PACKAGE_NAME, "text1").text(optionName)), LONG_TIMEOUT); in selectAnimation() 105 .text(optionName)), LONG_TIMEOUT); in selectAnimation() 198 By.res(PACKAGE_NAME, "startButton").text("RUN")), LONG_TIMEOUT); in testLoadingJank() 243 PACKAGE_NAME, "addNewButton").text("SHOW BUTTONS")), LONG_TIMEOUT); in testHideShowAnimationJank() 249 By.clazz(Button.class).text("0")), LONG_TIMEOUT); in testHideShowAnimationJank() 255 By.clazz(Button.class).text("1")), LONG_TIMEOUT); in testHideShowAnimationJank() 261 By.clazz(Button.class).text("2")), LONG_TIMEOUT); in testHideShowAnimationJank() 267 By.clazz(Button.class).text("3")), LONG_TIMEOUT); in testHideShowAnimationJank() 280 .text("Views")), LONG_TIMEOUT); in selectViews() [all …]
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/features/quicksettings/ |
D | GuestUserExitConfirmationDialog.java | 42 .text(Pattern.compile("Exit guest mode\\?", Pattern.CASE_INSENSITIVE)); 45 .text(Pattern.compile("Exit", Pattern.CASE_INSENSITIVE)); 48 .text(Pattern.compile("Cancel", Pattern.CASE_INSENSITIVE));
|
D | NewUserSetupPage.java | 42 .text(Pattern.compile("Set up new user", Pattern.CASE_INSENSITIVE)); 45 By.text(Pattern.compile("Continue", Pattern.CASE_INSENSITIVE)); 48 By.text(Pattern.compile("Cancel", Pattern.CASE_INSENSITIVE));
|
D | RemoveUserDialog.java | 41 .text(Pattern.compile("Remove user\\?", Pattern.CASE_INSENSITIVE)); 44 .text(Pattern.compile("Remove user", Pattern.CASE_INSENSITIVE)); 47 .text(Pattern.compile("Keep user", Pattern.CASE_INSENSITIVE));
|
D | UserSelection.java | 54 .text(Pattern.compile("Select user", Pattern.CASE_INSENSITIVE)); 59 .text(Pattern.compile("User settings", Pattern.CASE_INSENSITIVE)); 62 .text(Pattern.compile("Close|Done", Pattern.CASE_INSENSITIVE)); 100 BySelector userSelector = By.res(USER_NAME_RES_ID).text( in selectUserItem()
|
D | EditCurrentUserDialog.java | 44 .text(Pattern.compile("Add user", Pattern.CASE_INSENSITIVE)); 50 .text(Pattern.compile("OK", Pattern.CASE_INSENSITIVE)); 53 .text(Pattern.compile("Cancel", Pattern.CASE_INSENSITIVE));
|
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/ |
D | AccessibilityScannerHelper.java | 134 UiObject2 okBtn = mDevice.wait(Until.findObject(By.text("OK")), SHORT_TIMEOUT); in setAccessibilityScannerSetting() 151 By.text("BEGIN AUTHORIZATION")), SHORT_TIMEOUT); in grantPermissions() 159 mDevice.findObject(By.text("START NOW")).click(); in grantPermissions() 162 By.text("BEGIN AUTHORIZATION")), SHORT_TIMEOUT); in grantPermissions() 167 By.pkg(ACCESSIBILITY_SCANNER_PACKAGE).text("OK")), SHORT_TIMEOUT); in grantPermissions() 195 Until.findObject(By.text("GET STARTED")), SHORT_TIMEOUT); in initialSetups() 199 By.text("Turn on Accessibility Scanner")), SHORT_TIMEOUT); in initialSetups() 201 mDevice.findObject(By.text("OK")).click(); in initialSetups() 204 mDevice.wait(Until.findObject(By.text("OK, GOT IT")), SCANNER_WAIT_TIME).click(); in initialSetups() 205 mDevice.wait(Until.findObject(By.text("DISMISS")), SHORT_TIMEOUT).click(); in initialSetups() [all …]
|
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/ |
D | SettingUserHelperImpl.java | 97 BySelector userSelector = By.text(user); in openPermissionsPage() 108 BySelector userSelector = By.text(user); in deleteUser() 156 By.text(user), in isUserPresent() 169 BySelector userFromSelector = By.text(userFrom); in switchUser() 173 BySelector userToSelector = By.text(userTo); in switchUser() 192 BySelector userFromSelector = By.text(userFrom); in addUserQuickSettings() 203 BySelector userSelector = By.text(user); in makeUserAdmin() 242 By.text(user), in isNewUserAnAdmin()
|
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/ |
D | UiBenchJankTestsHelper.java | 84 UiObject2 initScreen = mDevice.wait(Until.findObject(By.text(UIBENCH_OBJECT_NAME)), 2000); in launchUiBench() 88 initScreen = mDevice.wait(Until.findObject(By.text(UIBENCH_OBJECT_NAME)), 2000); in launchUiBench() 112 By.res(RES_PACKAGE_NAME, TEXT_OBJECT_NAME).text(itemName)), TIMEOUT); in openTextInList() 116 By.res(RES_PACKAGE_NAME, TEXT_OBJECT_NAME).text(itemName)), TIMEOUT); in openTextInList() 122 By.res(RES_PACKAGE_NAME, TEXT_OBJECT_NAME).text(itemName)), TIMEOUT); in openTextInList()
|
/platform_testing/tests/microbenchmarks/accessibility/src/android/accessibility/microbenchmark/ |
D | AccessibilityNodeMicrobenchmark.java | 68 TextView text = new TextView(mActivity); in setup() local 69 text.setText("Breadth " + i); in setup() 70 parent.addView(text); in setup()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | AbstractStandardAppHelper2.java | 481 public boolean sendTextEvents(String text, long delay) { in sendTextEvents() argument 482 Log.v(LOG_TAG, String.format("Sending text events for %s", text)); in sendTextEvents() 483 KeyEvent[] events = mKeyCharacterMap.getEvents(text.toCharArray()); in sendTextEvents() 505 protected UiObject2 findElementByText(String text) { in findElementByText() argument 506 UiObject2 element = mDevice.findObject(By.text(text)); in findElementByText() 511 String.format(ERROR_NOT_FOUND, "with text", text, getPackage())); in findElementByText() 544 protected void waitAndClickByText(String text, long timeout) { in waitAndClickByText() argument 545 clickOn(mDevice.wait(Until.findObject(By.text(text)), timeout)); in waitAndClickByText() 559 protected void checkElementWithTextExists(String text, long timeout) { in checkElementWithTextExists() argument 560 if (!mDevice.wait(Until.hasObject(By.text(text)), timeout)) { in checkElementWithTextExists() [all …]
|
D | AbstractStandardAppHelper.java | 522 public boolean sendTextEvents(String text, long delay) { in sendTextEvents() argument 523 Log.v(LOG_TAG, String.format("Sending text events for %s", text)); in sendTextEvents() 524 KeyEvent[] events = mKeyCharacterMap.getEvents(text.toCharArray()); in sendTextEvents() 546 protected UiObject2 findElementByText(String text) { in findElementByText() argument 547 UiObject2 element = mDevice.findObject(By.text(text)); in findElementByText() 552 String.format(ERROR_NOT_FOUND, "with text", text, getPackage())); in findElementByText() 585 protected void waitAndClickByText(String text, long timeout) { in waitAndClickByText() argument 586 clickOn(mDevice.wait(Until.findObject(By.text(text)), timeout)); in waitAndClickByText() 600 protected void checkElementWithTextExists(String text, long timeout) { in checkElementWithTextExists() argument 601 if (!mDevice.wait(Until.hasObject(By.text(text)), timeout)) { in checkElementWithTextExists() [all …]
|
/platform_testing/tests/apphealth/scenarios/src/android/platform/test/scenario/facebook/ |
D | FacebookAppHelperImpl.java | 75 mDevice.wait(Until.findObject(By.text(OK_BUTTON_DESC)), LONG_TIMEOUT); in dismissInitialDialogs() 81 mDevice.wait(Until.findObject(By.text(GENERIC_ALLOW_TEXT)), LONG_TIMEOUT); in dismissInitialDialogs() 87 mDevice.wait(Until.findObject(By.text(WHILE_USING_APP_TEXT)), LONG_TIMEOUT); in dismissInitialDialogs() 95 mDevice.wait(Until.findObject(By.text(REMIND_ME_LATER_TEXT)), LONG_TIMEOUT); in dismissInitialDialogs()
|
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/ |
D | ActivityHelper.java | 116 if (mDevice.wait(Until.hasObject(By.text("No recent items")), ONE_SECOND * 5)) { in clearRecents() 153 if (!mDevice.wait(Until.hasObject(By.text( in clearRecentsByClearAll() 158 while (mDevice.hasObject(By.text( in clearRecentsByClearAll() 160 mDevice.findObject(By.text( in clearRecentsByClearAll()
|