Home
last modified time | relevance | path

Searched refs:getDisplayId (Results 1 – 24 of 24) 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()
246 getInstrumentation().getTargetContext()).getDisplayId(); in testPointerCapture()
277 getInstrumentation().getTargetContext()).getDisplayId(); in testDisplayChanged()
302 getInstrumentation().getTargetContext()).getDisplayId(); in testTapFocusableWindow()
327 getInstrumentation().getTargetContext()).getDisplayId(); in testTapNonFocusableWindow()
366 mDisplayId = getWindow().getDecorView().getDisplay().getDisplayId(); in onAttachedToWindow()
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()
DMultiDisplaySystemDecorationTests.java198 w -> w.getDisplayId() == displayId); in isWallpaperOnDisplay()
276 final int expectedDisplayId = expected.get(i).getDisplayId(); in waitAndAssertNavBarStatesAreTheSame()
507 tapOnDisplayCenter(defDisplay.getDisplayId()); in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
510 waitOrderedImeEventsThenAssertImeShown(stream, defDisplay.getDisplayId(), in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
526 tapOnDisplayCenter(defDisplay.getDisplayId()); in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
529 waitOrderedImeEventsThenAssertImeShown(stream, defDisplay.getDisplayId(), in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
DAspectRatioTestsBase.java51 getDisplay(activity).getDisplayId(), in runAspectRatioTest()
DMultiDisplayKeyguardTests.java125 if (ws.getDisplayId() == displayId) return true; in isKeyguardOnDisplay()
DDisplaySizeTest.java127 final int targetDisplayId = targetDisplay.getDisplayId(); in testSizeRangesAfterSettingDisplaySize()
DManifestLayoutTests.java183 mDisplay = mAmWmState.getWmState().getDisplay(mWindowState.getDisplayId()); in getDisplayAndWindowState()
DPinnedStackTests.java296 WindowManagerState.Display display = wmState.getDisplay(windowState.getDisplayId()); in testPinnedStackOutOfBoundsInsetsNonNegative()
1316 windowState.getDisplayId()); in assertPinnedStackActivityIsInDisplayBounds()
DMultiDisplayTestBase.java736 d -> d.getDisplayId() == mDisplayId); in isHostedVirtualDisplayPresent()
DAppConfigurationTests.java853 .getDisplay(windowState.getDisplayId());
/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/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/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()