/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | AospLauncherStrategy.java | 72 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()
|
D | GoogleExperienceLauncherStrategy.java | 38 return By.desc("Apps"); in getAllAppsButtonSelector()
|
D | BaseLauncher3Strategy.java | 125 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in isInOverview() 157 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in clearRecentAppsFromOverview()
|
D | LeanbackLauncherStrategy.java | 156 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()
|
D | TvLauncherStrategy.java | 315 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/ |
D | FacebookAppHelperImpl.java | 102 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/ |
D | RecentsTests.java | 85 (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()
|
D | OverviewHelper.java | 148 (By.desc(appName)),TIMEOUT); in dockAppToTopMultiwindowSlot()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | BaseMetricListener.java | 418 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()
|
D | LogcatCollector.java | 102 mTestIterations.computeIfPresent(description, (desc, iteration) -> iteration + 1); in onTestStart() 103 mTestIterations.computeIfAbsent(description, desc -> 1); in onTestStart()
|
D | GcaEventLogCollector.java | 131 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/ |
D | HotseatHelper.java | 60 .desc(textAppName)); in launchAppFromHotseat()
|
D | OverviewHelper.java | 186 (By.desc(appName)),TIMEOUT); in dockAppToTopMultiwindowSlot()
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | ScheduledRunMetricListenerTest.java | 51 public void collect(DataRecord runData, Description desc) throws InterruptedException { in setUp()
|
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/ |
D | QuickSettingsJankTest.java | 62 Until.findObject(By.desc(QUICK_SETTINGS_LAUNCHED_INDICATOR)), in isQuickSettingShadeLaunched()
|
D | WatchFaceHelper.java | 145 watchFace = mDevice.wait(Until.findObject(By.desc(watchFaceName)), SHORT_TIMEOUT); in selectWatchFaceFromFullList()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | AbstractStandardAppHelper.java | 321 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/ |
D | DownloadAppTests.java | 146 By.desc("More options")), mDLAppHelper.TIMEOUT)) == null && counter-- > 0) in testCABMenuShow() 150 By.desc("Done")), mDLAppHelper.TIMEOUT)) == null && counter-- > 0) in testCABMenuShow()
|
D | DownloadAppTestHelper.java | 90 mDevice.wait(Until.findObject(By.desc("More options")), 200).click(); in sortByParam()
|
/platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/ |
D | DialerJankTests.java | 97 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/ |
D | AuptTestCase.java | 234 if (mDevice.hasObject(By.desc("Slide area."))) { in checkForCondition()
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
D | UiBenchJankTestsHelper.java | 134 mNavigation = mDevice.wait(Until.findObject(By.desc("Open navigation drawer")), TIMEOUT); in swipeRightLeft()
|
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/ |
D | SettingsHelper.java | 586 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/ |
D | UiBenchJankHelper.java | 145 Until.findObject(By.desc("Open navigation drawer")), FIND_OBJECT_TIMEOUT); in swipeRightLeft()
|
/platform_testing/libraries/automotive-helpers/standard-app-helper/src/android/platform/helpers/ |
D | AbstractAutoStandardAppHelper.java | 437 return By.desc( in getResourceFromConfig()
|