/frameworks/base/core/tests/coretests/src/android/os/ |
D | PowerManagerTest.java | 41 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/ |
D | UiAutomatorTestCase.java | 51 private UiDevice mUiDevice; field in UiAutomatorTestCase 79 return mUiDevice; in getUiDevice() 107 mUiDevice = uiDevice; in setUiDevice()
|
D | UiAutomatorTestRunner.java | 65 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/ |
D | SuspendPackagesTest.java | 113 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/ |
D | FlickerTestBase.java | 58 UiDevice mUiDevice; field in FlickerTestBase 65 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
|
D | CloseImeAutoOpenWindowToHomeTest.java | 52 run(editTextLoseFocusToHome((ImeAppAutoFocusHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
|
D | CloseImeAutoOpenWindowToAppTest.java | 52 run(editTextLoseFocusToApp((ImeAppAutoFocusHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
|
D | OpenImeWindowTest.java | 52 run(editTextSetFocus((ImeAppHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
|
D | OpenAppToSplitScreenTest.java | 49 super.runTransition(appToSplitScreen(mTestApp, mUiDevice, mBeginRotation) in runTransition()
|
D | CloseImeWindowToAppTest.java | 52 run(editTextLoseFocusToApp((ImeAppHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
|
D | PipToAppTest.java | 52 run(exitPipModeToApp((PipAppHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
|
D | PipToHomeTest.java | 57 run(exitPipModeToHome((PipAppHelper) mTestApp, mUiDevice, Surface.ROTATION_0) in runTransition() local
|
D | OpenAppWarmTest.java | 54 super.runTransition(openAppWarm(mTestApp, mUiDevice, mBeginRotation) in runTransition()
|
D | OpenAppColdTest.java | 54 run(openAppCold(mTestApp, mUiDevice, mBeginRotation) in runTransition()
|
D | CloseImeWindowToHomeTest.java | 53 run(editTextLoseFocusToHome((ImeAppHelper) mTestApp, mUiDevice, mBeginRotation) in runTransition() local
|
D | SplitScreenToLauncherTest.java | 52 super.runTransition(splitScreenToLauncher(mTestApp, mUiDevice).includeJankyRuns().build()); in runTransition()
|
D | ChangeAppRotationTest.java | 85 changeAppRotation(mTestApp, mUiDevice, mBeginRotation, mEndRotation) in runTransition()
|
D | ResizeSplitScreenTest.java | 67 run(resizeSplitScreen(mTestApp, bottomApp, mUiDevice, mBeginRotation, in runTransition()
|
D | SeamlessAppRotationTest.java | 115 mUiDevice, mBeginRotation, mEndRotation).build()); in runTransition()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | ConnOnActivityStartTest.java | 95 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/ |
D | DownloadManagerBaseTest.java | 67 private UiDevice mUiDevice = null; field in DownloadManagerBaseTest 239 mUiDevice = UiDevice.getInstance(getInstrumentation()); in setUp() 518 mUiDevice.executeShellCommand("svc wifi " + (enable ? "enable" : "disable")); in setWiFiStateOn()
|