Home
last modified time | relevance | path

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

1234567

/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DDisableAutofillRule.java22 import androidx.test.uiautomator.UiDevice;
38 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in starting()
52 UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) in finished()
DBaseOrientationRule.kt29 import androidx.test.uiautomator.UiDevice
54 val UiDevice.orientation: Orientation constant
62 val UiDevice.naturalOrientation: Orientation constant
75 private val UiDevice.stableOrientation: Orientation constant
99 private val device: UiDevice =
100 UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
DFailureWatcher.java22 import androidx.test.uiautomator.UiDevice;
32 private final UiDevice mDevice;
35 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in FailureWatcher()
61 static String getSystemAnomalyMessage(UiDevice device) {
/platform_testing/libraries/flicker/utils/src/android/tools/helpers/
DAutomationUtils.kt40 import androidx.test.uiautomator.UiDevice
69 fun UiDevice.isQuickstepEnabled(): Boolean { in isQuickstepEnabled() method
76 fun UiDevice.isRotated(): Boolean { in UiDevice() method
85 fun UiDevice.openQuickstep(wmHelper: WindowManagerStateHelper) { in openQuickstep() method
142 private fun getLauncherOverviewSelector(device: UiDevice): BySelector { in getLauncherOverviewSelector()
146 private fun longPressRecents(device: UiDevice) { in longPressRecents()
154 fun UiDevice.waitForIME(): Boolean { in UiDevice() method
160 device: UiDevice, in openQuickStepAndLongPressOverviewIcon()
178 fun UiDevice.openQuickStepAndClearRecentAppsFromOverview(wmHelper: WindowManagerStateHelper) { in openQuickStepAndClearRecentAppsFromOverview() method
209 fun UiDevice.launchSplitScreen(wmHelper: WindowManagerStateHelper) { in UiDevice() method
[all …]
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DDeviceConfigHelper.java20 import androidx.test.uiautomator.UiDevice;
29 UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setConfigValue()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DNavigationControlHelper.java22 import androidx.test.uiautomator.UiDevice;
30 private static final UiDevice sDevice =
31 UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/codelab/answers/
DOpenCalculator.java19 import android.support.test.uiautomator.UiDevice;
39 private static UiDevice mDevice;
56 private static UiDevice getUiDevice() { in getUiDevice()
58 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in getUiDevice()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DGarbageCollectionHelper.java23 import androidx.test.uiautomator.UiDevice;
41 private UiDevice mUiDevice;
54 protected UiDevice initUiDevice() { in initUiDevice()
55 return UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in initUiDevice()
DMemhogHelper.java21 import androidx.test.uiautomator.UiDevice;
45 private UiDevice mUiDevice;
49 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in startMemhog()
54 UiDevice uiDevice = in startMemhog()
55 UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in startMemhog()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DUiWatchers.java23 import androidx.test.uiautomator.UiDevice;
43 final UiDevice device = UiDevice.getInstance(instr); in registerAnrAndCrashWatchers()
80 final UiDevice device = UiDevice.getInstance(instr); in removeAnrAndCrashWatchers()
104 public void postHandler(UiDevice device) { in postHandler()
/platform_testing/libraries/collectors-helper/simpleperf/test/src/com/android/helpers/tests/
DSimpleperfHelperTest.java23 import androidx.test.uiautomator.UiDevice;
57 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in teardown()
89 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in testSimpleperfSuccess()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/ui/
DUiAutomatorUtils.java23 import androidx.test.uiautomator.UiDevice;
43 public static UiDevice getUiDevice() { in getUiDevice()
44 return UiDevice.getInstance(getInstrumentation()); in getUiDevice()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DLauncherStrategyFactory.java21 import androidx.test.uiautomator.UiDevice;
36 private UiDevice mUiDevice;
41 private LauncherStrategyFactory(UiDevice uiDevice) { in LauncherStrategyFactory()
63 return getInstance(UiDevice.getInstance(instrumentation)); in getInstance()
72 public static LauncherStrategyFactory getInstance(UiDevice uiDevice) { in getInstance()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DLauncherStrategyFactory.java19 import android.support.test.uiautomator.UiDevice;
35 private UiDevice mUiDevice;
40 private LauncherStrategyFactory(UiDevice uiDevice) { in LauncherStrategyFactory()
62 return getInstance(UiDevice.getInstance(instrumentation)); in getInstance()
70 public static LauncherStrategyFactory getInstance(UiDevice uiDevice) { in getInstance()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DSetBatteryPercentageVisibleRuleTest.java24 import androidx.test.uiautomator.UiDevice;
73 private UiDevice mUiDevice;
78 mUiDevice = Mockito.mock(UiDevice.class); in TestableSetBatteryPercentageVisibleRule()
91 protected UiDevice getUiDevice() { in getUiDevice()
DCancelNotificationRuleTest.java27 import androidx.test.uiautomator.UiDevice;
64 private UiDevice mDevice;
68 mDevice = Mockito.mock(UiDevice.class); in TestableCancelNotificationRule()
78 protected UiDevice getUiDevice() { in getUiDevice()
DPressHomeRuleTest.java24 import androidx.test.uiautomator.UiDevice;
83 private UiDevice mUiDevice;
87 mUiDevice = Mockito.mock(UiDevice.class); in TestablePressHomeRule()
97 protected UiDevice getUiDevice() { in getUiDevice()
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/system/
DScreenOn.java23 import android.support.test.uiautomator.UiDevice;
40 private UiDevice mDevice;
44 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/watchers/
DAppIsNotRespondingWatcher2.java23 import androidx.test.uiautomator.UiDevice;
29 private final UiDevice mDevice;
36 mDevice = UiDevice.getInstance(instrumentation); in AppIsNotRespondingWatcher2()
DAppIsNotRespondingWatcher.java22 import android.support.test.uiautomator.UiDevice;
29 private final UiDevice mDevice;
36 mDevice = UiDevice.getInstance(instrumentation); in AppIsNotRespondingWatcher()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DDeviceHelpers.kt34 import androidx.test.uiautomator.UiDevice
49 val uiDevice: UiDevice
50 get() = UiDevice.getInstance(instrumentationRegistry)
65 fun UiDevice.waitForObj( in waitForObj() method
103 fun UiDevice.waitForNullableObj( in waitForNullableObj() method
159 fun UiDevice.waitForNullableObjects( in waitForNullableObjects() method
186 fun UiDevice.assertVisibility( in assertVisibility() method
274 fun UiDevice.shell(command: String): String = DeviceHelpers.shell(command) in shell() method
300 fun UiDevice.doubleTapAt(x: Int, y: Int) { in UiDevice() method
317 fun UiDevice.betterSwipe( in UiDevice() method
[all …]
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/performancelaunch/hermeticapp/
DPerformanceBase.java20 import android.support.test.uiautomator.UiDevice;
33 private static UiDevice mDevice;
36 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in PerformanceBase()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/features/common/
DSystemPowerMenu.java31 import androidx.test.uiautomator.UiDevice;
49 private UiDevice mUiDevice;
51 public SystemPowerMenu(UiDevice uiDevice) { in SystemPowerMenu()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchWebView.java26 import androidx.test.uiautomator.UiDevice;
35 private UiDevice mDevice;
41 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DLaunchAppUtils.kt24 import androidx.test.uiautomator.UiDevice
58 private val device: UiDevice
59 get() = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())

1234567