Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 23 of 23) sorted by relevance

/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DStacktrace.java60 StackTraceElement[] elements, int depth, boolean includeLineNumber) { in buildClassMethodName() argument
61 depth = Math.min(depth, elements.length - 1); in buildClassMethodName()
63 builder.append(elements[depth].getClassName()).append("#") in buildClassMethodName()
64 .append(elements[depth].getMethodName()); in buildClassMethodName()
66 builder.append(":").append(elements[depth].getLineNumber()); in buildClassMethodName()
DResultHandler.java364 int depth = 1; in skipCurrentTag() local
365 while (depth != 0) { in skipCurrentTag()
368 depth--; in skipCurrentTag()
371 depth++; in skipCurrentTag()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DAutoLauncherStrategy.java94 {"Maps", By.pkg(MAPS_PACKAGE).depth(0)},
95 {"Media", By.pkg(MEDIA_PACKAGE).depth(0)},
96 {"Radio", By.pkg(RADIO_PACKAGE).depth(0)},
97 {"Dial", By.pkg(DIAL_PACKAGE).depth(0)},
101 {"Settings", By.pkg(SETTINGS_PACKAGE).depth(0)},
DCommonLauncherHelper.java239 mDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), APP_LAUNCH_TIMEOUT); in verifyAppStart()
251 return mDevice.hasObject(By.pkg(appPackage).depth(0)); in isAppOpen()
DLeanbackLauncherStrategy.java436 if (!mDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), APP_LAUNCH_TIMEOUT)) { in launchApp()
446 mDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), APP_LAUNCH_TIMEOUT); in launchApp()
530 return mDevice.hasObject(By.pkg(appPackage).depth(0)); in isAppOpen()
DTvLauncherStrategy.java672 BySelector appMain = By.pkg(packageName).depth(0);
716 BySelector appMain = By.pkg(packageName).depth(0);
751 return mDevice.hasObject(By.pkg(appPackage).depth(0));
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAutoLauncherStrategy.java83 {"Maps", By.pkg(MAPS_PACKAGE).depth(0)},
84 {"Media", By.pkg(MEDIA_PACKAGE).depth(0)},
85 {"Radio", By.pkg(RADIO_PACKAGE).depth(0)},
86 {"Dial", By.pkg(DIAL_PACKAGE).depth(0)},
90 {"Settings", By.pkg(SETTINGS_PACKAGE).depth(0)},
DCommonLauncherHelper.java229 By.pkg(packageName).depth(0)), APP_LAUNCH_TIMEOUT); in verifyAppStart()
241 return mDevice.hasObject(By.pkg(appPackage).depth(0)); in isAppOpen()
DLeanbackLauncherStrategy.java474 if (!mDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), APP_LAUNCH_TIMEOUT)) { in launchApp()
483 By.pkg(packageName).depth(0)), APP_LAUNCH_TIMEOUT); in launchApp()
564 return mDevice.hasObject(By.pkg(appPackage).depth(0)); in isAppOpen()
DTvLauncherStrategy.java703 BySelector appMain = By.pkg(packageName).depth(0);
743 BySelector appMain = By.pkg(packageName).depth(0);
777 return mDevice.hasObject(By.pkg(appPackage).depth(0));
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/performancelaunch/hermeticapp/
DPerformanceBase.java49 mDevice.wait(Until.hasObject(By.pkg(PACKAGE).depth(0)), 5000); in open()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DQuickstepPressureRule.java62 if (!getUiDevice().wait(Until.hasObject(By.pkg(pkg).depth(0)), UI_RESPONSE_TIMEOUT_MSECS)) { in startActivity()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DLaunchAppUtils.kt53 check(device.wait(Until.hasObject(By.pkg(packageName).depth(0)), MAX_TIMEOUT.toMillis())) { in assertAppInForeground()
/platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/
DGenericAppPermissionTests.java114 if (!mDevice.hasObject(By.pkg(PERMISSION_TEST_APP_PKG).depth(0))) { in testPermissionDialogAllow()
128 if (!mDevice.hasObject(By.pkg(PERMISSION_TEST_APP_PKG).depth(0))) { in testPermissionDialogDenyFlow()
/platform_testing/tests/functional/calculator/src/com/android/calculator/functional/
DCalculatorHelper.java57 if (!mDevice.hasObject(By.pkg(packageName).depth(0))) { in launchApp()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSettingsJankTests.java76 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); in setUp()
DLauncherJankTests.java226 mDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), 60000)); in startAppFast()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DAbstractStandardAppHelper2.java287 if (!mDevice.hasObject(By.pkg(pkg).depth(0))) { in open()
297 if (!mDevice.wait(Until.hasObject(By.pkg(pkg).depth(0)), mLaunchTimeout)) { in open()
428 return mDevice.hasObject(By.pkg(getPackage()).depth(0)); in isAppInForeground()
DAbstractStandardAppHelper.java302 if (!mDevice.hasObject(By.pkg(pkg).depth(0))) { in open()
312 if (!mDevice.wait(Until.hasObject(By.pkg(pkg).depth(0)), mLaunchTimeout)) { in open()
469 return mDevice.hasObject(By.pkg(getPackage()).depth(0)); in isAppInForeground()
/platform_testing/libraries/flicker/appHelpers/src/android/tools/device/apphelpers/
DStandardAppHelper.kt73 return By.pkg(expected).depth(0) in getAppSelector()
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTestHelper.java81 if (!mDevice.hasObject(By.pkg(packageName).depth(0))) { in launchApp()
/platform_testing/libraries/app-helpers/interfaces/tv/src/android/platform/helpers/
DAbstractLeanbackAppHelper.java151 return mDevice.wait(Until.hasObject(By.pkg(getPackage()).depth(0)), timeoutMs); in waitForOpen()
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/
DSpectatioUiUtil.java481 return mDevice.hasObject(By.pkg(packageName).depth(0)); in hasPackageInForeground()