Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 35) sorted by relevance

12

/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAospLauncherStrategy.java72 mDevice.findObject(By.desc("Apps")).click(); in openAllApps()
84 UiObject2 appsTab = mDevice.findObject(By.desc("Apps") in openAllApps()
123 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in clearRecentAppsFromOverview()
168 UiObject2 widgetsTab = mDevice.findObject(By.desc("Widgets") in openAllWidgets()
182 mDevice.findObject(By.desc("Apps").selected(false)).click(); in openAllWidgets()
184 mDevice.findObject(By.desc("Widgets").selected(false)).click(); in openAllWidgets()
204 By.res("").clazz(TextView.class).desc(appName), packageName); in launch()
228 return By.desc("Apps"); in getAllAppsButtonSelector()
DGoogleExperienceLauncherStrategy.java38 return By.desc("Apps"); in getAllAppsButtonSelector()
DBaseLauncher3Strategy.java129 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in isInOverview()
161 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in clearRecentAppsFromOverview()
DLeanbackLauncherStrategy.java156 return By.res(getSupportedLauncherPackage(), "list").desc("Apps"); in getAppsRowSelector()
164 return By.res(getSupportedLauncherPackage(), "list").desc("Games"); in getGamesRowSelector()
172 return By.res(getSupportedLauncherPackage(), "list").desc("").hasDescendant( in getSettingsRowSelector()
214 BySelector app = By.res(getSupportedLauncherPackage(), "app_banner").desc(appName); in launch()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DAospLauncherStrategy.java68 mDevice.findObject(By.desc("Apps")).click(); in openAllApps()
82 mDevice.findObject(By.desc("Apps").clazz(TextView.class).selected(false)); in openAllApps()
121 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in clearRecentAppsFromOverview()
163 mDevice.findObject(By.desc("Widgets").clazz(TextView.class).selected(false)); in openAllWidgets()
176 mDevice.findObject(By.desc("Apps").selected(false)).click(); in openAllWidgets()
178 mDevice.findObject(By.desc("Widgets").selected(false)).click(); in openAllWidgets()
194 .launchApp(this, By.res("").clazz(TextView.class).desc(appName), packageName); in launch()
212 return By.desc("Apps"); in getAllAppsButtonSelector()
DGoogleExperienceLauncherStrategy.java34 return By.desc("Apps"); in getAllAppsButtonSelector()
DBaseLauncher3Strategy.java122 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in isInOverview()
154 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in clearRecentAppsFromOverview()
DLeanbackLauncherStrategy.java140 return By.res(getSupportedLauncherPackage(), "list").desc("Apps"); in getAppsRowSelector()
146 return By.res(getSupportedLauncherPackage(), "list").desc("Games"); in getGamesRowSelector()
153 .desc("") in getSettingsRowSelector()
185 BySelector app = By.res(getSupportedLauncherPackage(), "app_banner").desc(appName); in launch()
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/
DRecentsTests.java73 (By.desc("Dismiss Calculator.")),TIMEOUT); in testAddAndDismissItemInRecents()
83 (By.desc("Dismiss Calculator.")),TIMEOUT); in testAddAndDismissItemInRecents()
111 (By.desc("Calculator")),TIMEOUT); in testSwipeItemAwayFromRecents()
120 (By.desc("Calculator")),TIMEOUT); in testSwipeItemAwayFromRecents()
157 (By.desc("Calculator")),TIMEOUT); in testDoubleTapToSwitchRecents()
DOverviewHelper.java139 (By.desc(appName)),TIMEOUT); in dockAppToTopMultiwindowSlot()
/platform_testing/tests/apphealth/scenarios/src/android/platform/test/scenario/facebook/
DFacebookAppHelperImpl.java102 mDevice.wait(Until.findObject(By.desc(DENY_BUTTON_DESC)), LONG_TIMEOUT); in dismissInitialDialogs()
111 Until.hasObject(By.desc(Pattern.compile(FEED_TAB_PATTERN))), LONG_TIMEOUT)); in dismissInitialDialogs()
126 mDevice.wait(Until.findObject(By.desc(LOGIN_TEXT_DESC)), LONG_TIMEOUT); in loginWithUi()
130 mDevice.wait(Until.findObject(By.desc(PASSWORD_TEXT_DESC)), LONG_TIMEOUT); in loginWithUi()
137 mDevice.wait(Until.findObject(By.desc(LOGIN_BUTTON_DESC)), LONG_TIMEOUT); in loginWithUi()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaseMetricListener.java494 private boolean shouldRun(Description desc) { in shouldRun() argument
499 MetricOption annotation = desc.getAnnotation(MetricOption.class); in shouldRun()
527 if (mTestIdInvocationCount.containsKey(desc.toString()) in shouldRun()
528 && mTestIdInvocationCount.get(desc.toString()) <= mSkipMetricUntilIteration) { in shouldRun()
531 mTestIdInvocationCount.get(desc.toString()), in shouldRun()
537 if (mTestIdInvocationCount.containsKey(desc.toString()) in shouldRun()
538 && (mTestIdInvocationCount.get(desc.toString()) % mCollectIterationInterval != 0)) { in shouldRun()
DLogcatCollector.java101 mTestIterations.computeIfPresent(description, (desc, iteration) -> iteration + 1); in onTestStart()
102 mTestIterations.computeIfAbsent(description, desc -> 1); in onTestStart()
DGcaEventLogCollector.java130 mTestIterations.computeIfPresent(description, (desc, iteration) -> iteration + 1); in onTestStart()
131 mTestIterations.computeIfAbsent(description, desc -> 1); in onTestStart()
/platform_testing/libraries/flicker/appHelpers/src/android/tools/device/apphelpers/
DYouTubeAppHelper.kt83 return uiDevice.wait(Until.findObject(By.desc(UI_PAUSE_BUTTON_DESC)), WAIT_DELAY) in getPauseButton()
87 return uiDevice.wait(Until.findObject(By.desc(UI_FULLSCREEN_BUTTON_DESC)), WAIT_DELAY) in getFullscreenButton()
DNetflixAppHelper.kt49 return uiDevice.wait(Until.findObject(By.desc(UI_PAUSE_BUTTON_DESC)), WAIT_DELAY) in getPauseButton()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DHotseatHelper.java60 .desc(textAppName)); in launchAppFromHotseat()
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/
DUiElement.java133 return By.desc(Pattern.compile(mValue, Pattern.CASE_INSENSITIVE)); in getBySelectorForUiElement()
178 s.desc(Pattern.compile(mValue, Pattern.CASE_INSENSITIVE)); in extendBySelectorForUiElement()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DScheduledRunMetricListenerTest.java51 public void collect(DataRecord runData, Description desc) throws InterruptedException { in setUp()
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTests.java147 By.desc("More options")), mDLAppHelper.TIMEOUT)) == null && counter-- > 0) in testCABMenuShow()
151 By.desc("Done")), mDLAppHelper.TIMEOUT)) == null && counter-- > 0) in testCABMenuShow()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestCase.java217 if (mDevice.hasObject(By.desc("Slide area."))) { in checkForCondition()
/platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/
DDialerJankTests.java97 UiObject2 contacts = mDevice.wait(Until.findObject(By.desc("Contacts")), TIMEOUT); in launchDialer()
141 mDevice.wait(Until.findObject(By.desc("Call History")), TIMEOUT).click(); in launchCallLog()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java135 mNavigation = mDevice.wait(Until.findObject(By.desc("Open navigation drawer")), TIMEOUT); in swipeRightLeft()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DAbstractStandardAppHelper2.java516 UiObject2 element = mDevice.findObject(By.desc(description)); in findElementByDescription()
549 clickOn(mDevice.wait(Until.findObject(By.desc(description)), timeout)); in waitAndClickByDescription()
567 if (!mDevice.wait(Until.hasObject(By.desc(description)), timeout)) { in checkElementWithDescriptionExists()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java586 Until.findObject(By.desc(FLASHLIGHT)), in toggleQuickSettingFlashLightAndVerify()
591 mDevice.wait(Until.findObject(By.desc(FLASHLIGHT)), in toggleQuickSettingFlashLightAndVerify()
595 Until.findObject(By.desc(FLASHLIGHT)), in toggleQuickSettingFlashLightAndVerify()

12