Home
last modified time | relevance | path

Searched refs:mUiDevice (Results 1 – 21 of 21) 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()
218 mUiDevice.executeShellCommand("cmd thermalservice override-status " in testThermalStatusCallback()
235 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.java113 private UiDevice mUiDevice; field in SuspendPackagesTest
182 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
459 if (!mUiDevice.isScreenOn()) { in turnScreenOn()
460 mUiDevice.wakeUp(); in turnScreenOn()
476 assertNotNull("Given dialog message not shown", mUiDevice.wait( in testInterceptorActivity()
480 final UiObject2 moreDetailsButton = mUiDevice.findObject( in testInterceptorActivity()
494 final String result = mUiDevice.executeShellCommand("dpm set-profile-owner --user cur " in setProfileOwner()
500 final String result = mUiDevice.executeShellCommand("dpm set-device-owner --user cur " in setDeviceOwner()
507 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
DCloseImeAutoOpenWindowToAppTest.java52 run(editTextLoseFocusToApp((ImeAppAutoFocusHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
DOpenImeWindowTest.java52 run(editTextSetFocus((ImeAppHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
DOpenAppToSplitScreenTest.java49 super.runTransition(appToSplitScreen(mTestApp, mUiDevice, mBeginRotation) in runTransition()
DCloseImeWindowToAppTest.java52 run(editTextLoseFocusToApp((ImeAppHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
DPipToAppTest.java52 run(exitPipModeToApp((PipAppHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
DPipToHomeTest.java57 run(exitPipModeToHome((PipAppHelper) mTestApp, mUiDevice, Surface.ROTATION_0) in runTransition() local
DOpenAppWarmTest.java54 super.runTransition(openAppWarm(mTestApp, mUiDevice, mBeginRotation) in runTransition()
DOpenAppColdTest.java54 run(openAppCold(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()
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.java95 private static UiDevice mUiDevice; field in ConnOnActivityStartTest
108 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUpOnce()
365 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()