/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | DisableAutofillRule.java | 22 import androidx.test.uiautomator.UiDevice; 38 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in starting() 52 UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) in finished()
|
D | BaseOrientationRule.kt | 29 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())
|
D | FailureWatcher.java | 22 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/ |
D | AutomationUtils.kt | 40 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/ |
D | DeviceConfigHelper.java | 20 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/ |
D | NavigationControlHelper.java | 22 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/ |
D | OpenCalculator.java | 19 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/ |
D | GarbageCollectionHelper.java | 23 import androidx.test.uiautomator.UiDevice; 41 private UiDevice mUiDevice; 54 protected UiDevice initUiDevice() { in initUiDevice() 55 return UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in initUiDevice()
|
D | MemhogHelper.java | 21 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/ |
D | UiWatchers.java | 23 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/ |
D | SimpleperfHelperTest.java | 23 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/ |
D | UiAutomatorUtils.java | 23 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/ |
D | LauncherStrategyFactory.java | 21 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/ |
D | LauncherStrategyFactory.java | 19 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/ |
D | SetBatteryPercentageVisibleRuleTest.java | 24 import androidx.test.uiautomator.UiDevice; 73 private UiDevice mUiDevice; 78 mUiDevice = Mockito.mock(UiDevice.class); in TestableSetBatteryPercentageVisibleRule() 91 protected UiDevice getUiDevice() { in getUiDevice()
|
D | CancelNotificationRuleTest.java | 27 import androidx.test.uiautomator.UiDevice; 64 private UiDevice mDevice; 68 mDevice = Mockito.mock(UiDevice.class); in TestableCancelNotificationRule() 78 protected UiDevice getUiDevice() { in getUiDevice()
|
D | PressHomeRuleTest.java | 24 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/ |
D | ScreenOn.java | 23 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/ |
D | AppIsNotRespondingWatcher2.java | 23 import androidx.test.uiautomator.UiDevice; 29 private final UiDevice mDevice; 36 mDevice = UiDevice.getInstance(instrumentation); in AppIsNotRespondingWatcher2()
|
D | AppIsNotRespondingWatcher.java | 22 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/ |
D | DeviceHelpers.kt | 34 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/ |
D | PerformanceBase.java | 20 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/ |
D | SystemPowerMenu.java | 31 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/ |
D | UiBenchWebView.java | 26 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/ |
D | LaunchAppUtils.kt | 24 import androidx.test.uiautomator.UiDevice 58 private val device: UiDevice 59 get() = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
|