Home
last modified time | relevance | path

Searched refs:sUiDevice (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/packageinstaller/criticaluserjourney/src/android/packageinstaller/criticaluserjourney/cts/
DPackageInstallerCujTestBase.java149 private static UiDevice sUiDevice; field in PackageInstallerCujTestBase
165 sUiDevice = UiDevice.getInstance(sInstrumentation); in setUpClass()
166 if (!sUiDevice.isScreenOn()) { in setUpClass()
167 sUiDevice.wakeUp(); in setUpClass()
169 sUiDevice.executeShellCommand("wm dismiss-keyguard"); in setUpClass()
216 sUiDevice = null; in tearDownClass()
432 sUiDevice.waitForIdle(); in waitForUiIdle()
439 sUiDevice.pressBack(); in pressBack()
450 UiObject2 more = sUiDevice.findObject(By.text(morePattern)); in allowInstallIfGPPDialogExists()
459 sUiDevice.click(rect.left, rect.bottom - 10); in allowInstallIfGPPDialogExists()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGlobalActionsTest.java57 private static UiDevice sUiDevice; field in AccessibilityGlobalActionsTest
67 sUiDevice = UiDevice.getInstance(sInstrumentation); in oneTimeSetup()
88 sUiDevice.pressHome(); in tearDown()
DAccessibilityEmbeddedHierarchyTest.java74 private static UiDevice sUiDevice; field in AccessibilityEmbeddedHierarchyTest
99 sUiDevice = UiDevice.getInstance(sInstrumentation); in oneTimeSetup()
118 sUiDevice.waitForIdle(); in setUp()
337 sUiDevice.waitForIdle(); in moveSurfaceViewLayoutPosition()
DAccessibilityDisplayProxyTest.java230 private static UiDevice sUiDevice; field in AccessibilityDisplayProxyTest
291 sUiDevice = UiDevice.getInstance(sInstrumentation); in oneTimeSetup()
353 sUiDevice.waitForIdle(); in setUp()
1637 sUiDevice.waitForIdle(); in launchProxyConcurrentActivityOnDefaultDisplay()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DMultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java82 private static UiDevice sUiDevice; field in MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest
106 sUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUpClass()
107 sTestHelper = new TestHelper(sContext, sUiDevice); in setUpClass()
DWifiBackupRestoreTest.java128 private static UiDevice sUiDevice; field in WifiBackupRestoreTest
166 sUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUpClass()
193 sUiDevice.executeShellCommand("input keyevent KEYCODE_WAKEUP"); in turnScreenOn()
194 sUiDevice.executeShellCommand("wm dismiss-keyguard"); in turnScreenOn()
DWifiNetworkSuggestionTest.java119 private static UiDevice sUiDevice; field in WifiNetworkSuggestionTest
143 sUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUpClass()
144 sTestHelper = new TestHelper(sContext, sUiDevice); in setUpClass()
DConnectedNetworkScorerTest.java105 private static UiDevice sUiDevice; field in ConnectedNetworkScorerTest
156 sUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUpClass()
158 sTestHelper = new TestHelper(sContext, sUiDevice); in setUpClass()
DWifiManagerTest.java206 private static UiDevice sUiDevice; field in WifiManagerTest
467 sUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUpClass()
2593 sUiDevice.executeShellCommand("input keyevent KEYCODE_WAKEUP"); in turnScreenOnNoDelay()
2594 sUiDevice.executeShellCommand("wm dismiss-keyguard"); in turnScreenOnNoDelay()
2604 sUiDevice.executeShellCommand("input keyevent KEYCODE_SLEEP"); in turnScreenOffNoDelay()
/cts/tests/tests/wifi/src/android/net/wifi/mockwifi/cts/
DMockWifiTest.java112 private static UiDevice sUiDevice; field in MockWifiTest
127 sUiDevice.executeShellCommand("input keyevent KEYCODE_WAKEUP"); in turnScreenOnNoDelay()
128 sUiDevice.executeShellCommand("wm dismiss-keyguard"); in turnScreenOnNoDelay()
132 sUiDevice.executeShellCommand("input keyevent KEYCODE_SLEEP"); in turnScreenOffNoDelay()
203 sUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUpClass()
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java94 private static UiDevice sUiDevice; field in TestBase
143 sUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setupClass()
144 sTestHelper = new TestHelper(sContext, sUiDevice); in setupClass()