Home
last modified time | relevance | path

Searched refs:UiDevice (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DUtils.java23 import android.support.test.uiautomator.UiDevice;
44 UiDevice device = UiDevice.getInstance(instrumentation); in waitForActivity()
75 UiDevice device = UiDevice.getInstance(instrumentation); in getDeviceRotation()
93 UiDevice device = UiDevice.getInstance(instrumentation); in rotateDevice()
DWindowAnimationJankTestBase.java23 import android.support.test.uiautomator.UiDevice;
53 protected UiDevice getUiDevice() { in getUiDevice()
54 return UiDevice.getInstance(getInstrumentation()); in getUiDevice()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java25 import com.android.uiautomator.core.UiDevice;
43 public UiDevice getUiDevice() { in getUiDevice()
44 return UiDevice.getInstance(); in getUiDevice()
91 UiDevice.getInstance().initialize(new InstrumentationUiAutomatorBridge( in initialize()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java27 import com.android.uiautomator.core.UiDevice;
47 private UiDevice mUiDevice;
74 public UiDevice getUiDevice() { in getUiDevice()
102 void setUiDevice(UiDevice uiDevice) { in setUiDevice()
DUiAutomatorTestRunner.java34 import com.android.uiautomator.core.UiDevice;
65 private UiDevice mUiDevice;
133 mUiDevice = UiDevice.getInstance(); in start()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
DBaseBot.java24 import android.support.test.uiautomator.UiDevice;
35 final UiDevice mDevice;
39 BaseBot(UiDevice device, Context context, int timeout) { in BaseBot()
DKeyboardBot.java20 import android.support.test.uiautomator.UiDevice;
28 public KeyboardBot(UiDevice device, Context context, int timeout) { in KeyboardBot()
DRootsListBot.java20 import android.support.test.uiautomator.UiDevice;
41 public RootsListBot(UiDevice device, Context context, int timeout) { in RootsListBot()
DDirectoryListBot.java27 import android.support.test.uiautomator.UiDevice;
52 public DirectoryListBot(UiDevice device, Context context, int timeout) { in DirectoryListBot()
DUiBot.java26 import android.support.test.uiautomator.UiDevice;
49 public UiBot(UiDevice device, Context context, int timeout) { in UiBot()
/frameworks/base/packages/DocumentsUI/app-perf-tests/src/com/android/documentsui/
DFilesAppPerfTest.java27 import android.support.test.uiautomator.UiDevice;
50 private UiDevice mDevice;
54 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
DFilesJankPerfTest.java31 import android.support.test.uiautomator.UiDevice;
51 final UiDevice device = UiDevice.getInstance(getInstrumentation()); in setUpInLoop()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DActivityTest.java32 import android.support.test.uiautomator.UiDevice;
65 public UiDevice device;
108 device = UiDevice.getInstance(getInstrumentation()); in setUp()
178 private Bots(UiDevice device, Context context, int timeout) { in Bots()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java49 public class UiDevice { class
50 private static final String LOG_TAG = UiDevice.class.getSimpleName();
67 private static UiDevice sDevice;
69 private UiDevice() { in UiDevice() method in UiDevice
116 public static UiDevice getInstance() { in getInstance()
118 sDevice = new UiDevice(); in getInstance()
DUiObject.java103 return UiDevice.getInstance().getAutomatorBridge().getQueryController(); in getQueryController()
113 return UiDevice.getInstance().getAutomatorBridge().getInteractionController(); in getInteractionController()
176 UiDevice.getInstance().runWatchers(); in findAccessibilityNodeInfo()
344 int w = UiDevice.getInstance().getDisplayWidth(); in getVisibleBounds()
345 int h = UiDevice.getInstance().getDisplayHeight(); in getVisibleBounds()
/frameworks/base/core/tests/notificationtests/src/android/app/
DNotificationStressTest.java25 import android.support.test.uiautomator.UiDevice;
63 private UiDevice mDevice = null;
69 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DUiBot.java20 import android.support.test.uiautomator.UiDevice;
37 private final UiDevice mDevice;
40 public UiBot(UiDevice device, int timeout) { in UiBot()
DBugreportReceiverTest.java70 import android.support.test.uiautomator.UiDevice;
156 mUiBot = new UiBot(UiDevice.getInstance(instrumentation), TIMEOUT); in setUp()
/frameworks/base/docs/html/training/testing/ui-testing/
Duiautomator-testing.jd187 <a href="{@docRoot}reference/android/support/test/uiautomator/UiDevice.html">{@code UiDevice}</a>
189 <a href="{@docRoot}reference/android/support/test/uiautomator/UiDevice.html#getInstance(android.app…
196 <a href="{@docRoot}reference/android/support/test/uiautomator/UiDevice.html#findObject(android.supp…
217 <a href="{@docRoot}reference/android/support/test/uiautomator/UiDevice.html">{@code UiDevice}</a>
220 <a href="{@docRoot}reference/android/support/test/uiautomator/UiDevice.html">{@code UiDevice}</a>
223 <a href="{@docRoot}reference/android/support/test/uiautomator/UiDevice.html">{@code UiDevice}</a>
232 <a href="{@docRoot}reference/android/support/test/uiautomator/UiDevice.html">{@code UiDevice}</a>
238 import android.support.test.uiautomator.UiDevice;
251 private UiDevice mDevice;
255 // Initialize UiDevice instance
[all …]
/frameworks/base/cmds/uiautomator/api/
D16.txt11 public class UiDevice {
20 method public static com.android.uiautomator.core.UiDevice getInstance();
169 method public com.android.uiautomator.core.UiDevice getUiDevice();
D17.txt11 public class UiDevice {
21 method public static com.android.uiautomator.core.UiDevice getInstance();
187 method public com.android.uiautomator.core.UiDevice getUiDevice();
Dcurrent.txt25 public deprecated class UiDevice {
37 method public static com.android.uiautomator.core.UiDevice getInstance();
217 method public com.android.uiautomator.core.UiDevice getUiDevice();
/frameworks/base/docs/html/topic/libraries/testing-support-library/
Dindex.jd455 … <a href="{@docRoot}reference/android/support/test/uiautomator/UiDevice.html">{@code UiDevice}</a>
458 …e <a href="{@docRoot}reference/android/support/test/uiautomator/UiDevice.html">{@code UiDevice}</a>
480 For example, to simulate a Home button press, call the {@code UiDevice.pressHome()} method.
522 // Initialize UiDevice instance
523 mDevice = UiDevice.getInstance(getInstrumentation());