/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | Stacktrace.java | 60 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()
|
D | ResultHandler.java | 359 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/ |
D | QuickstepPressureRule.java | 57 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/ |
D | PerformanceBase.java | 49 mDevice.wait(Until.hasObject(By.pkg(PACKAGE).depth(0)), 5000); in open()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | AutoLauncherStrategy.java | 83 {"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)},
|
D | CommonLauncherHelper.java | 221 By.pkg(packageName).depth(0)), APP_LAUNCH_TIMEOUT); in verifyAppStart() 233 return mDevice.hasObject(By.pkg(appPackage).depth(0)); in isAppOpen()
|
D | LeanbackLauncherStrategy.java | 474 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()
|
D | TvLauncherStrategy.java | 703 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/ |
D | TuneAndPlay.java | 47 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/ |
D | GenericAppPermissionTests.java | 112 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/ |
D | AbstractAutoStandardAppHelper.java | 73 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/ |
D | AbstractStandardAppHelper.java | 134 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/ |
D | SettingsJankTests.java | 76 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); in setUp()
|
D | LauncherJankTests.java | 238 mDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), 60000)); in startAppFast()
|
/platform_testing/tests/functional/calculator/src/com/android/calculator/functional/ |
D | CalculatorHelper.java | 60 if (!mDevice.hasObject(By.pkg(packageName).depth(0))) { in launchApp()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/helpers/ |
D | StandardAppHelper.kt | 74 return By.pkg(expected).depth(0) in getAppSelector()
|
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/ |
D | DownloadAppTestHelper.java | 80 if (!mDevice.hasObject(By.pkg(packageName).depth(0))) { in launchApp()
|
/platform_testing/libraries/app-helpers/interfaces/tv/src/android/platform/helpers/ |
D | AbstractLeanbackAppHelper.java | 151 return mDevice.wait(Until.hasObject(By.pkg(getPackage()).depth(0)), timeoutMs); in waitForOpen()
|