Home
last modified time | relevance | path

Searched refs:mWms (Results 1 – 3 of 3) 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 …]
/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()
/frameworks/base/core/java/android/window/
DWindowTokenClient.java72 private IWindowManager mWms; field in WindowTokenClient
178 if (mWms == null) { in getWindowManagerService()
179 mWms = WindowManagerGlobal.getWindowManagerService(); in getWindowManagerService()
181 return mWms; in getWindowManagerService()