Home
last modified time | relevance | path

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

12

/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.java19 import android.support.test.uiautomator.UiDevice;
51 protected UiDevice getUiDevice() { in getUiDevice()
52 return UiDevice.getInstance(getInstrumentation()); in getUiDevice()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DCommonTransitions.java33 import android.support.test.uiautomator.UiDevice;
53 private static void setRotation(UiDevice device, int rotation) { in setRotation()
75 static TransitionBuilder openAppWarm(IAppHelper testApp, UiDevice in openAppWarm()
93 static TransitionBuilder closeAppWithBackKey(IAppHelper testApp, UiDevice in closeAppWithBackKey()
108 static TransitionBuilder closeAppWithHomeKey(IAppHelper testApp, UiDevice in closeAppWithHomeKey()
124 UiDevice device, int beginRotation) { in openAppCold()
140 static TransitionBuilder changeAppRotation(IAppHelper testApp, UiDevice in changeAppRotation()
157 UiDevice in changeAppRotation()
178 static TransitionBuilder appToSplitScreen(IAppHelper testApp, UiDevice device, in appToSplitScreen()
196 static TransitionBuilder splitScreenToLauncher(IAppHelper testApp, UiDevice device) { in splitScreenToLauncher()
[all …]
DFlickerTestBase.java28 import android.support.test.uiautomator.UiDevice;
58 UiDevice mUiDevice;
65 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
DDebugTest.java20 import android.support.test.uiautomator.UiDevice;
47 private UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
/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/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/
DPipAppHelper.java23 import android.support.test.uiautomator.UiDevice;
33 public void clickEnterPipButton(UiDevice device) { in clickEnterPipButton()
43 public void closePipWindow(UiDevice device) { in closePipWindow()
DImeAppAutoFocusHelper.java20 import android.support.test.uiautomator.UiDevice;
28 public void clickEditTextWidget(UiDevice device) { in clickEditTextWidget()
DImeAppHelper.java23 import android.support.test.uiautomator.UiDevice;
36 public void clickEditTextWidget(UiDevice device) { in clickEditTextWidget()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java29 import com.android.uiautomator.core.UiDevice;
51 private UiDevice mUiDevice;
78 public UiDevice getUiDevice() { in getUiDevice()
106 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/core/tests/coretests/src/android/view/textclassifier/
DConfigParserTest.java21 import android.support.test.uiautomator.UiDevice;
133 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in clearDeviceConfig()
/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.java22 import android.support.test.uiautomator.UiDevice;
41 private final UiDevice mDevice;
46 mDevice = UiDevice.getInstance(instrumentation); in UiBot()
/frameworks/base/tests/ActivityManagerPerfTests/utils/src/com/android/frameworks/perftests/am/util/
DUtils.java22 import android.support.test.uiautomator.UiDevice;
41 return UiDevice.getInstance( in runShellCommand()
/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java24 import android.support.test.uiautomator.UiDevice;
41 private UiDevice mUiDevice;
56 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
DBinderProxyCountingTest.java27 import android.support.test.uiautomator.UiDevice;
92 private static UiDevice sUiDevice;
120 sUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUpOnce()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsUserLifecycleTests.java31 import android.support.test.uiautomator.UiDevice;
153 return UiDevice.getInstance( in executeShellCommand()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java33 import android.support.test.uiautomator.UiDevice;
95 private static UiDevice mUiDevice;
108 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUpOnce()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackChangedListenerTest.java44 import android.support.test.uiautomator.UiDevice;
102 UiDevice.getInstance(getInstrumentation()).waitForIdle(); in testTaskStackChanged_afterFinish()
/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();
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java36 import android.support.test.uiautomator.UiDevice;
67 private UiDevice mUiDevice = null;
239 mUiDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java54 import android.support.test.uiautomator.UiDevice;
113 private UiDevice mUiDevice;
182 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()

12