HomeSort by relevance Sort by last modified time
    Searched refs:Until (Results 26 - 50 of 150) sorted by null

12 3 4 5 6

  /platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
BaseLauncher3Strategy.java 26 import android.support.test.uiautomator.Until;
52 if (!mDevice.wait(Until.hasObject(getHotSeatSelector()), 5000)) {
90 mDevice.wait(Until.findObject(getAllAppsButtonSelector()), 2000);
93 // wait until hotseat disappears, so that we know that we are no longer on home screen
94 mDevice.wait(Until.gone(getHotSeatSelector()), 2000);
97 UiObject2 allAppsContainer = mDevice.wait(Until.findObject(getAllAppsSelector()), 2000);
127 Until.findObject(getAllWidgetsSelector()), 2000);
AllAppsScreenHelper.java 32 import android.support.test.uiautomator.Until;
67 mDevice.wait(Until.hasObject(By.res(getLauncherPackage(), allApps)), TIMEOUT);
73 UiObject2 searchBoxObject = mDevice.wait(Until.findObject
78 + appName, mDevice.wait(Until.findObject
  /platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
NotificationBundlingTests.java 25 import android.support.test.uiautomator.Until;
77 Until.findObject(By.res("com.android.systemui", "notification_title")),
80 mDevice.wait(Until.findObject(By.res("android:id/expand_button")), LONG_TIMEOUT).click();
81 obj = mDevice.wait(Until.findObject(By.textContains(lists.get(1).toString())),
109 mDevice.wait(Until.findObject(By.res("android:id/expand_button")), LONG_TIMEOUT).click();
122 Until.findObject(By.textContains(text)),
NotificationSecurityLargeTests.java 24 import android.support.test.uiautomator.Until;
72 assertFalse(mDevice.wait(Until.hasObject(By.res("android:id/title").text(title)),
84 Until.findObject(By.res("android:id/title").text("Contents hidden")));
  /packages/apps/Settings/tests/app/src/com/android/settings/tests/
SettingsRestoreAfterCloseTest.java 27 import android.support.test.uiautomator.Until;
71 uiDevice.wait(Until.hasObject(By.pkg(launcherPackage).depth(0)), TIME_OUT);
80 uiDevice.wait(Until.hasObject(By.pkg(PACKAGE_SETTINGS).depth(0)), TIME_OUT);
  /platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
UiBenchTextJankTests.java 28 import android.support.test.uiautomator.Until;
74 mHelper.mContents = mDevice.wait(Until.findObject(
91 mHelper.mContents = mDevice.wait(Until.findObject(
UiBenchTransitionsJankTests.java 28 import android.support.test.uiautomator.Until;
63 UiObject2 image = mDevice.wait(Until.findObject(
66 image.clickAndWait(Until.newWindow(), mHelper.TIMEOUT);
UiBenchRenderingJankTests.java 28 import android.support.test.uiautomator.Until;
73 mHelper.mContents = mDevice.wait(Until.findObject(
UiBenchWebView.java 27 import android.support.test.uiautomator.Until;
57 mHelper.mContents = mDevice.wait(Until.findObject(
  /packages/apps/Contacts/tests/src/com/android/contacts/
NoPermissionsLaunchSmokeTest.java 18 import android.support.test.uiautomator.Until;
76 device.wait(Until.hasObject(By.textStartsWith("Allow Contacts")), TIMEOUT);
81 device.wait(Until.hasObject(By.textEndsWith("make and manage phone calls?")), TIMEOUT);
91 grantPhonePermissionButton.clickAndWait(Until.newWindow(), TIMEOUT);
  /platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
AccessibilityScannerHelper.java 30 import android.support.test.uiautomator.Until;
125 UiObject2 swt = mDevice.wait(Until.findObject(
134 UiObject2 okBtn = mDevice.wait(Until.findObject(By.text("OK")), SHORT_TIMEOUT);
150 UiObject2 auth1 = mDevice.wait(Until.findObject(
155 UiObject2 chk = mDevice.wait(Until.findObject(
161 UiObject2 auth2 = mDevice.wait(Until.findObject(
166 UiObject2 tapOk = mDevice.wait(Until.findObject(
195 Until.findObject(By.text("GET STARTED")), SHORT_TIMEOUT);
198 UiObject2 msg = mDevice.wait(Until.findObject(
204 mDevice.wait(Until.findObject(By.text("OK, GOT IT")), SCANNER_WAIT_TIME).click()
    [all...]
  /platform_testing/libraries/system-helpers/account-helper/src/android/system/helpers/
AccountHelper.java 26 import android.support.test.uiautomator.Until;
71 UiObject2 deviceBackup = mDevice.wait(Until.findObject(By.text(pattern)),
100 Until.findObject(By.text("Backup & reset")),
106 Until.findObject(By.res("android","button_always")),
  /platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
UiBenchRenderingJankTests.java 31 import android.support.test.uiautomator.Until;
93 UiObject2 shadowGridContents = mDevice.wait(Until.findObject(
98 shadowGridContents = mDevice.wait(Until.findObject(
102 shadowGridContents = mDevice.wait(Until.findObject(
  /platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
OverviewHelper.java 31 import android.support.test.uiautomator.Until;
78 return mDevice.wait(Until.findObject(By.res(RECENTS)), TIMEOUT);
130 crashDialog.clickAndWait(Until.newWindow(), 2000);
165 UiObject2 recentsView = mDevice.wait(Until.findObject
168 if (!mDevice.wait(Until.hasObject(By.text("No recent items")),TIMEOUT)) {
171 UiObject2 clearAll = mDevice.wait(Until.findObject(By.text("CLEAR ALL")),TIMEOUT);
183 UiObject2 appObject = mDevice.wait(Until.findObject
193 mDevice.wait(Until.hasObject(By.pkg(appPackageName)
222 UiObject2 appArea = mDevice.wait(Until.findObject(By.pkg(topAppPackageName)
HotseatHelper.java 26 import android.support.test.uiautomator.Until;
63 UiObject2 appLoaded = mDevice.wait(Until.findObject(By.pkg(appPackage)), TIMEOUT * 2);
QuickSettingsHelper.java 26 import android.support.test.uiautomator.Until;
84 UiObject2 quickSettingEdit = mDevice.wait(Until.findObject
92 UiObject2 quickSettingTileObject = mDevice.wait(Until.findObject
94 Point destination = mDevice.wait(Until.findObject
106 mDevice.wait(Until.findObject(By.descContains("Navigate up")), LONG_TIMEOUT);
  /packages/apps/Contacts/tests/src/com/android/contacts/activities/
SimImportActivityTest.java 48 import android.support.test.uiautomator.Until;
143 assertTrue(mDevice.wait(Until.hasObject(By.text("Sim One")), TIMEOUT));
159 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("No contacts")), TIMEOUT));
170 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("No contacts")), TIMEOUT));
176 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("No contacts")), TIMEOUT));
188 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("Name One")), TIMEOUT));
194 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("Name One")), TIMEOUT));
260 assertTrue(mDevice.wait(Until.hasObject(By.desc("Show more")), TIMEOUT));
262 mDevice.findObject(By.desc("Show more")).clickAndWait(Until.newWindow(), TIMEOUT);
265 assertTrue(mDevice.wait(Until.hasObject(By.text("Skip Two")), TIMEOUT))
    [all...]
  /platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/
PermissionHelper.java 33 import android.support.test.uiautomator.Until;
228 .wait(Until.findObject(By.res("android:id/list_container")), TIMEOUT);
281 && ((app = mDevice.wait(Until.findObject(By.res("android:id/title").text("Apps")),
283 view = mDevice.wait(Until.findObject(By.res(SETTINGS_PACKAGE, "main_content")),
289 mDevice.wait(Until.findObject(By.res("android:id/title").text("Apps")),
291 .clickAndWait(Until.newWindow(), TIMEOUT);
296 && ((app = mDevice.wait(Until.findObject(By.res("android:id/title").text(appName)),
298 view = mDevice.wait(Until.findObject(By.res("com.android.settings:id/main_content")),
303 app.clickAndWait(Until.newWindow(), TIMEOUT);
304 mDevice.wait(Until.findObject(By.res("android:id/title").text("Permissions"))
    [all...]
  /cts/tests/jank/src/android/jank/cts/ui/
CtsDeviceJankUi.java 25 import android.support.test.uiautomator.Until;
46 getUiDevice().wait(Until.hasObject(By.pkg(PACKAGE)), DEFAULT_ANIMATION_TIME);
  /packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
AllAppsAppLaunchTest.java 7 import android.support.test.uiautomator.Until;
49 assertTrue(mDevice.wait(Until.hasObject(By.pkg(
AllAppsIconToHomeTest.java 7 import android.support.test.uiautomator.Until;
55 assertTrue(mDevice.wait(Until.hasObject(By.pkg(
  /packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
ProgramGuidePerformanceTest.java 22 import android.support.test.uiautomator.Until;
45 assertWaitForCondition(mDevice, Until.hasObject(Constants.PROGRAM_GUIDE));
  /platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/
OverviewHelper.java 38 import android.support.test.uiautomator.Until;
88 return mDevice.wait(Until.findObject(By.res(RECENTS)), TIMEOUT);
129 UiObject2 recentsView = mDevice.wait(Until.findObject
132 if (!mDevice.wait(Until.hasObject(By.text("No recent items")),TIMEOUT)) {
135 UiObject2 clearAll = mDevice.wait(Until.findObject(By.text("CLEAR ALL")),TIMEOUT);
147 UiObject2 appObject = mDevice.wait(Until.findObject
157 mDevice.wait(Until.hasObject(By.pkg(appPackageName)
187 UiObject2 appArea = mDevice.wait(Until.findObject(By.pkg(topAppPackageName)
  /platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
SystemUiJankTests.java 30 import android.support.test.uiautomator.Until;
66 .wait(Until.findObject(By.res(TVLAUNCHER_PACKAGE, "home_view_container")),
113 mDevice.wait(Until.hasObject(
127 Until.hasObject(By.res(SETTINGS_PACKAGE, "settings_preference_fragment_container")),
152 * in a given {@link Direction} until it finds a matched element.
159 UiObject2 focus = mDevice.wait(Until.findObject(By.focused(true)), SHORT_TIMEOUT);
160 while (!mDevice.wait(Until.hasObject(selector), timeoutMs)) {
164 focus = mDevice.wait(Until.findObject(By.focused(true)), SHORT_TIMEOUT);
168 focus = mDevice.wait(Until.findObject(By.focused(true)), SHORT_TIMEOUT);
172 Log.d(TAG, "select: not found until it reaches to an end.")
    [all...]
  /cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerThrottlingTest.java 31 import android.support.test.uiautomator.Until;
116 final UiObject2 clearAll = ud.wait(Until.findObject(By.text("CLEAR ALL")), UI_TIMEOUT);
121 ud.wait(Until.gone(By.text("CLEAR ALL")), UI_TIMEOUT);
137 ud.wait(Until.findObject(By.text(INLINE_REPLY_REMOTE_INPUT_CAPTION)), UI_TIMEOUT).click();
150 ud.wait(Until.gone(By.text(INLINE_REPLY_REMOTE_INPUT_CAPTION)), UI_TIMEOUT);

Completed in 463 milliseconds

12 3 4 5 6