Home
last modified time | relevance | path

Searched refs:mWms (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaPolicyBuilderTest.java93 private WindowManagerService mWms; field in DisplayAreaPolicyBuilderTest
106 mWms = mSystemServices.getWindowManagerService(); in setup()
107 mRoot = new SurfacelessDisplayAreaRoot(mWms); in setup()
108 mImeContainer = new DisplayArea.Tokens(mWms, ABOVE_TASKS, "ImeContainer"); in setup()
113 mDefaultTaskDisplayArea = new TaskDisplayArea(mDisplayContent, mWms, "Tasks", in setup()
117 mGroupRoot1 = new SurfacelessDisplayAreaRoot(mWms, "group1", FEATURE_VENDOR_FIRST + 1); in setup()
118 mGroupRoot2 = new SurfacelessDisplayAreaRoot(mWms, "group2", FEATURE_VENDOR_FIRST + 2); in setup()
119 mTda1 = new TaskDisplayArea(mDisplayContent, mWms, "tda1", FEATURE_VENDOR_FIRST + 3); in setup()
120 mTda2 = new TaskDisplayArea(mDisplayContent, mWms, "tda2", FEATURE_VENDOR_FIRST + 4); in setup()
143 .build(mWms); in testBuilder()
[all …]
DClientLifecycleManagerTests.java74 private WindowManagerService mWms; field in ClientLifecycleManagerTests
81 mWms = mSystemServicesTestRule.getWindowManagerService(); in setup()
83 mLifecycleManager.setWindowManager(mWms); in setup()
134 spyOn(mWms.mWindowPlacerLocked); in testScheduleTransactionItem()
135 doReturn(true).when(mWms.mWindowPlacerLocked).isTraversalScheduled(); in testScheduleTransactionItem()
196 spyOn(mWms.mWindowPlacerLocked); in testScheduleTransactionAndLifecycleItems()
197 doReturn(true).when(mWms.mWindowPlacerLocked).isTraversalScheduled(); in testScheduleTransactionAndLifecycleItems()
220 spyOn(mWms.mWindowPlacerLocked); in testScheduleTransactionAndLifecycleItems_shouldDispatchImmediately()
221 doReturn(true).when(mWms.mWindowPlacerLocked).isTraversalScheduled(); in testScheduleTransactionAndLifecycleItems_shouldDispatchImmediately()
247 spyOn(mWms.mWindowPlacerLocked); in testLayoutDeferred()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRecordingCallbackController.java64 private final WindowManagerService mWms; field in ScreenRecordingCallbackController
90 mWms = wms; in ScreenRecordingCallbackController()
96 mRecordedWC = (WindowContainer) mWms.mRoot.getDefaultDisplay(); in setRecordedWindowContainer()
98 mRecordedWC = mWms.mRoot.getActivity(activity -> activity.mLaunchCookie in setRecordedWindowContainer()
131 synchronized (mWms.mGlobalLock) { in register()
156 synchronized (mWms.mGlobalLock) { in unregister()
178 synchronized (mWms.mGlobalLock) { in onScreenRecordingStart()
185 synchronized (mWms.mGlobalLock) { in onScreenRecordingStop()
271 mWms.mH.post(() -> { in dispatchCallbacks()
DClientLifecycleManager.java63 private WindowManagerService mWms; field in ClientLifecycleManager
66 mWms = wms; in setWindowManager()
254 if (mWms == null) { in shouldDispatchPendingTransactionsImmediately()
263 return !mWms.mWindowPlacerLocked.isLayoutDeferred() in shouldDispatchPendingTransactionsImmediately()
264 && !mWms.mWindowPlacerLocked.isTraversalScheduled() in shouldDispatchPendingTransactionsImmediately()
265 && !mWms.mWindowPlacerLocked.isInLayout(); in shouldDispatchPendingTransactionsImmediately()
DRotationWatcherController.java197 final WindowManagerService mWms; field in RotationWatcherController.RotationWatcher
202 mWms = wms; in RotationWatcher()
220 mWms.removeRotationWatcher(mWatcher); in binderDied()
/frameworks/base/core/tests/coretests/src/android/window/
DWindowContextTest.java90 private final IWindowManager mWms = WindowManagerGlobal.getWindowManagerService(); field in WindowContextTest
122 mWms.isWindowToken(token)); in testCreateWindowContextNewTokenFromClient()
151 mWms.isWindowToken(token)); in testCreateWindowContextNewTokenFromClient()
156 assertFalse("Token must be removed after release.", mWms.isWindowToken(token)); in testCreateWindowContextNewTokenFromClient()
188 mWms.isWindowToken(activity.getActivityToken())); in testCreateWindowContext_AttachActivity_TokenNotRemovedAfterRelease()
206 mWms.addWindowToken(existingToken, TYPE_INPUT_METHOD, windowContext.getDisplayId(), in testCreateWindowContext_AttachWindowToken_TokenNotRemovedAfterRelease()
223 mWms.isWindowToken(existingToken)); in testCreateWindowContext_AttachWindowToken_TokenNotRemovedAfterRelease()
225 mWms.removeWindowToken(existingToken, DEFAULT_DISPLAY); in testCreateWindowContext_AttachWindowToken_TokenNotRemovedAfterRelease()
235 mWms.addWindowToken(existingToken, TYPE_INPUT_METHOD, windowContext.getDisplayId(), in testWindowContextAddViewWithSubWindowType_NotCrash()