Home
last modified time | relevance | path

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

1234

/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/tv/
DTvUtils.kt22 import androidx.test.uiautomator.UiDevice in <lambda>()
44 fun UiDevice.waitForTvPipMenu(): UiObject2? = in <lambda>() method
47 fun UiDevice.waitForTvPipMenuToClose(): Boolean = in <lambda>() method
50 fun UiDevice.findTvPipMenuControls(): UiObject2? = in <lambda>() method
53 fun UiDevice.findTvPipMenuCloseButton(): UiObject2? = in <lambda>() method
56 fun UiDevice.findTvPipMenuFullscreenButton(): UiObject2? = in <lambda>() method
59 fun UiDevice.findTvPipMenuElementWithDescription(desc: String): UiObject2? = in <lambda>() method
62 private fun UiDevice.findTvPipMenuElement(selector: BySelector): UiObject2? = in <lambda>() method
65 fun UiDevice.waitForTvPipMenuElementWithDescription(desc: String): UiObject2? { in <lambda>() method
78 fun UiDevice.waitUntilTvPipMenuElementWithDescriptionIsGone(desc: String): Boolean? { in waitUntilTvPipMenuElementWithDescriptionIsGone() method
[all …]
DPipTestBase.kt23 import androidx.test.uiautomator.UiDevice
29 val uiDevice = UiDevice.getInstance(instrumentation)
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCommonUtils.java31 import androidx.test.uiautomator.UiDevice;
55 final UiDevice uiDevice = UiDevice.getInstance(getInstrumentation()); in getIgnoreOrientationRequest()
92 final UiDevice device = UiDevice.getInstance(getInstrumentation()); in dismissKeyguard()
101 final UiDevice uiDevice = UiDevice.getInstance(getInstrumentation()); in waitUntilActivityRemoved()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DUtils.java24 import androidx.test.uiautomator.UiDevice;
45 UiDevice device = UiDevice.getInstance(instrumentation); in waitForActivity()
76 UiDevice device = UiDevice.getInstance(instrumentation); in getDeviceRotation()
94 UiDevice device = UiDevice.getInstance(instrumentation); in rotateDevice()
DWindowAnimationJankTestBase.java20 import androidx.test.uiautomator.UiDevice;
50 protected UiDevice getUiDevice() { in getUiDevice()
51 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/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DDesktopModeAppHelper.kt26 import androidx.test.uiautomator.UiDevice
67 device: UiDevice, in <lambda>()
74 private fun dragToDesktop(wmHelper: WindowManagerStateHelper, device: UiDevice) { in <lambda>()
93 fun maximiseDesktopApp(wmHelper: WindowManagerStateHelper, device: UiDevice) { in <lambda>()
105 fun closeDesktopApp(wmHelper: WindowManagerStateHelper, device: UiDevice) { in <lambda>()
118 device: UiDevice in <lambda>()
137 device: UiDevice, in <lambda>()
DAssistantAppHelper.kt24 import androidx.test.uiautomator.UiDevice
35 private val uiDevice: UiDevice = UiDevice.getInstance(instr)
DNewTasksAppHelper.kt26 import androidx.test.uiautomator.UiDevice
37 fun openNewTask(device: UiDevice, wmHelper: WindowManagerStateHelper) { in openNewTask()
DTwoActivitiesAppHelper.kt26 import androidx.test.uiautomator.UiDevice
42 fun openSecondActivity(device: UiDevice, wmHelper: WindowManagerStateHelper) { in openSecondActivity()
/frameworks/base/tests/Input/src/com/android/test/input/
DAnrTest.kt36 import androidx.test.uiautomator.UiDevice
116 val uiDevice: UiDevice = UiDevice.getInstance(instrumentation) in clickCloseAppOnAnrDialog()
136 val uiDevice: UiDevice = UiDevice.getInstance(instrumentation) in clickWaitOnAnrDialog()
179 val uiDevice: UiDevice = UiDevice.getInstance(instrumentation) in triggerAnr()
/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()
/frameworks/base/tests/ActivityManagerPerfTests/utils/src/com/android/frameworks/perftests/am/util/
DUtils.java25 import androidx.test.uiautomator.UiDevice;
41 return UiDevice.getInstance( in runShellCommand()
75 UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()).wakeUp(); in wakeUp()
/frameworks/opt/car/services/builtInServices/tests/src/com/android/server/inputmethod/
DImeSmokeTest.java34 import androidx.test.uiautomator.UiDevice;
67 private static UiDevice sDevice;
75 sDevice = UiDevice.getInstance(sInstrumentation); in setUpClass()
141 private static Condition<UiDevice, Boolean> isKeyboardOpened() { in isKeyboardOpened()
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DImeStressTestRule.java21 import android.support.test.uiautomator.UiDevice;
48 private final UiDevice mUiDevice;
56 mUiDevice = UiDevice.getInstance(mInstrumentation); in ImeStressTestRule()
DDefaultImeVisibilityTest.java36 import android.support.test.uiautomator.UiDevice;
97 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in showHideDefaultIme()
/frameworks/base/core/tests/coretests/src/android/widget/
DFloatingToolbarUtils.java27 import androidx.test.uiautomator.UiDevice;
34 private final UiDevice mDevice;
39 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in FloatingToolbarUtils()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
DSplitScreenUtils.kt35 import androidx.test.uiautomator.UiDevice in <lambda>()
104 device: UiDevice, in <lambda>()
128 fun splitFromOverview(tapl: LauncherInstrumentation, device: UiDevice, rotation: Rotation) { in <lambda>()
176 device: UiDevice, in <lambda>()
310 fun dragDividerToResizeAndWait(device: UiDevice, wmHelper: WindowManagerStateHelper) { in <lambda>()
324 device: UiDevice, in <lambda>()
349 fun doubleTapDividerToSwitch(device: UiDevice) { in <lambda>()
360 device: UiDevice, in <lambda>()
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/src/android/companion/multidevices/bluetooth/
DBluetoothUi.kt22 import androidx.test.uiautomator.UiDevice
26 class BluetoothUi(private val ui: UiDevice) : CompanionDeviceManagerUi(ui) {
/frameworks/base/tests/CtsSurfaceControlTestsStaging/src/main/java/android/view/surfacecontroltests/
DSurfaceControlTest.java21 import android.support.test.uiautomator.UiDevice;
54 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/appcompat/src/com/android/wm/shell/flicker/appcompat/
DRotateImmersiveAppInFullscreenTest.kt34 import androidx.test.uiautomator.UiDevice in <lambda>()
78 protected val uiDevice: UiDevice = UiDevice.getInstance(instrumentation) in <lambda>()
/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()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderMultiUsersTest.java26 import android.support.test.uiautomator.UiDevice;
71 private UiDevice mUiDevice;
78 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
240 final UiDevice uiDevice = UiDevice.getInstance( in waitForIdle()
/frameworks/base/tests/FlickerTests/FlickerService/src/com/android/server/wm/flicker/service/notification/scenarios/
DNotificationUtils.kt25 import androidx.test.uiautomator.UiDevice
33 private val device = UiDevice.getInstance(instrumentation)
/frameworks/base/libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/splitscreen/scenarios/
DDismissSplitScreenByGoHome.kt24 import androidx.test.uiautomator.UiDevice
41 private val device = UiDevice.getInstance(instrumentation)

1234