Home
last modified time | relevance | path

Searched refs:uiDevice (Results 1 – 4 of 4) sorted by relevance

/expo/android/app/src/androidTest/java/host/exp/exponent/utils/
H A DDeviceUtils.kt13 fun allowDrawingOverOtherApps(uiDevice: UiDevice) { in allowDrawingOverOtherApps()
15 uiDevice.pressHome() in allowDrawingOverOtherApps()
18 val launcherPackage = uiDevice.launcherPackageName in allowDrawingOverOtherApps()
19 uiDevice.wait(Until.hasObject(By.pkg(launcherPackage).depth(0)), LAUNCH_TIMEOUT.toLong()) in allowDrawingOverOtherApps()
32 uiDevice.wait( in allowDrawingOverOtherApps()
36 val switchObject = uiDevice.findObject(UiSelector().className(Switch::class.java.name)) in allowDrawingOverOtherApps()
H A DTestNativeModuleServer.kt17 var uiDevice: UiDevice? = null variable in host.exp.exponent.utils.TestNativeModuleServer
32 val obj = uiDevice!!.findObject(selector) in performAction()
/expo/android/app/src/androidTest/java/host/exp/exponent/
H A DBaseTestClass.kt14 @JvmStatic protected lateinit var uiDevice: UiDevice variable
21 uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) in beforeClass()
22 TestNativeModuleServer.instance.uiDevice = uiDevice in beforeClass()
H A DTestSuiteTests.kt82 uiDevice.wait(Until.hasObject(By.pkg("host.exp.exponent").depth(0)), LAUNCH_TIMEOUT.toLong()) in runTestSuiteTest()
143 uiDevice.pressHome() in beforeClass()
144 val launcherPackage = uiDevice.launcherPackageName in beforeClass()
145 uiDevice.wait(Until.hasObject(By.pkg(launcherPackage).depth(0)), LAUNCH_TIMEOUT.toLong()) in beforeClass()