Home
last modified time | relevance | path

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

/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DDialogHelper.java40 mUiDevice, in assertWaitForPinDialogOpen()
47 assertWaitForCondition(mUiDevice, Until.gone(byPinDialog)); in assertWaitForPinDialogClose()
52 mUiDevice.pressEnter(); in enterPinCodes()
53 mUiDevice.pressEnter(); in enterPinCodes()
54 mUiDevice.pressEnter(); in enterPinCodes()
55 mUiDevice.pressEnter(); in enterPinCodes()
56 boolean result = waitForCondition(mUiDevice, Until.gone(byPinDialog)); in enterPinCodes()
59 mUiDevice.pressEnter(); in enterPinCodes()
60 mUiDevice.pressEnter(); in enterPinCodes()
61 mUiDevice.pressEnter(); in enterPinCodes()
[all …]
DMenuHelper.java81 UiDeviceAsserts.assertHas(mUiDevice, MENU, true); in assertNavigateToRow()
82 UiObject2 menu = mUiDevice.findObject(MENU); in assertNavigateToRow()
86 mUiDevice, in assertNavigateToRow()
100 UiDeviceAsserts.assertHas(mUiDevice, MENU, true); in assertNavigateToPlayControlsRow()
104 mUiDevice.pressDPadUp(); in assertNavigateToPlayControlsRow()
118 mUiDevice, in assertNavigateToRowItem()
163 mUiDevice.pressDPadCenter(); in assertPressMenuItem()
169 UiDeviceAsserts.assertWaitForCondition(mUiDevice, Until.hasObject(MENU)); in assertWaitForMenu()
178 if (!mUiDevice.hasObject(MENU)) { in showMenu()
179 mUiDevice.pressMenu(); in showMenu()
[all …]
DLiveChannelsUiDeviceHelper.java54 mUiDevice.waitForIdle(); in assertAppStarted()
56 waitForCondition(mUiDevice, Until.hasObject(Constants.TV_VIEW)); in assertAppStarted()
60 mUiDevice.wait( in assertAppStarted()
64 if (mUiDevice.hasObject(welcome)) { in assertAppStarted()
66 mUiDevice.pressBack(); in assertAppStarted()
71 while (mUiDevice.hasObject(By.pkg(CommonConstants.BASE_PACKAGE).depth(0))) { in assertAppStopped()
72 mUiDevice.pressBack(); in assertAppStopped()
73 mUiDevice.waitForIdle(); in assertAppStopped()
DBaseUiDeviceHelper.java23 protected final UiDevice mUiDevice; field in BaseUiDeviceHelper
27 this.mUiDevice = uiDevice; in BaseUiDeviceHelper()
DSidePanelHelper.java60 UiObject2 sidePanelList = mUiDevice.findObject(sidePanelSelector); in assertNavigateToItem()
64 mUiDevice, sidePanelList, By.hasDescendant(By.text(title)), direction); in assertNavigateToItem()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DDeviceStatePreserver.java42 private final UiDevice mUiDevice; field in DeviceStatePreserver
53 mUiDevice = device; in DeviceStatePreserver()
71 sPreviouslySetCloudProvider = getCurrentCloudProvider(mUiDevice); in saveCurrentCloudProviderState()
92 setCloudProvider(mUiDevice, sPreviouslySetCloudProvider); in restoreCloudProviderState()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/notification/
DAppBubbleNotificationSettingsTest.java46 private UiDevice mUiDevice; field in AppBubbleNotificationSettingsTest
55 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
56 mUiDevice.wakeUp(); in setUp()
57 mUiDevice.executeShellCommand(WM_DISMISS_KEYGUARD_COMMAND); in setUp()
DChannelNotificationSettingsTest.java54 private UiDevice mUiDevice; field in ChannelNotificationSettingsTest
65 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
66 mUiDevice.wakeUp(); in setUp()
67 mUiDevice.executeShellCommand(WM_DISMISS_KEYGUARD_COMMAND); in setUp()
/packages/modules/AdServices/sdksandbox/tests/perf/scenarios/src/android/sdksandbox/test/scenario/testsdk/
DClientAppUtils.java35 private final UiDevice mUiDevice; field in ClientAppUtils
83 return mUiDevice.wait( in getInitializeSdkButton()
94 return mUiDevice.wait( in getLoadAdButton()
165 return mUiDevice.wait( in getResizeAdContainerButton()
185 mUiDevice = uiDevice; in ClientAppUtils()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DPermissionGroupChange.java62 private UiDevice mUiDevice; field in PermissionGroupChange
68 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setContextAndUiDevice()
116 mUiDevice.findObject(By.text(Pattern.compile(Pattern.quote(mAllowButtonText), in clickAllowButton()
119 mUiDevice.findObject(By.res( in clickAllowButton()
DUndefinedGroupPermissionTest.kt50 private var mUiDevice: UiDevice? = null variable in android.permission.cts.UndefinedGroupPermissionTest
67 mUiDevice = UiDevice.getInstance(mInstrumentation!!) in setup()
144 mUiDevice!!.waitForIdle() in testCustomPermissionGrantedAlone()
198 mUiDevice!!.waitForIdle() in testOtherGroupPermissionsNotGranted()
DOneTimePermissionTest.java88 private final UiDevice mUiDevice = field in OneTimePermissionTest
197 mUiDevice.waitForIdle(); in testPermissionRevokedOnKill()
219 mUiDevice.waitForIdle(); in testStickyServiceMaintainsPermissionOnRestart()
298 mUiDevice.pressHome(); in exitApp()
299 mUiDevice.pressBack(); in exitApp()
DMinMaxSdkVersionTest.kt41 private var mUiDevice: UiDevice? = null variable in android.permission.cts.MinMaxSdkVersionTest
46 mUiDevice = UiDevice.getInstance(mInstrumentation) in setup()
DRevokeSelfPermissionTest.java78 private final UiDevice mUiDevice = UiDevice.getInstance(mInstrumentation); field in RevokeSelfPermissionTest
275 mUiDevice.pressHome(); in placeAppInBackground()
276 mUiDevice.pressBack(); in placeAppInBackground()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/tests/src/com/android/car/portraitlauncher/homeactivities/test/
DBackgroundPanelTapTest.java50 mUiDevice.waitForIdle(); in clickView_background_test()
71 mUiDevice.waitForIdle(); in clickView_background_OpenState_test()
73 mUiDevice.waitForIdle(); in clickView_background_OpenState_test()
DTapTestBase.java45 final UiDevice mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); field in TapTestBase
78 String result = mUiDevice.executeShellCommand(cmd).trim(); in runShellCmd()
126 UiObject2 testObject = mUiDevice.wait(Until.findObject(testContainerBySelector), TIMEOUT); in getRect()
DFullScreenPanelTapTest.java49 mUiDevice.waitForIdle(); in clickView_fullScreen_test()
DApplicationPanelTapTest.java49 mUiDevice.waitForIdle(); in clickView_openState_test()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/app/src/com/android/tests/sdksandbox/
DSdkSandboxStorageTestApp.java76 private UiDevice mUiDevice; field in SdkSandboxStorageTestApp
83 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setup()