Home
last modified time | relevance | path

Searched refs:mUiDevice (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java41 private UiDevice mUiDevice; field in PowerManagerTest
56 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
58 mUiDevice.executeShellCommand("cmd thermalservice override-status 0"); in setUp()
66 mUiDevice.executeShellCommand("cmd thermalservice reset"); in tearDown()
184 mUiDevice.executeShellCommand("cmd thermalservice override-status " in testGetThermalStatus()
204 mUiDevice.executeShellCommand("cmd thermalservice override-status " in testThermalStatusCallback()
221 mUiDevice.executeShellCommand("cmd thermalservice override-status " in testThermalStatusCallback()
238 mUiDevice.executeShellCommand("cmd thermalservice override-status " in testThermalStatusCallback()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java51 private UiDevice mUiDevice; field in UiAutomatorTestCase
79 return mUiDevice; in getUiDevice()
107 mUiDevice = uiDevice; in setUiDevice()
DUiAutomatorTestRunner.java65 private UiDevice mUiDevice; field in UiAutomatorTestRunner
133 mUiDevice = UiDevice.getInstance(); in start()
134 mUiDevice.initialize(new ShellUiAutomatorBridge(automationWrapper.getUiAutomation())); in start()
428 ((UiAutomatorTestCase)testCase).setUiDevice(mUiDevice); in prepareTestCase()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java115 private UiDevice mUiDevice; field in SuspendPackagesTest
184 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
461 if (!mUiDevice.isScreenOn()) { in turnScreenOn()
462 mUiDevice.wakeUp(); in turnScreenOn()
478 assertNotNull("Given dialog message not shown", mUiDevice.wait( in testInterceptorActivity()
482 final UiObject2 moreDetailsButton = mUiDevice.findObject( in testInterceptorActivity()
496 final String result = mUiDevice.executeShellCommand("dpm set-profile-owner --user cur " in setProfileOwner()
502 final String result = mUiDevice.executeShellCommand("dpm set-device-owner --user cur " in setDeviceOwner()
509 mUiDevice.executeShellCommand("dpm remove-active-admin --user cur " in removeProfileOrDeviceOwner()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DFlickerTestBase.java58 UiDevice mUiDevice; field in FlickerTestBase
65 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
DCloseImeAutoOpenWindowToHomeTest.java52 run(editTextLoseFocusToHome((ImeAppAutoFocusHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
DOpenImeWindowTest.java52 run(editTextSetFocus((ImeAppHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
DCloseImeAutoOpenWindowToAppTest.java52 run(editTextLoseFocusToApp((ImeAppAutoFocusHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
DOpenAppColdTest.java52 run(openAppCold(mTestApp, mUiDevice, mBeginRotation) in runTransition()
DCloseImeWindowToAppTest.java52 run(editTextLoseFocusToApp((ImeAppHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
DOpenAppWarmTest.java52 super.runTransition(openAppWarm(mTestApp, mUiDevice, mBeginRotation) in runTransition()
DCloseImeWindowToHomeTest.java53 run(editTextLoseFocusToHome((ImeAppHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
DSplitScreenToLauncherTest.java52 super.runTransition(splitScreenToLauncher(mTestApp, mUiDevice).includeJankyRuns().build()); in runTransition()
DOpenAppToSplitScreenTest.java48 super.runTransition(appToSplitScreen(mTestApp, mUiDevice).includeJankyRuns().build()); in runTransition()
DChangeAppRotationTest.java85 changeAppRotation(mTestApp, mUiDevice, mBeginRotation, mEndRotation) in runTransition()
DResizeSplitScreenTest.java67 run(resizeSplitScreen(mTestApp, bottomApp, mUiDevice, mBeginRotation, in runTransition()
DSeamlessAppRotationTest.java115 mUiDevice, mBeginRotation, mEndRotation).build()); in runTransition()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java91 private static UiDevice mUiDevice; field in ConnOnActivityStartTest
101 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUpOnce()
332 return mUiDevice.executeShellCommand(cmd).trim(); in executeSilentCommand()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java67 private UiDevice mUiDevice = null; field in DownloadManagerBaseTest
239 mUiDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
518 mUiDevice.executeShellCommand("svc wifi " + (enable ? "enable" : "disable")); in setWiFiStateOn()