Home
last modified time | relevance | path

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

12

/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/
DAutomationUtils.java37 import android.support.test.uiautomator.UiDevice;
57 UiDevice device = UiDevice.getInstance(InstrumentationRegistry in wakeUpAndGoToHomeScreen()
84 public static boolean isQuickstepEnabled(UiDevice device) { in isQuickstepEnabled()
88 public static void openQuickstep(UiDevice device) { in openQuickstep()
127 static void clearRecents(UiDevice device) { in clearRecents()
148 private static BySelector getLauncherOverviewSelector(UiDevice device) { in getLauncherOverviewSelector()
152 private static void longPressRecents(UiDevice device) { in longPressRecents()
159 public static void launchSplitScreen(UiDevice device) { in launchSplitScreen()
187 public static void exitSplitScreen(UiDevice device) { in exitSplitScreen()
204 static void resizeSplitScreen(UiDevice device, Rational windowHeightRatio) { in resizeSplitScreen()
[all …]
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DCommonTransitions.java34 import android.support.test.uiautomator.UiDevice;
53 private static void setRotation(UiDevice device, int rotation) { in setRotation()
75 private static void clickEditTextWidget(UiDevice device, IAppHelper testApp) { in clickEditTextWidget()
81 private static void clickEnterPipButton(UiDevice device, IAppHelper testApp) { in clickEnterPipButton()
87 static TransitionBuilder openAppWarm(IAppHelper testApp, UiDevice in openAppWarm()
101 static TransitionBuilder closeAppWithBackKey(IAppHelper testApp, UiDevice in closeAppWithBackKey()
115 static TransitionBuilder closeAppWithHomeKey(IAppHelper testApp, UiDevice in closeAppWithHomeKey()
130 UiDevice device) { in getOpenAppCold()
142 static TransitionBuilder changeAppRotation(IAppHelper testApp, UiDevice in changeAppRotation()
158 UiDevice in changeAppRotation()
[all …]
DFlickerTestBase.java24 import android.support.test.uiautomator.UiDevice;
55 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
DDebugTest.java20 import android.support.test.uiautomator.UiDevice;
39 private UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
/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/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.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/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/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/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/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/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()
DBstatsCpuTimesValidationTest.java53 import android.support.test.uiautomator.UiDevice;
113 private static UiDevice sUiDevice;
123 sUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setupOnce()
/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.java39 import android.support.test.uiautomator.UiDevice;
96 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();
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/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java52 import android.support.test.uiautomator.UiDevice;
111 private UiDevice mUiDevice;
180 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()

12