/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 | 364 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/ |
D | AutoLauncherStrategy.java | 94 {"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)},
|
D | CommonLauncherHelper.java | 239 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()
|
D | LeanbackLauncherStrategy.java | 436 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()
|
D | TvLauncherStrategy.java | 672 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/ |
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 | 229 By.pkg(packageName).depth(0)), APP_LAUNCH_TIMEOUT); in verifyAppStart() 241 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/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/health/rules/src/android/platform/test/rule/ |
D | QuickstepPressureRule.java | 62 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/ |
D | LaunchAppUtils.kt | 53 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/ |
D | GenericAppPermissionTests.java | 114 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/ |
D | CalculatorHelper.java | 57 if (!mDevice.hasObject(By.pkg(packageName).depth(0))) { in launchApp()
|
/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 | 226 mDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), 60000)); in startAppFast()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | AbstractStandardAppHelper2.java | 287 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()
|
D | AbstractStandardAppHelper.java | 302 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/ |
D | StandardAppHelper.kt | 73 return By.pkg(expected).depth(0) in getAppSelector()
|
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/ |
D | DownloadAppTestHelper.java | 81 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()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/ |
D | SpectatioUiUtil.java | 481 return mDevice.hasObject(By.pkg(packageName).depth(0)); in hasPackageInForeground()
|