Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 18 of 18) 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.java359 int depth = 1; in skipCurrentTag() local
360 while (depth != 0) { in skipCurrentTag()
363 depth--; in skipCurrentTag()
366 depth++; in skipCurrentTag()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DQuickstepPressureRule.java57 if (!getUiDevice().wait(Until.hasObject(By.pkg(pkg).depth(0)), UI_RESPONSE_TIMEOUT_MSECS)) { in startActivity()
/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/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.java221 By.pkg(packageName).depth(0)), APP_LAUNCH_TIMEOUT); in verifyAppStart()
233 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/automotive/health/radio/src/android/platform/scenario/radio/
DTuneAndPlay.java47 assumeTrue(device.wait(Until.hasObject(By.pkg(pkgName).depth(0)), OPEN_RADIO_TIMEOUT_MS)); in checkApp()
/platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/
DGenericAppPermissionTests.java112 if (!mDevice.hasObject(By.pkg(PERMISSION_TEST_APP_PKG).depth(0))) { in testPermissionDialogAllow()
126 if (!mDevice.hasObject(By.pkg(PERMISSION_TEST_APP_PKG).depth(0))) { in testPermissionDialogDenyFlow()
/platform_testing/libraries/automotive-helpers/standard-app-helper/src/android/platform/helpers/
DAbstractAutoStandardAppHelper.java73 if (!mDevice.wait(Until.hasObject(By.pkg(pkg).depth(0)), 30000)) { in open()
343 protected List<UiObject2> findUiObjects(BySelector selector, int depth) { in findUiObjects() argument
348 mDevice.wait(Until.findObjects(selector.maxDepth(depth)), UI_RESPONSE_WAIT_MS); in findUiObjects()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DAbstractStandardAppHelper.java134 if (!mDevice.hasObject(By.pkg(pkg).depth(0))) { in open()
141 if (!mDevice.wait(Until.hasObject(By.pkg(pkg).depth(0)), mLaunchTimeout)) { in open()
232 return mDevice.hasObject(By.pkg(getPackage()).depth(0)); in isAppInForeground()
/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.java238 mDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), 60000)); in startAppFast()
/platform_testing/tests/functional/calculator/src/com/android/calculator/functional/
DCalculatorHelper.java60 if (!mDevice.hasObject(By.pkg(packageName).depth(0))) { in launchApp()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/helpers/
DStandardAppHelper.kt74 return By.pkg(expected).depth(0) in getAppSelector()
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTestHelper.java80 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()