Home
last modified time | relevance | path

Searched refs:mWpc (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowProcessControllerTests.java81 WindowProcessController mWpc; field in WindowProcessControllerTests
91 mWpc = new WindowProcessController( in setUp()
93 mWpc.setThread(mock(IApplicationThread.class)); in setUp()
99 assertNull(mWpc.getDisplayArea()); in testDisplayAreaConfigurationListener()
104 mWpc.registerDisplayAreaConfigurationListener(imeContainer1); in testDisplayAreaConfigurationListener()
105 assertTrue(imeContainer1.containsListener(mWpc)); in testDisplayAreaConfigurationListener()
106 assertEquals(imeContainer1, mWpc.getDisplayArea()); in testDisplayAreaConfigurationListener()
111 mWpc.registerDisplayAreaConfigurationListener(imeContainer2); in testDisplayAreaConfigurationListener()
112 assertFalse(imeContainer1.containsListener(mWpc)); in testDisplayAreaConfigurationListener()
113 assertTrue(imeContainer2.containsListener(mWpc)); in testDisplayAreaConfigurationListener()
[all …]
DWindowContextListenerControllerTests.java86 private WindowProcessController mWpc; field in WindowContextListenerControllerTests
98 mWpc = mSystemServicesTestRule.addProcess( in setUp()
102 spyOn(mWpc); in setUp()
121 }).when(mWpc).scheduleClientTransactionItem(any()); in setUp()
126 mController.registerWindowContainerListener(mWpc, mClientToken, mContainer, in testRegisterWindowContextListener()
132 mController.registerWindowContainerListener(mWpc, clientToken, mContainer, in testRegisterWindowContextListener()
139 mController.registerWindowContainerListener(mWpc, mClientToken, container, in testRegisterWindowContextListener()
165 mController.registerWindowContainerListener(mWpc, clientToken, mContainer, in testRegisterWindowContextListenerClientConfigPropagation()
181 mController.registerWindowContainerListener(mWpc, clientToken, container, in testRegisterWindowContextListenerClientConfigPropagation()
208 mController.registerWindowContainerListener(mWpc, mClientToken, mContainer, in testAssertCallerCanModifyListener_CanManageAppTokens_ReturnTrue()
[all …]
DWindowTestsBase.java1252 private WindowProcessController mWpc; field in WindowTestsBase.ActivityBuilder
1378 mWpc = wpc; in setUseProcess()
1507 if (mWpc != null) { in buildInner()
1508 wpc = mWpc; in buildInner()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContextListenerController.java208 private final WindowProcessController mWpc; field in WindowContextListenerController.WindowContextListenerImpl
231 mWpc = Objects.requireNonNull(wpc); in WindowContextListenerImpl()
254 return mWpc.mUid; in getUid()
333 mWpc.scheduleClientTransactionItem(WindowContextInfoChangeItem.obtain( in dispatchWindowContextInfoChange()
359 mWpc.scheduleClientTransactionItem(WindowContextWindowRemovalItem.obtain(mClientToken)); in onRemoved()