/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/tv/ |
D | TvPipMenuTests.kt | 70 uiDevice.findTvPipMenuControls()?.visibleBounds?.run { in <lambda>() 74 centerX() == uiDevice.displayWidth / 2) in <lambda>() 76 left >= 0 && right <= uiDevice.displayWidth && bottom <= uiDevice.displayHeight) in <lambda>() 87 uiDevice.pressBack() in <lambda>() 88 assertTrue("Pip menu should have closed", uiDevice.waitForTvPipMenuToClose()) in <lambda>() 98 uiDevice.pressHome() in <lambda>() 99 assertTrue("Pip menu should have closed", uiDevice.waitForTvPipMenuToClose()) in <lambda>() 109 uiDevice.findTvPipMenuCloseButton() in <lambda>() 113 uiDevice.clickTvPipMenuCloseButton() in <lambda>() 122 uiDevice.findTvPipMenuFullscreenButton() in <lambda>() [all …]
|
D | TvPipBasicTest.kt | 55 uiDevice.pressWindowKey() in <lambda>() 56 uiDevice.waitForTvPipMenu() ?: fail("Pip menu should have been shown") in <lambda>() 59 uiDevice.pressBack() in <lambda>() 60 assertTrue("Pip menu should have closed", uiDevice.waitForTvPipMenuToClose()) in <lambda>()
|
D | TvUtils.kt | 158 fun UiObject2.isFullscreen(uiDevice: UiDevice): Boolean = visibleBounds.run { in UiDevice() 159 height() == uiDevice.displayHeight && width() == uiDevice.displayWidth in UiDevice()
|
D | TvPipNotificationTests.kt | 101 uiDevice.waitForTvPipMenu()) in pipNotification_menuIntent() 103 uiDevice.pressBack() in pipNotification_menuIntent()
|
D | TvPipTestBase.kt | 44 uiDevice.wakeUpAndGoToHomeScreen() in televisionSetUp()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/helpers/ |
D | PipAppHelper.kt | 51 val obj = uiDevice.findObject(selector) ?: error("Could not find `$resId` object") in clickObject() 57 uiDevice.pressDPadCenter() in clickObject() 89 uiDevice.findObject(selector)?.apply { if (isFocusedOrHasFocusedChild) return true } in exitPipToFullScreenViaIntent() 92 uiDevice.pressDPadDown() in exitPipToFullScreenViaIntent() 93 uiDevice.waitForIdle() in exitPipToFullScreenViaIntent() 107 uiDevice.wait(Until.gone(By.res(SYSTEMUI_PACKAGE, "dismiss")), FIND_TIMEOUT) in clickEnterPipButton() 122 fun checkWithCustomActionsCheckbox() = uiDevice in checkWithCustomActionsCheckbox() 140 uiDevice.closeTvPipWindow() in pauseMedia() 159 uiDevice.closeTvPipWindow() in closePipWindow() 162 uiDevice.click(windowRect.centerX(), windowRect.centerY()) in closePipWindow() [all …]
|
D | ImeAppHelper.kt | 41 val editText = uiDevice.wait( in openIME() 50 waitAndAssertIMEShown(uiDevice, wmHelper) in openIME() 77 uiDevice.pressBack() in closeIME() 80 uiDevice.waitForIdle() in closeIME()
|
D | BaseAppHelper.kt | 54 get() = uiDevice.findObject(appSelector) 57 return uiDevice.wait(Until.gone(appSelector), APP_CLOSE_WAIT_TIME_MS) in waitUntilClosed()
|
/frameworks/base/tests/TrustTests/src/android/trust/test/ |
D | TemporaryAndRenewableTrustTest.kt | 46 private val uiDevice = UiDevice.getInstance(getInstrumentation()) constant 67 uiDevice.sleep() in sleepingDeviceWithoutGrantLocksDevice() 74 uiDevice.sleep() in grantTrustLockedDevice_deviceStaysLocked() 77 uiDevice.wakeUp() in grantTrustLockedDevice_deviceStaysLocked() 88 uiDevice.sleep() in grantTrustUnlockedDevice_deviceLocksOnScreenOff() 97 uiDevice.sleep() in grantTrustLockedDevice_grantTrustOnLockedDeviceUnlocksDevice() 101 uiDevice.wakeUp() in grantTrustLockedDevice_grantTrustOnLockedDeviceUnlocksDevice() 116 uiDevice.sleep() in grantTrustLockedDevice_callsBackWhenUnlocked() 119 uiDevice.wakeUp() in grantTrustLockedDevice_callsBackWhenUnlocked() 137 uiDevice.sleep() in grantTrustLockedDevice_revokeTrustPreventsSubsequentUnlock() [all …]
|
D | GrantAndRevokeTrustTest.kt | 44 private val uiDevice = UiDevice.getInstance(getInstrumentation()) constant in android.trust.test.GrantAndRevokeTrustTest 65 uiDevice.sleep() in sleepingDeviceWithoutGrantLocksDevice() 73 uiDevice.sleep() in grantKeepsDeviceUnlocked() 82 uiDevice.sleep() in grantKeepsDeviceUnlocked_untilRevoked()
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/ |
D | ImeAppAutoFocusHelper.kt | 57 waitIMEShown(uiDevice, wmHelper) in launchViaIntent() 70 val button = uiDevice.wait(Until.findObject(By.res(getPackage(), in startDialogThemedActivity() 84 val dialog = uiDevice.wait( in dismissDialog() 89 uiDevice.pressBack() in dismissDialog() 94 var insetsVisibilityTextView = uiDevice.wait( in getInsetsVisibleFromDialog() 118 val button = uiDevice.wait(Until.findObject(By.res(getPackage(), in toggleFixPortraitOrientation()
|
D | GameAppHelper.kt | 45 val gameView = uiDevice.wait( in swipeDown() 50 return uiDevice.swipe( in swipeDown() 80 return uiDevice.swipe( in switchToPreviousAppByQuickSwitchGesture() 99 uiDevice.waitForIdle(timeout) in isTargetObjVisible() 100 return uiDevice.hasObject(By.res(packageName, identifier)) in isTargetObjVisible()
|
D | AssistantAppHelper.kt | 32 protected val uiDevice: UiDevice = UiDevice.getInstance(instr) constant in com.android.server.wm.flicker.helpers.AssistantAppHelper 71 uiDevice.executeShellCommand("input keyevent --longpress KEYCODE_POWER") in openUI() 73 uiDevice.executeShellCommand("cmd voiceinteraction show") in openUI() 75 val ui = uiDevice.wait( in openUI()
|
D | MailAppHelper.kt | 45 row = uiDevice.wait(Until.findObject(rowSel), SHORT_WAIT_TIME_MS) in openMail() 51 uiDevice.wait(Until.gone(By.res(getPackage(), MAIL_LIST_RES_ID)), FIND_TIMEOUT) in openMail() 61 val ret = uiDevice.wait(Until.findObject(sel), FIND_TIMEOUT) in waitForMailList()
|
D | ImeEditorPopupDialogAppHelper.kt | 51 val dismissButton = uiDevice.wait( in dismissDialog()
|
/frameworks/base/tests/Input/src/com/android/test/input/ |
D | AnrTest.kt | 102 val uiDevice: UiDevice = UiDevice.getInstance(instrumentation) in clickCloseAppOnAnrDialog() constant 104 uiDevice.wait(Until.findObject(By.res("android:id/aerr_close")), 20000) in clickCloseAppOnAnrDialog() 123 val uiDevice: UiDevice = UiDevice.getInstance(instrumentation) in clickWaitOnAnrDialog() constant 125 uiDevice.wait(Until.findObject(By.res("android:id/aerr_wait")), 20000) in clickWaitOnAnrDialog() 153 val uiDevice: UiDevice = UiDevice.getInstance(instrumentation) in triggerAnr() constant 154 val obj: UiObject2? = uiDevice.wait(Until.findObject( in triggerAnr()
|
/frameworks/base/tests/TrustTests/src/android/trust/test/lib/ |
D | ScreenLockRule.kt | 38 private val uiDevice = UiDevice.getInstance(getInstrumentation()) in <lambda>() constant 68 if (!uiDevice.isScreenOn) { in <lambda>() 70 uiDevice.wakeUp() in <lambda>() 76 uiDevice.pressKeyCode(KeyEvent.KEYCODE_BACK) in <lambda>()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestCase.java | 106 void setUiDevice(UiDevice uiDevice) { in setUiDevice() argument 107 mUiDevice = uiDevice; in setUiDevice()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/ |
D | FlickerTestBase.kt | 44 val uiDevice = UiDevice.getInstance(instrumentation) constant
|
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
D | Utils.java | 190 final UiDevice uiDevice = UiDevice.getInstance( in runShellCmd() local 192 final String result = uiDevice.executeShellCommand(cmd).trim(); in runShellCmd()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserSystemPackageInstallerTest.java | 517 UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUserTypePackageWhitelistMode() local 519 String result = uiDevice.executeShellCommand(String.format("setprop %s %d", in setUserTypePackageWhitelistMode()
|