/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 | 129 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in isInOverview() 161 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()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/ |
D | AospLauncherStrategy.java | 68 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()
|
D | GoogleExperienceLauncherStrategy.java | 34 return By.desc("Apps"); in getAllAppsButtonSelector()
|
D | BaseLauncher3Strategy.java | 122 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in isInOverview() 154 BySelector noRecentItemsSelector = getOverviewSelector().desc("No recent items"); in clearRecentAppsFromOverview()
|
D | LeanbackLauncherStrategy.java | 140 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/ |
D | RecentsTests.java | 73 (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()
|
D | OverviewHelper.java | 139 (By.desc(appName)),TIMEOUT); in dockAppToTopMultiwindowSlot()
|
/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/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | BaseMetricListener.java | 494 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()
|
D | LogcatCollector.java | 101 mTestIterations.computeIfPresent(description, (desc, iteration) -> iteration + 1); in onTestStart() 102 mTestIterations.computeIfAbsent(description, desc -> 1); in onTestStart()
|
D | GcaEventLogCollector.java | 130 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/ |
D | YouTubeAppHelper.kt | 83 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()
|
D | NetflixAppHelper.kt | 49 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/ |
D | HotseatHelper.java | 60 .desc(textAppName)); in launchAppFromHotseat()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/ |
D | UiElement.java | 133 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/ |
D | ScheduledRunMetricListenerTest.java | 51 public void collect(DataRecord runData, Description desc) throws InterruptedException { in setUp()
|
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/ |
D | DownloadAppTests.java | 147 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/ |
D | AuptTestCase.java | 217 if (mDevice.hasObject(By.desc("Slide area."))) { in checkForCondition()
|
/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/tests/jank/uibench/src/com/android/uibench/janktests/ |
D | UiBenchJankTestsHelper.java | 135 mNavigation = mDevice.wait(Until.findObject(By.desc("Open navigation drawer")), TIMEOUT); in swipeRightLeft()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | AbstractStandardAppHelper2.java | 516 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/ |
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()
|