/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | DreamManagerServiceTests.java | 28 import static android.view.Display.DEFAULT_DISPLAY; 93 waitAndAssertTopResumedActivity(TEST_ACTIVITY, DEFAULT_DISPLAY, in startFullscreenTestActivity() 100 waitAndAssertTopResumedActivity(SHOW_WHEN_LOCKED_ACTIVITY, DEFAULT_DISPLAY, in startFullscreenTestActivityWithShowWhenLocked() 112 waitAndAssertTopResumedActivity(mDreamActivityName, DEFAULT_DISPLAY, in testStartAndStopDream() 127 waitAndAssertTopResumedActivity(TEST_ACTIVITY, DEFAULT_DISPLAY, in testStartAndStopDream() 137 waitAndAssertTopResumedActivity(mDreamActivityName, DEFAULT_DISPLAY, in testShowWhenLockedActivityUnderDream() 149 waitAndAssertTopResumedActivity(SHOW_WHEN_LOCKED_ACTIVITY, DEFAULT_DISPLAY, in testShowWhenLockedActivityUnderDream() 170 waitAndAssertTopResumedActivity(mDreamActivityName, DEFAULT_DISPLAY, in testForceStopStubbornDream() 183 waitAndAssertTopResumedActivity(TEST_ACTIVITY, DEFAULT_DISPLAY, in testForceStopStubbornDream() 197 waitAndAssertTopResumedActivity(mDreamActivityName, DEFAULT_DISPLAY, in testDreamNotFinishAfterRotation() [all …]
|
D | KeepClearRectsTests.java | 22 import static android.view.Display.DEFAULT_DISPLAY; 103 mTestSession.launchTestActivityOnDisplaySync(null, intent, DEFAULT_DISPLAY); in testSetPreferKeepClearAttr() 115 mTestSession.launchTestActivityOnDisplaySync(TestActivity.class, DEFAULT_DISPLAY); in testSetPreferKeepClearSingleView() 129 mTestSession.launchTestActivityOnDisplaySync(TestActivity.class, DEFAULT_DISPLAY); in testSetPreferKeepClearTwoViews() 150 mTestSession.launchTestActivityOnDisplaySync(TestActivity.class, DEFAULT_DISPLAY); in testSetMultipleKeepClearRectsSingleView() 163 mTestSession.launchTestActivityOnDisplaySync(TestActivity.class, DEFAULT_DISPLAY); in testSetMultipleKeepClearRectsTwoViews() 182 mTestSession.launchTestActivityOnDisplaySync(TestActivity.class, DEFAULT_DISPLAY); in testIsPreferKeepClearSingleView() 199 mTestSession.launchTestActivityOnDisplaySync(TestActivity.class, DEFAULT_DISPLAY); in testGetPreferKeepClearRectsSingleView() 221 mTestSession.launchTestActivityOnDisplaySync(TestActivity.class, DEFAULT_DISPLAY); in testGettersPreferKeepClearRectsTwoViews() 252 mTestSession.launchTestActivityOnDisplaySync(TestActivity.class, DEFAULT_DISPLAY); in testSetPreferKeepClearCombinesWithMultipleRects() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/ |
D | MultiDisplayPolicyTests.java | 41 import static android.view.Display.DEFAULT_DISPLAY; 144 waitAndAssertTopResumedActivity(TEST_ACTIVITY, DEFAULT_DISPLAY, in testActivityLaunchOnContentDestroyDisplayRemoved() 255 waitAndAssertTopResumedActivity(RESIZEABLE_ACTIVITY, DEFAULT_DISPLAY, in testExternalDisplayActivityTurnPrimaryOff() 267 RESIZEABLE_ACTIVITY, DEFAULT_DISPLAY); in testExternalDisplayActivityTurnPrimaryOff() 372 assertBothDisplaysHaveResumedActivities(pair(DEFAULT_DISPLAY, RESIZEABLE_ACTIVITY), in testLaunchActivitiesAffectsVisibility() 390 DEFAULT_DISPLAY, frontStack.mDisplayId); in testMoveTaskBetweenDisplays() 397 assertBothDisplaysHaveResumedActivities(pair(DEFAULT_DISPLAY, VIRTUAL_DISPLAY_ACTIVITY), in testMoveTaskBetweenDisplays() 402 waitAndAssertTopResumedActivity(TEST_ACTIVITY, DEFAULT_DISPLAY, in testMoveTaskBetweenDisplays() 455 DEFAULT_DISPLAY); in testStackFocusSwitchOnDisplayRemoved3() 562 waitAndAssertTopResumedActivity(VIRTUAL_DISPLAY_ACTIVITY, DEFAULT_DISPLAY, in validateStackFocusSwitchOnStackEmptied() [all …]
|
D | MultiDisplayActivityLaunchTests.java | 60 import static android.view.Display.DEFAULT_DISPLAY; 159 launchActivityOnDisplay(LAUNCHING_ACTIVITY, DEFAULT_DISPLAY); in testLaunchActivityOnPrimaryDisplay() 161 waitAndAssertTopResumedActivity(LAUNCHING_ACTIVITY, DEFAULT_DISPLAY, in testLaunchActivityOnPrimaryDisplay() 166 .setMultipleTask(true).setDisplayId(DEFAULT_DISPLAY).execute(); in testLaunchActivityOnPrimaryDisplay() 169 waitAndAssertTopResumedActivity(TEST_ACTIVITY, DEFAULT_DISPLAY, in testLaunchActivityOnPrimaryDisplay() 182 .setDisplayId(DEFAULT_DISPLAY).execute(); in testLaunchActivityFromSecondaryDisplay() 202 .setDisplayId(DEFAULT_DISPLAY).execute(); in testLaunchActivityFromSecondaryDisplay() 203 waitAndAssertTopResumedActivity(TEST_ACTIVITY, DEFAULT_DISPLAY, in testLaunchActivityFromSecondaryDisplay() 218 waitAndAssertTopResumedActivity(RESIZEABLE_ACTIVITY, DEFAULT_DISPLAY, in testLaunchExternalDisplayActivityWhilePrimaryOff() 244 RESIZEABLE_ACTIVITY, DEFAULT_DISPLAY); in testLaunchExternalDisplayActivityWhilePrimaryOff() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ActivityCaptureCallbackTests.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 56 mPrimaryActivity = startActivity(PrimaryActivity.class, DEFAULT_DISPLAY); in setUp() 70 mWm.notifyScreenshotListeners(DEFAULT_DISPLAY); in testScreencaptureInvokeCallback() 86 mWm.notifyScreenshotListeners(DEFAULT_DISPLAY); in testScreencaptureInvokeCallbackOnAllVisibleActivities() 104 mWm.notifyScreenshotListeners(DEFAULT_DISPLAY); in testScreencaptureInvokeCallbackOnOneDisplay() 121 mWm.notifyScreenshotListeners(DEFAULT_DISPLAY); in testScreencaptureInvokeCallbackOnRegisteredVisibleActivities() 131 startActivity(SecondaryActivity.class, DEFAULT_DISPLAY); in testScreencaptureInvokeCallbackOnVisibleOnly() 135 mWm.notifyScreenshotListeners(DEFAULT_DISPLAY); in testScreencaptureInvokeCallbackOnVisibleOnly() 147 mWm.notifyScreenshotListeners(DEFAULT_DISPLAY); in testScreencaptureUnregisterCallback()
|
D | ActivityTaskAffinityTests.java | 23 import static android.view.Display.DEFAULT_DISPLAY; 74 waitAndAssertTopResumedActivity(activityA, DEFAULT_DISPLAY, in testActivitiesShouldBeInTheSameTask() 79 waitAndAssertTopResumedActivity(activityB, DEFAULT_DISPLAY, in testActivitiesShouldBeInTheSameTask()
|
D | ActivityVisibilityTests.java | 55 import static android.view.Display.DEFAULT_DISPLAY; 220 if (!isDisplayOn(DEFAULT_DISPLAY)) { in testTurnScreenOnActivity() 227 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnActivity() 248 assertFalse("Display must remain OFF", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnActivity() 279 isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnActivity() 311 assertTrue("Display should be turned on by flags.", isDisplayOn(DEFAULT_DISPLAY)); in testFreeformWindowTurnScreenOnActivity() 444 launchTaskDisplayAreaFeatureId, DEFAULT_DISPLAY, in performFinishActivityWithMoveTaskToBack() 453 launchTaskDisplayAreaFeatureId, DEFAULT_DISPLAY); in performFinishActivityWithMoveTaskToBack() 642 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrNoLockScreen() 664 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrNoLockScreen_SplitScreen() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/am/ |
D | AmStartOptionsTests.java | 30 import static android.view.Display.DEFAULT_DISPLAY; 84 + " --display " + DEFAULT_DISPLAY); in testDashW_FinishingTop() 85 waitAndAssertTopResumedActivity(LAUNCHING_ACTIVITY, DEFAULT_DISPLAY, in testDashW_FinishingTop() 104 mWmState.waitForAppTransitionIdleOnDisplay(DEFAULT_DISPLAY); in startActivityAndVerifyResult() 111 + DEFAULT_DISPLAY + (shouldStart ? " -d about:blank" : "")); in startActivityAndVerifyResult() 113 waitAndAssertTopResumedActivity(actualActivity, DEFAULT_DISPLAY, in startActivityAndVerifyResult()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/ |
D | BackGestureInvokedTest.java | 20 import static android.view.Display.DEFAULT_DISPLAY; 74 BackInvokedActivity.class, DEFAULT_DISPLAY); in setUp() 75 mWmState.waitForAppTransitionIdleOnDisplay(DEFAULT_DISPLAY); in setUp() 89 triggerBackEventByGesture(DEFAULT_DISPLAY); in popupWindowDismissedOnBackGesture() 106 triggerBackEventByGesture(DEFAULT_DISPLAY); in testBackToHome() 121 triggerBackEventByGesture(DEFAULT_DISPLAY); in testBackToTask() 135 triggerBackEventByGesture(DEFAULT_DISPLAY); in testBackToActivity() 150 triggerBackEventByGesture(DEFAULT_DISPLAY); in testDialogDismissed() 170 mWmState.waitAndAssertImeWindowShownOnDisplay(DEFAULT_DISPLAY); in testImeDismissed() 172 triggerBackEventByGesture(DEFAULT_DISPLAY); in testImeDismissed() [all …]
|
D | OnBackInvokedCallbackGestureTest.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 92 BackNavigationActivity.class, DEFAULT_DISPLAY); in setup() 93 mWmState.waitForAppTransitionIdleOnDisplay(DEFAULT_DISPLAY); in setup() 107 DEFAULT_DISPLAY, true, false); in invokesCallback_invoked() 141 DEFAULT_DISPLAY, true, false); in invokesCallback_cancelled() 203 DEFAULT_DISPLAY, true, false); in ignoresKeyCodeBackDuringDispatch()
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | UserVisibilityVisibleBackgroundUsersOnDefaultDisplayTest.java | 18 import static android.view.Display.DEFAULT_DISPLAY; 76 startVisibleBackgroundUser(user, DEFAULT_DISPLAY); in testStartUserInBackgroundOnSecondaryDisplay_defaultDisplay() 87 startVisibleBackgroundUser(currentUser, DEFAULT_DISPLAY); in testStartUserInBackgroundOnSecondaryDisplay_defaultDisplay_currentUser() 97 startVisibleBackgroundUser(user, DEFAULT_DISPLAY); in testStartUserInBackgroundOnSecondaryDisplay_defaultDisplay_thereCanBeOnlyOne() 106 boolean started = tryToStartVisibleBackgroundUser(otherUser.id(), DEFAULT_DISPLAY); in testStartUserInBackgroundOnSecondaryDisplay_defaultDisplay_thereCanBeOnlyOne()
|
D | UserVisibilityVisibleBackgroundUsersTest.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 69 () -> startVisibleBackgroundUser(user, DEFAULT_DISPLAY)); in testStartVisibleBgUser_onDefaultDisplay()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerTestBase.java | 23 import static android.view.Display.DEFAULT_DISPLAY; 44 return startActivity(cls, DEFAULT_DISPLAY); in startActivity() 58 return startActivity(cls, DEFAULT_DISPLAY, true /* hasFocus */, windowingMode); in startActivityInWindowingMode() 63 return startActivity(cls, DEFAULT_DISPLAY, true /* hasFocus */, WINDOWING_MODE_FULLSCREEN); in startActivityInWindowingModeFullScreen() 74 if (displayId == DEFAULT_DISPLAY && windowingMode == WINDOWING_MODE_UNDEFINED in startActivity() 79 if (displayId != DEFAULT_DISPLAY) ap.setLaunchDisplayId(displayId); in startActivity()
|
D | VirtualDisplayHelper.java | 25 import static android.view.Display.DEFAULT_DISPLAY; 131 waitForDisplayState(DEFAULT_DISPLAY, wantOn); in waitForDefaultDisplayState() 135 final String message = (displayId == DEFAULT_DISPLAY ? "default" : "virtual") in waitForDisplayState()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityEmbeddingPolicyTests.java | 31 import static android.view.Display.DEFAULT_DISPLAY; 174 startActivityOnDisplaySingleTop(mContext, DEFAULT_DISPLAY, SIGNED_EMBEDDING_ACTIVITY, in testInputDuringAnimationIsNotAllowed_trustedEmbedding() 178 mWmState.waitForAppTransitionIdleOnDisplay(DEFAULT_DISPLAY); in testInputDuringAnimationIsNotAllowed_trustedEmbedding() 182 startActivityOnDisplaySingleTop(mContext, DEFAULT_DISPLAY, SIGNED_EMBEDDING_ACTIVITY, in testInputDuringAnimationIsNotAllowed_trustedEmbedding() 188 mWmState.waitForAppTransitionRunningOnDisplay(DEFAULT_DISPLAY); in testInputDuringAnimationIsNotAllowed_trustedEmbedding() 198 mWmState.waitForAppTransitionIdleOnDisplay(DEFAULT_DISPLAY); in testInputDuringAnimationIsNotAllowed_trustedEmbedding() 238 startActivityOnDisplay(Display.DEFAULT_DISPLAY, PORTRAIT_ACTIVITY); in testIgnoreOrientationRequestForActivityEmbeddingSplits() 247 WindowManagerState.DisplayContent display = mWmState.getDisplay(DEFAULT_DISPLAY); in getDisplayConfiguration()
|
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/ |
D | VirtualDevicePermissionTest.java | 23 import static android.view.Display.DEFAULT_DISPLAY; 101 assertThat(checkPermissionStateOnDevice(NORMAL_PERMISSION_GRANTED, DEFAULT_DISPLAY)) in normalPermissionGranted_appRunningOnDefaultDevice_hasPermissionGranted() 113 assertThat(checkPermissionStateOnDevice(NORMAL_PERMISSION_NOT_GRANTED, DEFAULT_DISPLAY)) in normalPermissionDenied_appRunningOnDefaultDevice_hasPermissionDenied() 125 assertThat(checkPermissionStateOnDevice(DANGEROUS_PERMISSION_GRANTED, DEFAULT_DISPLAY)) in dangerousPermissionGranted_appRunningOnDefaultDevice_hasPermissionGranted() 137 assertThat(checkPermissionStateOnDevice(DANGEROUS_PERMISSION_NOT_GRANTED, DEFAULT_DISPLAY)) in dangerousPermissionDenied_appRunningOnDefaultDevice_hasPermissionDenied() 151 () -> checkPermissionStateOnDevice(PRIVILEGED_PERMISSION, DEFAULT_DISPLAY), in privilegedPermissionGranted_appRunningOnDefaultDevice_hasPermissionGranted() 166 assertThat(checkPermissionStateOnDevice(PRIVILEGED_PERMISSION, DEFAULT_DISPLAY)) in privilegedPermissionDenied_appRunningOnDefaultDevice_hasPermissionDenied() 179 () -> checkPermissionStateOnDevice(SIGNATURE_PERMISSION, DEFAULT_DISPLAY), in signaturePermissionGranted_appRunningOnDefaultDevice_hasPermissionGranted() 194 assertThat(checkPermissionStateOnDevice(SIGNATURE_PERMISSION, DEFAULT_DISPLAY)) in signaturePermissionDenied_appRunningOnDefaultDevice_hasPermissionDenied()
|
D | DeviceAssociationTest.java | 21 import static android.view.Display.DEFAULT_DISPLAY; 223 Activity activity = mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, EmptyActivity.class); in activityContext_startActivityOnDefaultDevice_returnsDefaultDeviceId() 245 mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, EmptyActivity.class); in applicationContext_lastActivityOnVirtualDevice_returnsVirtualDeviceId() 267 Activity activity = mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, EmptyActivity.class); in applicationContext_recreateFirstActivity_returnsDeviceOfLastCreatedActivity() 292 Activity activity = mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, SecondActivity.class); in applicationContext_activityOnDefaultDeviceDestroyed_returnsVirtual() 303 mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, SecondActivity.class); in applicationContext_lastActivityOnDefaultDevice_returnsDefault() 328 mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, SecondActivity.class); in applicationContext_twoVirtualDevices_returnsIdOfLatest() 336 mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, EmptyActivity.class); in serviceContext_lastActivityOnVirtualDevice_returnsVirtualDeviceId() 347 mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, SecondActivity.class); in serviceContext_lastActivityOnDefaultDevice_returnsDefault() 355 mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, EmptyActivity.class); in serviceContext_startServiceAfterActivity_hasDeviceIdOfTopActivity() [all …]
|
D | VirtualDeviceImeTest.java | 208 showSoftInputOnDisplay(Display.DEFAULT_DISPLAY); in validCustomImeComponent_customImeShouldBeOnVirtualDisplay() 210 .onShow(Display.DEFAULT_DISPLAY); in validCustomImeComponent_customImeShouldBeOnVirtualDisplay() 237 showSoftInputOnDisplay(Display.DEFAULT_DISPLAY); in customImeComponent_changeDefaultDeviceIme() 239 .onShow(Display.DEFAULT_DISPLAY); in customImeComponent_changeDefaultDeviceIme() 266 showSoftInputOnDisplay(Display.DEFAULT_DISPLAY); in customImeComponent_disableDefaultDeviceIme() 301 () -> virtualDevice.setDisplayImePolicy(Display.DEFAULT_DISPLAY, in setDisplayImePolicy_defaultDisplay_throws() 343 .onShow(Display.DEFAULT_DISPLAY); in fallbackDisplayImePolicy_imeShowsOnDefaultDisplay() 372 .onShow(Display.DEFAULT_DISPLAY); in setDisplayImePolicy_changeAtRuntime() 410 .onShow(Display.DEFAULT_DISPLAY); in setDisplayImePolicy_differentPoliciesForDifferentDisplays() 430 .onShow(Display.DEFAULT_DISPLAY); in fallbackDisplayImePolicy_customImeComponentIgnored() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ime/ |
D | MultiDisplaySecurityImeTests.java | 20 import static android.view.Display.DEFAULT_DISPLAY; 91 waitOrderedImeEventsThenAssertImeShown(stream, DEFAULT_DISPLAY, in testNoInputConnectionForUntrustedVirtualDisplay() 97 tapOnDisplayCenter(DEFAULT_DISPLAY); in testNoInputConnectionForUntrustedVirtualDisplay() 99 assertEquals(DEFAULT_DISPLAY, mWmState.getFocusedDisplayId()); in testNoInputConnectionForUntrustedVirtualDisplay()
|
D | MultiDisplayImeTests.java | 24 import static android.view.Display.DEFAULT_DISPLAY; 141 ImeTestActivity2.class, DEFAULT_DISPLAY); in testImeWindowCanSwitchToDifferentDisplays() 146 showSoftInputAndAssertImeShownOnDisplay(DEFAULT_DISPLAY, imeTestActivitySession2, stream); in testImeWindowCanSwitchToDifferentDisplays() 151 mWmState.getDisplay(DEFAULT_DISPLAY)); in testImeWindowCanSwitchToDifferentDisplays() 237 DEFAULT_DISPLAY); in testImeWindowCanSwitchWhenTopFocusedDisplayChange() 241 final DisplayContent defDisplay = mWmState.getDisplay(DEFAULT_DISPLAY); in testImeWindowCanSwitchWhenTopFocusedDisplayChange() 303 showSoftInputAndAssertImeShownOnDisplay(DEFAULT_DISPLAY, imeTestActivitySession, stream); in testCrossDisplayBasicImeOperations() 382 showSoftInputAndAssertImeShownOnDisplay(DEFAULT_DISPLAY, imeActivitySession, stream); in testHideImeWhenImeTargetOnEmbeddedVirtualDisplay() 406 DEFAULT_DISPLAY); in testImeWindowCanShownWhenActivityMovedToDisplay() 429 final DisplayContent defDisplay = mWmState.getDisplay(DEFAULT_DISPLAY); in testImeWindowCanShownWhenActivityMovedToDisplay() [all …]
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/area/ |
D | ExtensionRearDisplayPresentationKeyguardTest.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 154 DEFAULT_DISPLAY); in testStartRearDisplayPresentation_whenKeyguardLocked() 189 DEFAULT_DISPLAY); in testStartRearDisplayPresentation_afterKeyguardLocked() 204 assertNotEquals(DEFAULT_DISPLAY, presentationView.getDisplay().getDisplayId()); in testStartRearDisplayPresentation_afterKeyguardLocked() 230 DEFAULT_DISPLAY); in testStartRearDisplayPresentation_thenKeyguardLocked() 250 assertNotEquals(DEFAULT_DISPLAY, presentationDisplayId); in testStartRearDisplayPresentation_thenKeyguardLocked() 278 DEFAULT_DISPLAY); in testStartRearDisplayPresentation_thenKeyguardLocked_activityFinishes() 298 assertNotEquals(DEFAULT_DISPLAY, presentationDisplayId); in testStartRearDisplayPresentation_thenKeyguardLocked_activityFinishes() 331 DEFAULT_DISPLAY); in testStartRearDisplayPresentation_persistsAfterDismissingKeyguard() 351 assertNotEquals(DEFAULT_DISPLAY, presentationDisplayId); in testStartRearDisplayPresentation_persistsAfterDismissingKeyguard() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowFocusTests.java | 25 import static android.view.Display.DEFAULT_DISPLAY; 151 DEFAULT_DISPLAY); in testKeyReceiving() 153 sendAndAssertTargetConsumedKey(primaryActivity, KEYCODE_1, DEFAULT_DISPLAY); in testKeyReceiving() 204 DEFAULT_DISPLAY); in testKeyReceivingWithDisplayWithOwnFocus() 222 sendAndAssertTargetConsumedKey(primaryActivity, KEYCODE_6, DEFAULT_DISPLAY); in testKeyReceivingWithDisplayWithOwnFocus() 245 DEFAULT_DISPLAY); in testOwnFocus() 284 DEFAULT_DISPLAY); in testMovingDisplayToTopByKeyEvent() 289 sendAndAssertTargetConsumedKey(primaryActivity, KEYCODE_0, DEFAULT_DISPLAY); in testMovingDisplayToTopByKeyEvent() 307 DEFAULT_DISPLAY); in testStealingTopFocusDisabledDoesNotMoveDisplayToTop() 313 sendAndAssertTargetConsumedKey(primaryActivity, KEYCODE_1, DEFAULT_DISPLAY); in testStealingTopFocusDisabledDoesNotMoveDisplayToTop() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/ |
D | DisplayTests.java | 21 import static android.view.Display.DEFAULT_DISPLAY; 59 final DisplayContent primaryDisplay = getDisplayState(reportedDisplays, DEFAULT_DISPLAY); in testDefaultDisplayOverrideConfiguration() 130 final int frontStackId = mWmState.getFrontRootTaskId(DEFAULT_DISPLAY); in testMultiDisplayDisabled() 139 DEFAULT_DISPLAY, in testMultiDisplayDisabled() 167 createManagedDisplayMetricsSession(DEFAULT_DISPLAY); in testForceDisplayMetrics()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | LiveWallpaper.java | 21 import static android.view.Display.DEFAULT_DISPLAY; 41 if (displayId != DEFAULT_DISPLAY) { in onCreateEngine()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/content/ |
D | ContextHelperTest.java | 56 assertThat(ContextHelper.getDisplayId(mContext)).isEqualTo(Display.DEFAULT_DISPLAY); in testDefaultDisplayId() 70 assertNotEquals(createdVirtualDisplayId, Display.DEFAULT_DISPLAY); in testVirtualDisplayId() 94 waitAndAssertTopResumedActivity(testActivityName, Display.DEFAULT_DISPLAY, in testStartActivityAsUser()
|