/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
D | DialogHelper.java | 40 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 …]
|
D | MenuHelper.java | 81 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 …]
|
D | LiveChannelsUiDeviceHelper.java | 54 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()
|
D | BaseUiDeviceHelper.java | 23 protected final UiDevice mUiDevice; field in BaseUiDeviceHelper 27 this.mUiDevice = uiDevice; in BaseUiDeviceHelper()
|
D | SidePanelHelper.java | 60 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/ |
D | DeviceStatePreserver.java | 42 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/ |
D | AppBubbleNotificationSettingsTest.java | 46 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()
|
D | ChannelNotificationSettingsTest.java | 54 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/ |
D | ClientAppUtils.java | 35 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/ |
D | PermissionGroupChange.java | 62 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()
|
D | UndefinedGroupPermissionTest.kt | 50 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()
|
D | OneTimePermissionTest.java | 88 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()
|
D | MinMaxSdkVersionTest.kt | 41 private var mUiDevice: UiDevice? = null variable in android.permission.cts.MinMaxSdkVersionTest 46 mUiDevice = UiDevice.getInstance(mInstrumentation) in setup()
|
D | RevokeSelfPermissionTest.java | 78 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/ |
D | BackgroundPanelTapTest.java | 50 mUiDevice.waitForIdle(); in clickView_background_test() 71 mUiDevice.waitForIdle(); in clickView_background_OpenState_test() 73 mUiDevice.waitForIdle(); in clickView_background_OpenState_test()
|
D | TapTestBase.java | 45 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()
|
D | FullScreenPanelTapTest.java | 49 mUiDevice.waitForIdle(); in clickView_fullScreen_test()
|
D | ApplicationPanelTapTest.java | 49 mUiDevice.waitForIdle(); in clickView_openState_test()
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/app/src/com/android/tests/sdksandbox/ |
D | SdkSandboxStorageTestApp.java | 76 private UiDevice mUiDevice; field in SdkSandboxStorageTestApp 83 mUiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setup()
|