Searched refs:mWindowContextListenerController (Results 1 – 3 of 3) sorted by relevance
198 spyOn(mWm.mWindowContextListenerController); in testAttachWindowContextToWindowToken_InvalidToken_EarlyReturn()202 verify(mWm.mWindowContextListenerController, never()).getWindowType(any()); in testAttachWindowContextToWindowToken_InvalidToken_EarlyReturn()207 spyOn(mWm.mWindowContextListenerController); in testAttachWindowContextToWindowToken_InvalidWindowType_ThrowException()210 doReturn(INVALID_WINDOW_TYPE).when(mWm.mWindowContextListenerController) in testAttachWindowContextToWindowToken_InvalidWindowType_ThrowException()218 spyOn(mWm.mWindowContextListenerController); in testAttachWindowContextToWindowToken_DifferentWindowType_ThrowException()221 doReturn(TYPE_APPLICATION).when(mWm.mWindowContextListenerController) in testAttachWindowContextToWindowToken_DifferentWindowType_ThrowException()229 spyOn(mWm.mWindowContextListenerController); in testAttachWindowContextToWindowToken_CallerNotValid_EarlyReturn()232 doReturn(TYPE_INPUT_METHOD).when(mWm.mWindowContextListenerController) in testAttachWindowContextToWindowToken_CallerNotValid_EarlyReturn()234 doReturn(false).when(mWm.mWindowContextListenerController) in testAttachWindowContextToWindowToken_CallerNotValid_EarlyReturn()239 verify(mWm.mWindowContextListenerController, never()).registerWindowContainerListener( in testAttachWindowContextToWindowToken_CallerNotValid_EarlyReturn()[all …]
82 mWm.mWindowContextListenerController.registerWindowContainerListener(clientToken, in setUp()
777 final WindowContextListenerController mWindowContextListenerController = field in WindowManagerService1567 } else if (mWindowContextListenerController.hasListener(windowContextToken)) { in addWindow()1570 final Bundle options = mWindowContextListenerController in addWindow()1728 && mWindowContextListenerController.hasListener(windowContextToken)) { in addWindow()1729 final int windowContextType = mWindowContextListenerController in addWindow()1737 final Bundle options = mWindowContextListenerController in addWindow()1739 mWindowContextListenerController.registerWindowContainerListener( in addWindow()2738 mWindowContextListenerController.registerWindowContainerListener(clientToken, da, in attachWindowContextToDisplayArea()2761 final int type = mWindowContextListenerController.getWindowType(clientToken); in attachWindowContextToWindowToken()2771 if (!mWindowContextListenerController.assertCallerCanModifyListener(clientToken, in attachWindowContextToWindowToken()[all …]