Home
last modified time | relevance | path

Searched refs:selector (Results 1 – 11 of 11) sorted by relevance

/platform_testing/libraries/automotive-helpers/standard-app-helper/src/android/platform/helpers/
DAbstractAutoStandardAppHelper.java152 protected void waitForGone(BySelector selector) { in waitForGone() argument
153 mDevice.wait(Until.gone(selector), UI_RESPONSE_WAIT_MS); in waitForGone()
278 protected UiObject2 scrollAndFindUiObject(BySelector selector) { in scrollAndFindUiObject() argument
279 return scrollAndFindUiObject(selector, 0); in scrollAndFindUiObject()
283 protected UiObject2 scrollAndFindUiObject(BySelector selector, int index) { in scrollAndFindUiObject() argument
284 if (selector == null) { in scrollAndFindUiObject()
288 UiObject2 uiObject = findUiObject(selector); in scrollAndFindUiObject()
295 uiObject = findUiObject(selector); in scrollAndFindUiObject()
303 uiObject = findUiObject(selector); in scrollAndFindUiObject()
325 protected UiObject2 findUiObject(BySelector selector) { in findUiObject() argument
[all …]
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsDateTimeHelperImpl.java90 UiSelector selector = in setCalendar() local
101 selector.childSelector( in setCalendar()
217 UiSelector selector = in setTime() local
229 selector.childSelector( in setTime()
247 UiSelector selector = in scrollToObjectInPicker() local
255 UiScrollable scrollable = new UiScrollable(selector); in scrollToObjectInPicker()
321 BySelector selector = By.clickable(true).hasDescendant(By.text(timezone)); in setTimeZone() local
322 UiObject2 object = scrollAndFindUiObject(selector, getScrollScreenIndex()); in setTimeZone()
400 BySelector selector = By.clickable(true).hasDescendant(bySelector); in getMenu() local
401 return scrollAndFindUiObject(selector, getScrollScreenIndex()); in getMenu()
[all …]
DSettingAccountsHelperImpl.java150 BySelector selector = in inputText() local
156 selector = in inputText()
162 UiObject2 input = scrollAndFindUiObject(selector); in inputText()
165 String.format("%s input is not present", selector.toString())); in inputText()
DSettingsAppInfoHelperImpl.java55 BySelector selector = in showAllApps() local
62 UiObject2 show_all_apps_menu = scrollAndFindUiObject(selector, getScrollScreenIndex()); in showAllApps()
209 BySelector selector = By.textContains(application); in selectApp() local
210 UiObject2 object = scrollAndFindUiObject(selector, getScrollScreenIndex()); in selectApp()
DSettingsSystemHelperImpl.java209 BySelector selector = in resetAppPreferences() local
216 UiObject2 object = getMenu(selector); in resetAppPreferences()
310 private UiObject2 getMenu(BySelector selector) { in getMenu() argument
311 UiObject2 object = scrollAndFindUiObject(selector, getScrollScreenIndex()); in getMenu()
314 String.format("Unable to find UI Elemenet %s.", selector.toString())); in getMenu()
DSettingHelperImpl.java162 BySelector selector = By.text(menuPattern); in verifyAvailableOptions() local
167 if (scrollAndFindUiObject(selector, scrollScreenIndex) == null) { in verifyAvailableOptions()
320 for (BySelector selector : selectors) { in getPageTitle()
321 List<UiObject2> pageTitles = findUiObjects(selector); in getPageTitle()
/platform_testing/libraries/app-helpers/interfaces/tv/src/android/platform/helpers/
DAbstractLeanbackAppHelper.java252 public UiObject2 select(UiObject2 container, final BySelector selector, Direction direction) { in select() argument
256 return focus.hasObject(selector); in select()
270 public UiObject2 selectBidirect(final BySelector selector, UiObject2 container,
275 return focus.hasObject(selector);
318 BySelector selector = By.res(getPackage(), "guidedactions_item_title").text(action);
319 UiObject2 focused = select(container, selector, Direction.DOWN);
323 focused = select(container, selector, Direction.UP);
430 BySelector selector = getMainActivitySelector();
431 if (selector == null) {
434 while (!mDevice.wait(Until.hasObject(selector), MAIN_ACTIVITY_WAIT_TIME_MS)
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemUiJankTests.java164 public UiObject2 select(BySelector selector, Direction direction, long timeoutMs) { in select() argument
166 while (!mDevice.wait(Until.hasObject(selector), timeoutMs)) { in select()
189 public UiObject2 selectBidirect(BySelector selector, Direction direction) { in selectBidirect() argument
191 UiObject2 object = select(selector, direction, SHORT_TIMEOUT); in selectBidirect()
193 object = select(selector, Direction.reverse(direction), SHORT_TIMEOUT); in selectBidirect()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DLeanbackLauncherStrategy.java586 protected UiObject2 findNotificationCard(BySelector selector) { in findNotificationCard() argument
590 if ((card = findNotificationCard(selector, Direction.RIGHT)) != null) { in findNotificationCard()
593 if ((card = findNotificationCard(selector, Direction.LEFT)) != null) { in findNotificationCard()
606 protected UiObject2 findNotificationCard(BySelector selector, Direction direction) { in findNotificationCard() argument
628 if (currentFocus.hasObject(selector)) { in findNotificationCard()
723 protected UiObject2 findSettingInRow(BySelector selector, Direction direction) { in findSettingInRow() argument
735 if ((setting = currentFocused.findObject(selector)) != null) { in findSettingInRow()
DTvLauncherStrategy.java839 public UiObject2 select(final BySelector selector, Direction direction, long timeoutMs) {
843 return mDevice.hasObject(selector);
874 public UiObject2 selectBidirect(BySelector selector, Direction direction) {
876 UiObject2 object = select(selector, direction, UI_TRANSITION_WAIT_TIME_MS);
878 object = select(selector, Direction.reverse(direction), UI_TRANSITION_WAIT_TIME_MS);
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationMockingHelperImpl.java135 for (BySelector selector : NOTIFICATION_REQUIRED_FIELDS) { in checkNotificationRequiredFieldsExist()
136 UiObject2 obj = findUiObject(selector); in checkNotificationRequiredFieldsExist()