Home
last modified time | relevance | path

Searched refs:BySelector (Results 1 – 25 of 92) sorted by relevance

1234

/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DILeanbackLauncherStrategy.java21 import androidx.test.uiautomator.BySelector;
45 public BySelector getSearchRowSelector(); in getSearchRowSelector()
52 public BySelector getNotificationRowSelector(); in getNotificationRowSelector()
59 public BySelector getAppsRowSelector(); in getAppsRowSelector()
66 public BySelector getGamesRowSelector(); in getGamesRowSelector()
73 public BySelector getSettingsRowSelector(); in getSettingsRowSelector()
80 public BySelector getAppWidgetSelector(); in getAppWidgetSelector()
87 public BySelector getNowPlayingCardSelector(); in getNowPlayingCardSelector()
DILauncherStrategy.java18 import androidx.test.uiautomator.BySelector;
73 BySelector getAllAppsButtonSelector(); in getAllAppsButtonSelector()
80 BySelector getAllAppsSelector(); in getAllAppsSelector()
102 BySelector getAllWidgetsSelector(); in getAllWidgetsSelector()
116 BySelector getWorkspaceSelector(); in getWorkspaceSelector()
123 BySelector getHotSeatSelector(); in getHotSeatSelector()
130 BySelector getOverviewSelector(); in getOverviewSelector()
DAospLauncherStrategy.java23 import androidx.test.uiautomator.BySelector;
35 private static final BySelector APPS_CONTAINER =
37 private static final BySelector OVERVIEW = By.res(LAUNCHER_PKG, "overview_panel");
38 private static final BySelector WORKSPACE = By.res(LAUNCHER_PKG, "workspace");
39 private static final BySelector HOTSEAT = By.res(LAUNCHER_PKG, "hotseat");
121 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in clearRecentAppsFromOverview()
130 BySelector clearAllSelector = By.res(mDevice.getLauncherPackageName(), "clear_all"); in clearRecentAppsFromOverview()
211 public BySelector getAllAppsButtonSelector() { in getAllAppsButtonSelector()
217 public BySelector getAllAppsSelector() { in getAllAppsSelector()
223 public BySelector getAllWidgetsSelector() { in getAllWidgetsSelector()
[all …]
DAutoLauncherStrategy.java23 import androidx.test.uiautomator.BySelector;
53 private static final BySelector UP_BTN =
55 private static final BySelector DOWN_BTN =
57 private static final BySelector APP_SWITCH = By.res(Pattern.compile(".*:id/" + APP_SWITCH_ID));
58 private static final BySelector APP_LIST = By.res(Pattern.compile(".*:id/" + APP_LIST_ID));
59 private static final BySelector SCROLLABLE_APP_LIST =
61 private static final BySelector QUICK_SETTINGS = By.res(SYSTEM_UI_PACKAGE, "qs");
62 private static final BySelector LEFT_HVAC = By.res(SYSTEM_UI_PACKAGE, "hvacleft");
63 private static final BySelector RIGHT_HVAC = By.res(SYSTEM_UI_PACKAGE, "hvacright");
65 private static final Map<String, BySelector> FACET_MAP =
[all …]
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DILeanbackLauncherStrategy.java20 import android.support.test.uiautomator.BySelector;
46 public BySelector getSearchRowSelector(); in getSearchRowSelector()
52 public BySelector getNotificationRowSelector(); in getNotificationRowSelector()
58 public BySelector getAppsRowSelector(); in getAppsRowSelector()
64 public BySelector getGamesRowSelector(); in getGamesRowSelector()
70 public BySelector getSettingsRowSelector(); in getSettingsRowSelector()
76 public BySelector getAppWidgetSelector(); in getAppWidgetSelector()
82 public BySelector getNowPlayingCardSelector(); in getNowPlayingCardSelector()
DILauncherStrategy.java18 import android.support.test.uiautomator.BySelector;
72 BySelector getAllAppsButtonSelector(); in getAllAppsButtonSelector()
79 BySelector getAllAppsSelector(); in getAllAppsSelector()
101 BySelector getAllWidgetsSelector(); in getAllWidgetsSelector()
115 BySelector getWorkspaceSelector(); in getWorkspaceSelector()
122 BySelector getHotSeatSelector(); in getHotSeatSelector()
129 BySelector getOverviewSelector(); in getOverviewSelector()
DAospLauncherStrategy.java20 import android.support.test.uiautomator.BySelector;
36 private static final BySelector APPS_CONTAINER =
38 private static final BySelector OVERVIEW = By.res(LAUNCHER_PKG, "overview_panel");
39 private static final BySelector WORKSPACE = By.res(LAUNCHER_PKG, "workspace");
40 private static final BySelector HOTSEAT = By.res(LAUNCHER_PKG, "hotseat");
123 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in clearRecentAppsFromOverview()
132 BySelector clearAllSelector = By.res(mDevice.getLauncherPackageName(), "clear_all"); in clearRecentAppsFromOverview()
227 public BySelector getAllAppsButtonSelector() { in getAllAppsButtonSelector()
235 public BySelector getAllAppsSelector() { in getAllAppsSelector()
243 public BySelector getAllWidgetsSelector() { in getAllWidgetsSelector()
[all …]
DAutoLauncherStrategy.java21 import android.support.test.uiautomator.BySelector;
52 private static final BySelector UP_BTN =
54 private static final BySelector DOWN_BTN =
56 private static final BySelector APP_SWITCH = By.res(Pattern.compile(".*:id/" + APP_SWITCH_ID));
57 private static final BySelector APP_LIST = By.res(Pattern.compile(".*:id/" + APP_LIST_ID));
58 private static final BySelector SCROLLABLE_APP_LIST =
60 private static final BySelector QUICK_SETTINGS = By.res(SYSTEM_UI_PACKAGE, "qs");
61 private static final BySelector LEFT_HVAC = By.res(SYSTEM_UI_PACKAGE, "hvacleft");
62 private static final BySelector RIGHT_HVAC = By.res(SYSTEM_UI_PACKAGE, "hvacright");
64 private static final Map<String, BySelector> FACET_MAP =
[all …]
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/
DScrollUtility.java22 import androidx.test.uiautomator.BySelector;
62 BySelector backwardButtonSelector, in scrollBackward()
63 BySelector scrollableElementSelector, in scrollBackward()
94 BySelector forwardButtonSelector, in scrollForward()
95 BySelector scrollableElementSelector, in scrollForward()
128 BySelector forwardButtonSelector, in scrollAndFindUiObject()
129 BySelector backwardButtonSelector, in scrollAndFindUiObject()
130 BySelector scrollElementSelector, in scrollAndFindUiObject()
131 BySelector target, in scrollAndFindUiObject()
165 BySelector backwardButtonSelector, in scrollToBeginning()
[all …]
/platform_testing/libraries/automotive-helpers/dial-app-helper/src/android/platform/helpers/
DDialHelperImpl.java29 import androidx.test.uiautomator.BySelector;
44 private BySelector mBackwardButtonSelector;
45 private BySelector mForwardButtonSelector;
46 private BySelector mScrollableElementSelector;
81 BySelector deviceButtonSelector = in pressDeviceOnPrompt()
91 BySelector mobileCallButtonSelector = in pressMobileCallOnContact()
102 BySelector toggleSelector = in pressActiveCallToggle()
123 BySelector searchResultSelector = in pressContactResult()
145 BySelector historyEntrySelector = in getNumberOfCallHistoryEntries()
166 BySelector dialButtonSelector = getUiElementFromConfig(AutomotiveConfigConstants.MAKE_CALL); in makeCall()
[all …]
/platform_testing/libraries/automotive-helpers/home-helper/src/android/platform/helpers/
DHomeHelperImpl.java20 import androidx.test.uiautomator.BySelector;
53 BySelector bluetoothWidgetSelector = in hasBluetoothButton()
61 BySelector networkWidgetSelector = in hasNetworkButton()
69 BySelector displayBrightnessWidgetSelector = in hasDisplayBrightness()
75 BySelector assistantWidgetSelector = in hasAssistantWidget()
81 BySelector mediaWidgetSelector = in hasMediaWidget()
89 BySelector brightnesButtonSelector = in openBrightnessPalette()
101 BySelector displaybrightnessPaletteSelector = in hasDisplayBrightessPalette()
110 BySelector adaptiveBrightnessSelector = in hasAdaptiveBrightness()
119 BySelector mediaWidgetSelector = in openMediaWidget()
[all …]
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsPrivacyHelperImpl.java21 import androidx.test.uiautomator.BySelector;
57 BySelector microPhoneSwitchSelector = in turnOnOffMicroPhone()
71 BySelector enableOptionSelector = in isMicroPhoneOn()
81 BySelector microPhoneChipSelector = in isMutedMicChipPresentOnStatusBar()
88 BySelector microPhoneChipSelector = in isMutedMicChipPresentWithMicPanel()
96 BySelector microPhoneChipSelector = in isMicChipPresentOnStatusBar()
103 BySelector microPhoneChipSelector = in clickMicroPhoneStatusBar()
115 BySelector microphoneStatusMessageSelector = getUiElementFromConfig(target); in verifyMicrophoneStatusMessage()
122 BySelector microPhoneChipSelector = in clickUnMutedMicroPhoneStatusBar()
134 BySelector microPhoneSettingsLinkSelector = in isMicroPhoneSettingsLinkPresent()
[all …]
DSettingsSecurityHelperImpl.java24 import androidx.test.uiautomator.BySelector;
37 private BySelector mBackwardButtonSelector;
38 private BySelector mForwardButtonSelector;
39 private BySelector mScrollableElementSelector;
82 BySelector password_menuSelector = in setLockByPassword()
96 BySelector titlesSelector = in openChooseLockTypeMenu()
106 BySelector profileLockMenuSelector = in openChooseLockTypeMenu()
117 BySelector textEditorSelector = in typePasswordOnTextEditor()
130 BySelector pin_menuSelector = in setLockByPin()
139 BySelector continue_buttonSelector = in setLockByPin()
[all …]
DSettingsBluetoothHelperImpl.java24 import androidx.test.uiautomator.BySelector;
81 BySelector toggleSelector = getUiElementFromConfig(buttonName); in buttonChecked()
95 BySelector toggleSelector = getUiElementFromConfig(buttonName); in buttonEnabled()
109 BySelector toggleSelector = in pressBluetoothToggleOnDevice()
126 BySelector toggleSelector = getUiElementFromConfig(AutomotiveConfigConstants.MEDIA_BUTTON); in pressMediaToggleOnDevice()
143 BySelector toggleSelector = getUiElementFromConfig(AutomotiveConfigConstants.PHONE_BUTTON); in pressPhoneToggleOnDevice()
155 BySelector nameField = By.text(deviceName); in pressDevice()
156 BySelector clickable = By.hasDescendant(By.hasDescendant(nameField)); in pressDevice()
167 BySelector statusSelector = in getDeviceSummary()
185 BySelector forgetSelector = in pressForget()
[all …]
DSettingsLocationHelperImpl.java21 import androidx.test.uiautomator.BySelector;
52 BySelector locationAccessSelector = in locationAccess()
63 BySelector recentlyClosedTextSelector = in hasRecentlyAccessed()
73 BySelector locationSwitchSelector = in toggleLocation()
88 BySelector enableOptionSelector = in isLocationOn()
99 BySelector mapsWidgetSelector = in hasMapsWidget()
/platform_testing/libraries/automotive-helpers/car-sms-messenger-helper/src/android/platform/helpers/
DCarSmsMessengerHelperImpl.java20 import androidx.test.uiautomator.BySelector;
62 BySelector bluetoothErrorSelector = in isSmsBluetoothErrorDisplayed()
69 BySelector unreadBadgeSelector = in isUnreadSmsDisplayed()
76 BySelector smsTextSelector = in isSmsPreviewDisplayed()
87 BySelector timeStampSelector = in isSmsTimeStampDisplayed()
94 BySelector noMessagesSelector = in isNoMessagesDisplayed()
101 BySelector smsTextSelector = in tapToReadAloud()
111 BySelector assistantSMSPlateSelector = in isAssistantSMSTranscriptionPlateDisplayed()
/platform_testing/libraries/automotive-helpers/status-bar-helper/src/android/platform/helpers/
DStatusBarHelperImpl.java22 import androidx.test.uiautomator.BySelector;
62 BySelector bluetoothButtonSelector = in openBluetoothPalette()
74 BySelector bluetoothSwitchSelector = in hasBluetoothSwitch()
82 BySelector bluetoothButtonSwitchSelector = in openBluetoothSwitch()
96 BySelector toggleOnMessageSelector = in hasToggleOnMessage()
105 BySelector toggleOffMessageSelector = in hasToggleOffMessage()
114 BySelector openBluetoothSettingsSelector = in openBluetoothSettings()
129 BySelector bluetoothSettingsPageTitleSelector = in hasBluetoothSettingsPageTitle()
137 BySelector enableOptionSelector = in isBluetoothOn()
151 BySelector enableOptionSelector = in turnOnOffBluetooth()
[all …]
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationHelperImpl.java24 import androidx.test.uiautomator.BySelector;
38 private BySelector mBackwardButtonSelector;
39 private BySelector mForwardButtonSelector;
40 private BySelector mScrollableElementSelector;
111 BySelector notificationViewSelector = in isAppInForeground()
127 BySelector clearButtonSelector = in tapClearAllBtn()
150 BySelector manageButtonSelector = in clickManageBtn()
165 BySelector selector = By.text(title); in checkNotificationExists()
184 private boolean checkIfClearAllButtonExist(BySelector selector) { in checkIfClearAllButtonExist()
190 private boolean checkIfManageButtonExist(BySelector selector) { in checkIfManageButtonExist()
[all …]
/platform_testing/libraries/automotive-helpers/media-center-app-helper/src/android/platform/helpers/
DMediaCenterHelperImpl.java30 import androidx.test.uiautomator.BySelector;
49 private BySelector mBackwardButtonSelector;
50 private BySelector mForwardButtonSelector;
51 private BySelector mScrollableElementSelector;
145 BySelector playButtonSelector = in playMedia()
159 BySelector playButtonSelector = in playPauseMediaFromHomeScreen()
174 BySelector pauseButtonSelector = in pauseMedia()
187 BySelector nextTrackButtonSelector = in clickNextTrack()
200 BySelector nextTrackButtonSelector = in clickNextTrackFromHomeScreen()
216 BySelector previousTrackButtonSelector = in clickPreviousTrack()
[all …]
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/
DSpectatioUiUtil.java29 import androidx.test.uiautomator.BySelector;
300 public UiObject2 findUiObject(BySelector selector) { in findUiObject()
307 public List<UiObject2> findUiObjects(BySelector selector) { in findUiObjects()
330 public UiObject2 findUiObjectInGivenElement(UiObject2 uiObject, BySelector selector) { in findUiObjectInGivenElement()
365 BySelector forward, BySelector backward, String text) throws MissingUiElementException { in scrollAndCheckIfUiElementExist()
384 public boolean scrollAndCheckIfUiElementExist(BySelector scrollableSelector, String text) in scrollAndCheckIfUiElementExist()
403 BySelector scrollableSelector, String text, boolean isVertical) in scrollAndCheckIfUiElementExist()
417 public boolean hasUiElement(BySelector target) { in hasUiElement()
435 BySelector forward, BySelector backward, BySelector target) in scrollAndCheckIfUiElementExist()
455 public boolean scrollAndCheckIfUiElementExist(BySelector scrollableSelector, BySelector target) in scrollAndCheckIfUiElementExist()
[all …]
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/features/quicksettings/
DGuestUserExitConfirmationDialog.java26 import androidx.test.uiautomator.BySelector;
41 private static final BySelector sTitleSelector = By.res("android:id/alertTitle")
44 private static final BySelector sExitSelector = By.res("android:id/button1")
47 private static final BySelector sCancelSelector = By.res("android:id/button3")
51 public BySelector getPageTitleSelector() { in getPageTitleSelector()
DUserSelection.java35 import androidx.test.uiautomator.BySelector;
52 private static final BySelector MULTI_USER_TITLE_SELECTOR =
58 private static final BySelector SETTINGS_SELECTOR = By.res("android:id/button3")
61 private static final BySelector CLOSE_SELECTOR = By.res("android:id/button1")
64 private static final BySelector BRIGHTNESS_SLIDER = By.res(
67 private static final BySelector MULTI_USER_SWITCH_SELECTOR = By.res(
76 public BySelector getPageTitleSelector() { in getPageTitleSelector()
100 BySelector userSelector = By.res(USER_NAME_RES_ID).text( in selectUserItem()
DNewUserSetupPage.java29 import androidx.test.uiautomator.BySelector;
40 private static final BySelector TITLE_SELECTOR =
44 private static final BySelector CONTINUE_SELECTOR =
47 private static final BySelector CANCEL_SELECTOR =
51 public BySelector getPageTitleSelector() { in getPageTitleSelector()
DRemoveUserDialog.java29 import androidx.test.uiautomator.BySelector;
40 private static final BySelector TITLE_SELECTOR = By.res("android:id/message")
43 private static final BySelector REMOVE_USER_SELECTOR = By.res("android:id/button1")
46 private static final BySelector KEEP_USER_SELECTOR = By.res("android:id/button2")
50 public BySelector getPageTitleSelector() { in getPageTitleSelector()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DDeviceHelpers.kt33 import androidx.test.uiautomator.BySelector
66 selector: BySelector, in waitForObj()
79 selector: BySelector, in waitForObj()
91 selector: BySelector, in waitForObj()
104 selector: BySelector, in waitForNullableObj()
112 selector: BySelector, in waitForNullableObj()
121 selector: BySelector, in waitForNullableObj()
137 selector: BySelector, in waitForNullableObjects()
146 selector: BySelector, in waitForNullableObjects()
160 selector: BySelector, in waitForNullableObjects()
[all …]

1234