/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
ShortcutsLaunchTest.java | 7 import android.support.test.uiautomator.By; 56 UiObject2 icon = scrollAndFind(appsContainer, By.text(settingsApp.getLabel().toString())); 69 assertTrue(mDevice.wait(Until.hasObject(By.pkg(
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
AddWidgetTest.java | 10 * Unless required by applicable law or agreed to in writing, software 20 import android.support.test.uiautomator.By; 75 UiObject2 widget = scrollAndFind(widgetContainer, By.clazz(WidgetCell.class) 76 .hasDescendant(By.text(widgetInfo.getLabel(mTargetContext.getPackageManager()))));
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/ |
BluetoothAnomalyTest.java | 9 * Unless required by applicable law or agreed to in writing, software distributed under the 24 import android.support.test.uiautomator.By; 83 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")), 104 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")),
|
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/ |
PermissionHelper.java | 10 * Unless required by applicable law or agreed to in writing, software 30 import android.support.test.uiautomator.By; 132 * Returns list of granted/denied permission asked by package 135 * for permissions currently denied by package 241 .wait(Until.findObject(By.res("android:id/list_container")), TIMEOUT); 295 UiObject2 navBackBtn = mDevice.wait(Until.findObject(By.descContains("Navigate up")), 306 mDevice.findObject(By.text(appName)).clickAndWait(Until.newWindow(), TIMEOUT); 307 mDevice.wait(Until.findObject(By.res("android:id/title").text("Permissions")), 321 .wait(Until.findObject(By.res("android:id/list_container")), TIMEOUT); 324 if (obj.hasObject(By.res("android:id/title").text(permission))) [all...] |
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/ |
SystemAppJankTests.java | 10 * Unless required by applicable law or agreed to in writing, software 26 import android.support.test.uiautomator.By; 66 Until.findObject(By.scrollable(true).res(YOUTUBE_PACKAGE, "guide")), LONG_TIMEOUT); 85 UiObject2 youtubeScreen = mDevice.wait( Until.findObject(By.scrollable(true)
|
/platform_testing/tests/jank/touch_latency_wear/src/com/android/wearable/touch/janktests/ |
TouchLatencyHelper.java | 10 * Unless required by applicable law or agreed to in writing, software 22 import android.support.test.uiautomator.By; 69 By.res(TOUCH_LATENCY_PKG, ACTION_SETTINGS_ID)), LONG_TIMEOUT_MS); 116 Until.findObject(By.res(launcherPackageName, resourceId)),
|
/platform_testing/tests/jank/webview/src/com/android/webview/chromium/tests/jank/ |
WebViewFlingTest.java | 10 * Unless required by applicable law or agreed to in writing, software 26 import android.support.test.uiautomator.By; 88 UiObject2 container = mDevice.findObject(By.res(RES_PACKAGE, "container")); 100 mDevice.findObject(By.res(RES_PACKAGE, "container")).fling(Direction.DOWN);
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
UiBot.java | 10 * Unless required by applicable law or agreed to in writing, software 43 import android.support.test.uiautomator.By; 97 static final BySelector DATASET_PICKER_SELECTOR = By.res("android", RESOURCE_ID_DATASET_PICKER); 98 private static final BySelector SAVE_UI_SELECTOR = By.res("android", RESOURCE_ID_SAVE_SNACKBAR); 100 By.res("android", RESOURCE_ID_DATASET_HEADER); 271 final UiObject2 dataset = picker.findObject(By.text(name)); 279 * Selects a view by text. 287 final UiObject2 object = waitForObject(By.text(name)); 302 final UiObject2 object = waitForObject(By.text(text), timeout); 314 final UiObject2 object = mDevice.findObject(By.text(text)) [all...] |
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
AboutPhoneSettingsTests.java | 10 * Unless required by applicable law or agreed to in writing, software 30 import android.support.test.uiautomator.By; 80 Until.findObject(By.res(SETTINGS_PACKAGE + ":id/main_content")), TIMEOUT); 111 UiObject2 item = device.wait(Until.findObject(By.text(itemText)), TIMEOUT); 138 Until.findObject(By.res(SETTINGS_PACKAGE + ":id/main_content")),
|
ConnectedDeviceTests.java | 10 * Unless required by applicable law or agreed to in writing, software 27 import android.support.test.uiautomator.By; 77 UiObject2 nfcSetting = mDevice.wait(Until.findObject(By.text("NFC")), TIMEOUT);
|
HomepageDisplayTests.java | 10 * Unless required by applicable law or agreed to in writing, software 28 import android.support.test.uiautomator.By; 88 Until.findObject(By.res(SETTINGS_PACKAGE, "main_content")),
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
CommonLauncherHelper.java | 10 * Unless required by applicable law or agreed to in writing, software 21 import android.support.test.uiautomator.By; 86 * Ensures that the described widget has enough visible portion by scrolling its container if 121 * Triggers app launch by interacting with its launcher icon as described, optionally verify 134 * Triggers app launch by interacting with its launcher icon as described, optionally verify 184 By.pkg(packageName).depth(0)), APP_LAUNCH_TIMEOUT); 196 return mDevice.hasObject(By.pkg(appPackage).depth(0)); 209 if (mDevice.hasObject(By.res("com.android.systemui", "keyguard_bottom_area"))) {
|
WearLauncherStrategy.java | 10 * Unless required by applicable law or agreed to in writing, software 26 import android.support.test.uiautomator.By; 106 return By.res(getSupportedLauncherPackage(), "watchface_overlay"); 116 return By.res(getSupportedLauncherPackage(), "launcher_view"); 120 * Retrieves the all apps drawer forward scroll direction as implemented by the launcher 175 BySelector app = By.res(
|
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/ |
SettingsJankTests.java | 10 * Unless required by applicable law or agreed to in writing, software 28 import android.support.test.uiautomator.By; 44 private static final BySelector SETTINGS_DASHBOARD = By.res(SETTINGS_PACKAGE, 73 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); 87 mDevice.wait(Until.findObject(By.text("SEE ALL")), TIMEOUT).click();
|
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/ |
WatchFaceHelper.java | 10 * Unless required by applicable law or agreed to in writing, software 20 import android.support.test.uiautomator.By; 140 UiObject2 watchFace = mDevice.wait(Until.findObject(By.text(watchFaceName)), SHORT_TIMEOUT); 145 watchFace = mDevice.wait(Until.findObject(By.desc(watchFaceName)), SHORT_TIMEOUT); 189 Until.findObject(By.res(PERMISSION_ALLOW_BUTTON_ID)),
|
AppLauncherFlingJankTest.java | 10 * Unless required by applicable law or agreed to in writing, software 26 import android.support.test.uiautomator.By; 71 * Test the jank by flinging in apps screen. 80 By.res("com.google.android.wearable.app","launcher_view")), SysAppTestHelper.SHORT_TIMEOUT);
|
QuickSettingsJankTest.java | 10 * Unless required by applicable law or agreed to in writing, software 24 import android.support.test.uiautomator.By; 61 Until.findObject(By.desc(QUICK_SETTINGS_LAUNCHED_INDICATOR)), 80 // Prepare device by pulling down the quick settings shade.
|
SettingsFlingJankTest.java | 10 * Unless required by applicable law or agreed to in writing, software 25 import android.support.test.uiautomator.By; 64 * Test the jank by flinging in settings screen. 71 By.res("android", "list")),
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mips/ |
cache.s | 3 # By default test CACHE.
|
/cts/tests/leanbackjank/src/android/leanbackjank/cts/ |
CtsDeviceLeanback.java | 9 * Unless required by applicable law or agreed to in writing, software distributed under the License 25 import android.support.test.uiautomator.By; 77 if (!getUiDevice().wait(Until.hasObject(By.pkg(APP_PACKAGE)), WAIT_TIMEOUT)) {
|
/external/curl/docs/cmdline-opts/ |
fail-early.d | 8 attempt to operate on each given URL, one by one. By default, it will ignore 10 the error code curl returns. So early failures will be "hidden" by subsequent 15 line. This way, no transfer failures go undetected by scripts and similar. 21 is not global and is therefore contained by --next.
|
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/ |
DashboardSummaryInstrumentationTest.java | 10 * Unless required by applicable law or agreed to in writing, software 31 import android.support.test.uiautomator.By; 69 final UiObject2 item = mDevice.wait(Until.findObject(By.res("android:id/title")
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
WifiTetherSettingsTest.java | 10 * Unless required by applicable law or agreed to in writing, software 24 import android.support.test.uiautomator.By; 77 UiObject2 item = mDevice.wait(Until.findObject(By.text("Wi?Fi hotspot")), TIMEOUT);
|
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/ |
DownloadAppTestHelper.java | 10 * Unless required by applicable law or agreed to in writing, software 31 import android.support.test.uiautomator.By; 80 if (!mDevice.hasObject(By.pkg(packageName).depth(0))) { 85 /** sort items in Download app by name, size, time */ 88 .wait(Until.findObject(By.res(PACKAGE_NAME, "menu_sort")), 200); 90 mDevice.wait(Until.findObject(By.desc("More options")), 200).click(); 91 sortMenu = mDevice.wait(Until.findObject(By.res("android:id/submenuarrow")), 200); 94 mDevice.wait(Until.findObject(By.text(String.format("By %s", sortby))), 200).click(); 100 List<UiObject2> itmesList = mDevice.wait(Until.findObjects(By.res("android:id/title")) [all...] |
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
UiBenchTransitionsJankTests.java | 10 * Unless required by applicable law or agreed to in writing, software 25 import android.support.test.uiautomator.By; 64 By.res(mHelper.PACKAGE_NAME, imageName)), mHelper.TIMEOUT);
|