HomeSort by relevance Sort by last modified time
    Searched refs:uiDevice (Results 1 - 25 of 26) sorted by null

1 2

  /packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
UiDeviceUtils.java 19 import android.support.test.uiautomator.UiDevice;
23 * Static utility methods for {@link UiDevice}.
27 public static void pressDpad(UiDevice uiDevice, Direction direction) {
30 uiDevice.pressDPadUp();
33 uiDevice.pressDPadDown();
36 uiDevice.pressDPadLeft();
39 uiDevice.pressDPadRight();
47 public static void pressKeys(UiDevice uiDevice, int... keyCodes)
    [all...]
BaseUiDeviceHelper.java 19 import android.support.test.uiautomator.UiDevice;
25 protected final UiDevice mUiDevice;
28 public BaseUiDeviceHelper(UiDevice uiDevice, Resources targetResources) {
29 this.mUiDevice = uiDevice;
UiDeviceAsserts.java 26 import android.support.test.uiautomator.UiDevice;
33 * Asserts for {@link UiDevice}s.
37 public static void assertHas(UiDevice uiDevice, BySelector bySelector, boolean expected) {
38 assertEquals("Has " + bySelector, expected, uiDevice.hasObject(bySelector));
45 * @param uiDevice the device under test.
48 public static void assertWaitForCondition(UiDevice uiDevice,
50 assertWaitForCondition(uiDevice, searchCondition, Constants.MAX_SHOW_DELAY_MILLIS);
56 * @param uiDevice the device under test
    [all...]
DialogHelper.java 25 import android.support.test.uiautomator.UiDevice;
36 public DialogHelper(UiDevice uiDevice, Resources targetResources) {
37 super(uiDevice, targetResources);
LiveChannelsUiDeviceHelper.java 10 import android.support.test.uiautomator.UiDevice;
25 public LiveChannelsUiDeviceHelper(UiDevice uiDevice, Resources targetResources,
27 super(uiDevice, targetResources);
SidePanelHelper.java 23 import android.support.test.uiautomator.UiDevice;
36 public SidePanelHelper(UiDevice uiDevice, Resources targetResources) {
37 super(uiDevice, targetResources);
MenuHelper.java 25 import android.support.test.uiautomator.UiDevice;
39 public MenuHelper(UiDevice uiDevice, Resources targetResources) {
40 super(uiDevice, targetResources);
  /packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/
Utils.java 20 import android.support.test.uiautomator.UiDevice;
31 public static void pressKeysForChannelNumber(String channel, UiDevice uiDevice) {
32 UiDeviceUtils.pressKeys(uiDevice, channel);
33 uiDevice.pressDPadCenter();
  /packages/apps/Settings/tests/app/src/com/android/settings/tests/
SettingsRestoreAfterCloseTest.java 26 import android.support.test.uiautomator.UiDevice;
61 final UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation
63 uiDevice.pressHome();
66 startSettingsMainActivity(uiDevice);
69 uiDevice.pressHome();
70 final String launcherPackage = uiDevice.getLauncherPackageName();
71 uiDevice.wait(Until.hasObject(By.pkg(launcherPackage).depth(0)), TIME_OUT);
74 startSettingsMainActivity(uiDevice);
    [all...]
  /platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
LauncherStrategyFactory.java 18 import android.support.test.uiautomator.UiDevice;
34 private UiDevice mUiDevice;
38 private LauncherStrategyFactory(UiDevice uiDevice) {
39 mUiDevice = uiDevice;
54 * @param uiDevice
57 public static LauncherStrategyFactory getInstance(UiDevice uiDevice) {
59 sInstance = new LauncherStrategyFactory(uiDevice);
CommonLauncherHelper.java 24 import android.support.test.uiautomator.UiDevice;
41 private UiDevice mDevice;
43 private CommonLauncherHelper(UiDevice uiDevice) {
44 mDevice = uiDevice;
49 * @param uiDevice
52 public static CommonLauncherHelper getInstance(UiDevice uiDevice) {
54 sInstance = new CommonLauncherHelper(uiDevice);
ILauncherStrategy.java 20 import android.support.test.uiautomator.UiDevice;
26 * package, and a {@link UiDevice} instance will be provided via {@link #setUiDevice(UiDevice)}
39 * Injects a {@link UiDevice} instance for UI interactions
40 * @param uiDevice
42 public void setUiDevice(UiDevice uiDevice);
AospLauncherStrategy.java 21 import android.support.test.uiautomator.UiDevice;
39 private UiDevice mDevice;
164 public void setUiDevice(UiDevice uiDevice) {
165 mDevice = uiDevice;
BaseLauncher3Strategy.java 24 import android.support.test.uiautomator.UiDevice;
33 protected UiDevice mDevice;
39 public void setUiDevice(UiDevice uiDevice) {
40 mDevice = uiDevice;
WearLauncherStrategy.java 29 import android.support.test.uiautomator.UiDevice;
41 protected UiDevice mDevice;
56 public void setUiDevice(UiDevice uiDevice) {
57 mDevice = uiDevice;
TvLauncherStrategy.java 29 import android.support.test.uiautomator.UiDevice;
60 protected UiDevice mDevice;
90 public void setUiDevice(UiDevice uiDevice) {
91 mDevice = uiDevice;
LeanbackLauncherStrategy.java 29 import android.support.test.uiautomator.UiDevice;
48 protected UiDevice mDevice;
65 public void setUiDevice(UiDevice uiDevice) {
66 mDevice = uiDevice;
  /external/droiddriver/src/io/appium/droiddriver/instrumentation/
InstrumentationDriver.java 63 private final InstrumentationUiDevice uiDevice;
68 uiDevice = new InstrumentationUiDevice(context);
107 return uiDevice;
  /external/droiddriver/src/io/appium/droiddriver/uiautomation/
UiAutomationDriver.java 56 private final UiAutomationUiDevice uiDevice;
63 uiDevice = new UiAutomationUiDevice(context);
164 return uiDevice;
  /platform_testing/utils/dpad/src/android/platform/test/utils/
DPadUtil.java 23 import android.support.test.uiautomator.UiDevice;
34 private UiDevice mDevice;
38 mDevice = UiDevice.getInstance(instrumentation);
41 public DPadUtil(UiDevice uiDevice) {
42 mDevice = uiDevice;
45 public void setUiDevice(UiDevice uiDevice) {
46 mDevice = uiDevice;
  /frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
UiAutomatorTestCase.java 27 import com.android.uiautomator.core.UiDevice;
36 * {@link UiDevice} instance
47 private UiDevice mUiDevice;
70 * Get current instance of {@link UiDevice}. Works similar to calling the static
71 * {@link UiDevice#getInstance()} from anywhere in the test classes.
74 public UiDevice getUiDevice() {
100 * @param uiDevice
102 void setUiDevice(UiDevice uiDevice) {
103 mUiDevice = uiDevice;
    [all...]
  /cts/hostsidetests/content/test-apps/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/
CtsSyncAccountAccessOtherCertTestCases.java 38 import android.support.test.uiautomator.UiDevice;
120 UiDevice uiDevice = getUiDevice();
122 uiDevice.openNotification();
123 uiDevice.wait(Until.hasObject(By.text("Permission requested")),
126 uiDevice.findObject(By.text("Permission requested")).click();
127 uiDevice.wait(Until.hasObject(By.text("ALLOW")),
130 uiDevice.findObject(By.text("ALLOW")).click();
146 private UiDevice getUiDevice() {
147 return UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
    [all...]
  /cts/common/device-side/util/src/com/android/compatibility/common/util/devicepolicy/provisioning/
SilentProvisioningTestManager.java 29 import android.support.test.uiautomator.UiDevice;
138 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
139 uiDevice.wakeUp();
140 uiDevice.pressMenu();
  /cts/tests/tests/view/src/android/view/cts/surfacevalidator/
CapturedActivity.java 35 import android.support.test.uiautomator.UiDevice;
105 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
107 UiObject acceptButton = uiDevice.findObject(acceptButtonSelector);
  /prebuilts/misc/common/droiddriver/
droiddriver-1.0.0-BETA1.jar 

Completed in 824 milliseconds

1 2