Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/
DWindowAnimationFrameStatsMonitorTest.kt35 private val uiDevice = UiDevice.getInstance(instrumentation) constant in com.android.server.wm.flicker.monitor.WindowAnimationFrameStatsMonitorTest
39 uiDevice.wakeUpAndGoToHomeScreen() in setup()
45 uiDevice.pressRecentApps() in captureWindowAnimationFrameStats()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DDisableAutofillRule.java38 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in starting() local
39 String result = uiDevice.executeShellCommand("settings get secure autofill_service"); in starting()
43 uiDevice.executeShellCommand("settings put secure autofill_service null"); in starting()
/platform_testing/libraries/collectors-helper/simpleperf/test/src/com/android/helpers/tests/
DSimpleperfHelperTest.java57 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in teardown() local
58 uiDevice.executeShellCommand(String.format(REMOVE_CMD, "/data/local/tmp/perf.data")); in teardown()
89 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in testSimpleperfSuccess() local
91 uiDevice.executeShellCommand( in testSimpleperfSuccess()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DLauncherStrategyFactory.java40 private LauncherStrategyFactory(UiDevice uiDevice) { in LauncherStrategyFactory() argument
41 mUiDevice = uiDevice; in LauncherStrategyFactory()
70 public static LauncherStrategyFactory getInstance(UiDevice uiDevice) { in getInstance() argument
72 sInstance = new LauncherStrategyFactory(uiDevice); in getInstance()
DCommonLauncherHelper.java47 private CommonLauncherHelper(UiDevice uiDevice) { in CommonLauncherHelper() argument
48 mDevice = uiDevice; in CommonLauncherHelper()
56 public static CommonLauncherHelper getInstance(UiDevice uiDevice) { in getInstance() argument
58 sInstance = new CommonLauncherHelper(uiDevice); in getInstance()
DNexusLauncherStrategy.java44 public void setUiDevice(UiDevice uiDevice) { in setUiDevice() argument
45 super.setUiDevice(uiDevice); in setUiDevice()
47 uiDevice.executeShellCommand( in setUiDevice()
DILauncherStrategy.java44 void setUiDevice(UiDevice uiDevice); in setUiDevice() argument
DWearLauncherStrategy.java52 public void setUiDevice(UiDevice uiDevice) { in setUiDevice() argument
53 mDevice = uiDevice; in setUiDevice()
DAospLauncherStrategy.java211 public void setUiDevice(UiDevice uiDevice) { in setUiDevice() argument
212 mDevice = uiDevice; in setUiDevice()
DBaseLauncher3Strategy.java43 public void setUiDevice(UiDevice uiDevice) { in setUiDevice() argument
44 mDevice = uiDevice; in setUiDevice()
DAutoLauncherStrategy.java112 public void setUiDevice(UiDevice uiDevice) { in setUiDevice() argument
113 mDevice = uiDevice; in setUiDevice()
DLeanbackLauncherStrategy.java65 public void setUiDevice(UiDevice uiDevice) { in setUiDevice() argument
66 mDevice = uiDevice; in setUiDevice()
DTvLauncherStrategy.java148 public void setUiDevice(UiDevice uiDevice) { in setUiDevice() argument
149 mDevice = uiDevice; in setUiDevice()
/platform_testing/libraries/collectors-helper/perfetto/test/src/com/android/helpers/tests/
DPerfettoHelperTest.java60 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in teardown() local
62 uiDevice.executeShellCommand(String.format(REMOVE_CMD, "/data/local/tmp/out.pb")); in teardown()
139 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in testPerfettoSuccess() local
140 String[] fileStats = uiDevice.executeShellCommand(String.format( in testPerfettoSuccess()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DMemhogHelper.java54 UiDevice uiDevice = in startMemhog() local
58 uiDevice.executeShellCommand(String.format(CHMOD_CMD, MEMHOG_FILE_PATH)); in startMemhog()
59 uiDevice.executeShellCommand( in startMemhog()
/platform_testing/utils/dpad/src/android/platform/test/utils/
DDPadUtil.java41 public DPadUtil(UiDevice uiDevice) { in DPadUtil() argument
42 mDevice = uiDevice; in DPadUtil()
45 public void setUiDevice(UiDevice uiDevice) { in setUiDevice() argument
46 mDevice = uiDevice; in setUiDevice()
/platform_testing/libraries/collectors-helper/simpleperf/src/com/android/helpers/
DSimpleperfHelper.java75 UiDevice uiDevice = in startCollecting() local
78 String startOutput = uiDevice.executeShellCommand(startCommand); in startCollecting()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/helpers/
DStandardAppHelper.kt62 protected val uiDevice: UiDevice = UiDevice.getInstance(mInstrumentation) constant
156 uiDevice.wait(Until.hasObject(appSelector), APP_LAUNCH_WAIT_TIME_MS) in launchViaIntent()
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DPinnerHelperTest.java69 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in tearDown() local
70 uiDevice.executeShellCommand(String.format(REMOVE_CMD, "/sdcard/test_results")); in tearDown()