Home
last modified time | relevance | path

Searched refs:getDisplayId (Results 1 – 25 of 25) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DVirtualDisplayHelper.java81 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId() /* default */, in createAndWaitForDisplay()
85 return mVirtualDisplay.getDisplay().getDisplayId(); in createAndWaitForDisplay()
91 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId() /* displayId */, in turnDisplayOff()
99 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId() /* displayId */, in turnDisplayOn()
109 waitForDisplayCondition(mVirtualDisplay.getDisplay().getDisplayId() /* displayId */, in releaseDisplay()
DWindowFocusTests.java155 getInstrumentation().getTargetContext()).getDisplayId(); in testKeyReceiving()
201 getInstrumentation().getTargetContext()).getDisplayId(); in testMovingDisplayToTopByKeyEvent()
247 getInstrumentation().getTargetContext()).getDisplayId(); in testPointerCapture()
278 getInstrumentation().getTargetContext()).getDisplayId(); in testDisplayChanged()
303 getInstrumentation().getTargetContext()).getDisplayId(); in testTapFocusableWindow()
328 getInstrumentation().getTargetContext()).getDisplayId(); in testTapNonFocusableWindow()
367 mDisplayId = getWindow().getDecorView().getDisplay().getDisplayId(); in onAttachedToWindow()
DMultiDisplaySystemDecorationTests.java200 w -> w.getDisplayId() == displayId); in isWallpaperOnDisplay()
278 final int expectedDisplayId = expected.get(i).getDisplayId(); in waitAndAssertNavBarStatesAreTheSame()
509 tapOnDisplayCenter(defDisplay.getDisplayId()); in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
512 waitOrderedImeEventsThenAssertImeShown(stream, defDisplay.getDisplayId(), in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
528 tapOnDisplayCenter(defDisplay.getDisplayId()); in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
531 waitOrderedImeEventsThenAssertImeShown(stream, defDisplay.getDisplayId(), in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
620 tapOnDisplayCenter(defDisplay.getDisplayId()); in testImeWindowCanShownWhenActivityMovedToDisplay()
636 tapOnDisplayCenter(defDisplay.getDisplayId()); in testImeWindowCanShownWhenActivityMovedToDisplay()
639 waitOrderedImeEventsThenAssertImeShown(stream, defDisplay.getDisplayId(), in testImeWindowCanShownWhenActivityMovedToDisplay()
DMultiDisplayClientTests.java123 assertEquals(message, newDisplay.mId, activity.getDisplayId()); in testDisplayIdUpdateOnMove()
124 assertEquals(message, newDisplay.mId, activity.getDisplay().getDisplayId()); in testDisplayIdUpdateOnMove()
126 assertEquals(message, newDisplay.mId, wm.getDefaultDisplay().getDisplayId()); in testDisplayIdUpdateOnMove()
218 assertEquals(newDisplay.mId, imm.getDisplayId()); in testInputMethodManagerDisplayId()
DAspectRatioTestsBase.java51 getDisplay(activity).getDisplayId(), in runAspectRatioTest()
DMultiDisplayKeyguardTests.java125 if (ws.getDisplayId() == displayId) return true; in isKeyguardOnDisplay()
DToastTest.java118 tapOnCenter(toastWindow.getContainingFrame(), toastWindow.getDisplayId()); in testToastIsNotClickable()
DDisplaySizeTest.java127 final int targetDisplayId = targetDisplay.getDisplayId(); in testSizeRangesAfterSettingDisplaySize()
DManifestLayoutTests.java183 mDisplay = mAmWmState.getWmState().getDisplay(mWindowState.getDisplayId()); in getDisplayAndWindowState()
DMultiDisplayTestBase.java570 .anyMatch(state -> state.mId == display.getDisplayId())); in close()
728 waitForDisplayGone(d -> d.getDisplayId() == mDisplayId); in close()
DPinnedStackTests.java301 WindowManagerState.Display display = wmState.getDisplay(windowState.getDisplayId()); in testPinnedStackOutOfBoundsInsetsNonNegative()
1346 windowState.getDisplayId()); in assertPinnedStackActivityIsInDisplayBounds()
DAppConfigurationTests.java859 .getDisplay(windowState.getDisplayId());
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java167 if (display.getDisplayId() == Display.DEFAULT_DISPLAY) { in testGetDisplays()
184 assertEquals(Display.DEFAULT_DISPLAY, mWindowManager.getDefaultDisplay().getDisplayId()); in testDefaultDisplay()
215 assertTrue(Display.DEFAULT_DISPLAY != display.getDisplayId());
340 if (displayId == display.getDisplayId()) {
DVirtualDisplayTest.java200 display.getDisplayId() != Display.DEFAULT_DISPLAY); in assertDisplayRegistered()
/cts/hostsidetests/incident/src/com/android/server/cts/
DSystemPropertiesTest.java37 assertFalse(properties.getRo().getBuild().getDisplayId().isEmpty()); in verifySystemPropertiesProto()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DLiveWallpaper.java38 final int displayId = displayContext.getDisplayId(); in onCreateEngine()
DVirtualDisplayActivity.java220 final int displayId = virtualDisplay.getDisplay().getDisplayId(); in surfaceCreated()
/cts/tests/tests/keystore/src/android/server/am/
DWindowManagerState.java167 if (display.getDisplayId() == DEFAULT_DISPLAY) { in parseSysDumpProto()
231 if (displayId == display.getDisplayId()) { in getDisplay()
452 int getDisplayId() { in getDisplayId() method in WindowManagerState.Display
547 int getDisplayId() { in getDisplayId() method in WindowManagerState.WindowState
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java212 if (display.getDisplayId() == DEFAULT_DISPLAY) { in parseSysDumpProto()
348 isValidNavBarType(ws) && ws.getDisplayId() == displayId) in getAndAssertSingleNavBarWindowOnDisplay()
398 if (displayId == display.getDisplayId()) { in getDisplay()
786 int getDisplayId() { in getDisplayId() method in WindowManagerState.Display
919 int getDisplayId() { in getDisplayId() method in WindowManagerState.WindowState
DActivityAndWindowManagersState.java960 w -> w.isShown() && w.getDisplayId() == displayId); in waitAndAssertImeWindowShownOnDisplay()
964 imeWinState.getDisplayId()); in waitAndAssertImeWindowShownOnDisplay()
DCommandSession.java980 displayId = display.getDisplayId();
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java94 .that(session.context.getDisplayId()).isNotEqualTo(Display.INVALID_DISPLAY); in assertMainSessionContext()
113 .that(session.context.getDisplayId()).isEqualTo(Display.INVALID_DISPLAY); in assertChildSessionContext()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTests.java350 rotationSession, translucentActivity.getDisplay().getDisplayId())) { in testRelaunchConfigurationChangedWhileBecomingVisible()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java273 .getDefaultDisplay().getDisplayId(); in onHandleCommand()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java321 int displayId = getActivity().getWindow().getDecorView().getDisplay().getDisplayId(); in testClickWhenMagnified_matchesActualTouch()