Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 28) 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.java125 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in isInOverview()
157 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()
DTvLauncherStrategy.java315 return By.res(getSupportedLauncherPackage(), "favorite_app_banner").desc(appName); in getFavoriteAppSelector()
324 return By.res(getSupportedLauncherPackage(), "banner_image").desc(appName); in getAppInAppsViewSelector()
334 return getChannelLogoSelector().desc(channelTitle); in getChannelLogoSelector()
/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/tests/functional/overviewtests/src/com/android/overview/functional/
DRecentsTests.java85 (By.desc("Dismiss Calculator.")),TIMEOUT); in testAddAndDismissItemInRecents()
95 (By.desc("Dismiss Calculator.")),TIMEOUT); in testAddAndDismissItemInRecents()
123 (By.desc("Calculator")),TIMEOUT); in testSwipeItemAwayFromRecents()
132 (By.desc("Calculator")),TIMEOUT); in testSwipeItemAwayFromRecents()
169 (By.desc("Calculator")),TIMEOUT); in testDoubleTapToSwitchRecents()
DOverviewHelper.java148 (By.desc(appName)),TIMEOUT); in dockAppToTopMultiwindowSlot()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaseMetricListener.java418 private boolean shouldRun(Description desc) { in shouldRun() argument
423 MetricOption annotation = desc.getAnnotation(MetricOption.class); in shouldRun()
451 if (mTestIdInvocationCount.containsKey(desc.toString()) in shouldRun()
452 && mTestIdInvocationCount.get(desc.toString()) <= mSkipMetricUntilIteration) { in shouldRun()
455 mTestIdInvocationCount.get(desc.toString()), in shouldRun()
461 if (mTestIdInvocationCount.containsKey(desc.toString()) in shouldRun()
462 && (mTestIdInvocationCount.get(desc.toString()) % mCollectIterationInterval != 0)) { in shouldRun()
DLogcatCollector.java102 mTestIterations.computeIfPresent(description, (desc, iteration) -> iteration + 1); in onTestStart()
103 mTestIterations.computeIfAbsent(description, desc -> 1); in onTestStart()
DGcaEventLogCollector.java131 mTestIterations.computeIfPresent(description, (desc, iteration) -> iteration + 1); in onTestStart()
132 mTestIterations.computeIfAbsent(description, desc -> 1); in onTestStart()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DHotseatHelper.java60 .desc(textAppName)); in launchAppFromHotseat()
DOverviewHelper.java186 (By.desc(appName)),TIMEOUT); in dockAppToTopMultiwindowSlot()
/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/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DQuickSettingsJankTest.java62 Until.findObject(By.desc(QUICK_SETTINGS_LAUNCHED_INDICATOR)), in isQuickSettingShadeLaunched()
DWatchFaceHelper.java145 watchFace = mDevice.wait(Until.findObject(By.desc(watchFaceName)), SHORT_TIMEOUT); in selectWatchFaceFromFullList()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DAbstractStandardAppHelper.java321 UiObject2 element = mDevice.findObject(By.desc(description)); in findElementByDescription()
347 clickOn(mDevice.wait(Until.findObject(By.desc(description)), timeout)); in waitAndClickByDescription()
365 if (!mDevice.wait(Until.hasObject(By.desc(description)), timeout)) { in checkElementWithDescriptionExists()
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTests.java146 By.desc("More options")), mDLAppHelper.TIMEOUT)) == null && counter-- > 0) in testCABMenuShow()
150 By.desc("Done")), mDLAppHelper.TIMEOUT)) == null && counter-- > 0) in testCABMenuShow()
DDownloadAppTestHelper.java90 mDevice.wait(Until.findObject(By.desc("More options")), 200).click(); in sortByParam()
/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/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestCase.java234 if (mDevice.hasObject(By.desc("Slide area."))) { in checkForCondition()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java134 mNavigation = mDevice.wait(Until.findObject(By.desc("Open navigation drawer")), TIMEOUT); in swipeRightLeft()
/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()
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/
DUiBenchJankHelper.java145 Until.findObject(By.desc("Open navigation drawer")), FIND_OBJECT_TIMEOUT); in swipeRightLeft()
/platform_testing/libraries/automotive-helpers/standard-app-helper/src/android/platform/helpers/
DAbstractAutoStandardAppHelper.java437 return By.desc( in getResourceFromConfig()

12