Home
last modified time | relevance | path

Searched refs:mShellController (Results 1 – 25 of 26) sorted by relevance

12

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/
H A DStartingWindowControllerTests.java76 private ShellController mShellController; field in StartingWindowControllerTests
84 mShellController = spy(new ShellController(mContext, mShellInit, mShellCommandHandler, in setUp()
86 mController = new StartingWindowController(mContext, mShellInit, mShellController, in setUp()
98 verify(mShellController, times(1)).addExternalInterface( in instantiateController_addExternalInterface()
110 mShellController.createExternalInterfaces(new Bundle()); in testInvalidateExternalInterface_unregistersListener()
112 mShellController.createExternalInterfaces(new Bundle()); in testInvalidateExternalInterface_unregistersListener()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
H A DPipControllerTest.java94 private ShellController mShellController; field in PipControllerTest
131 mShellController = spy(new ShellController(mContext, mShellInit, mMockShellCommandHandler, in setUp()
134 mShellController, mMockDisplayController, mMockPipAnimationController, in setUp()
160 verify(mShellController, times(1)).addConfigurationChangeListener(any()); in instantiatePipController_registerConfigChangeListener()
165 verify(mShellController, times(1)).addKeyguardChangeListener(any()); in instantiatePipController_registerKeyguardChangeListener()
170 verify(mShellController, times(1)).addExternalInterface( in instantiatePipController_registerExternalInterface()
176 verify(mShellController, times(1)).addUserChangeListener(any()); in instantiatePipController_registerUserChangeListener()
211 mShellController.createExternalInterfaces(new Bundle()); in testInvalidateExternalInterface_unregistersListener()
213 mShellController.createExternalInterfaces(new Bundle()); in testInvalidateExternalInterface_unregistersListener()
226 mShellController, mMockDisplayController, mMockPipAnimationController, in createPip_notSupported_returnsNull()
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/
H A DHideDisplayCutoutController.java44 private final ShellController mShellController; field in HideDisplayCutoutController
80 mShellController = shellController; in HideDisplayCutoutController()
88 mShellController.addConfigurationChangeListener(this); in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/hidedisplaycutout/
H A DHideDisplayCutoutControllerTest.java55 private ShellController mShellController; field in HideDisplayCutoutControllerTest
67 mShellCommandHandler, mShellController, mMockDisplayAreaOrganizer); in setUp()
83 verify(mShellController, times(1)).addConfigurationChangeListener(any()); in instantiateController_registerConfigChangeListener()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
H A DSplitScreenControllerTests.java113 private ShellController mShellController; field in SplitScreenControllerTests
120 mShellController = spy(new ShellController(mContext, mShellInit, mShellCommandHandler, in setup()
123 mShellCommandHandler, mShellController, mTaskOrganizer, mSyncQueue, in setup()
159 verify(mShellController, times(1)).addKeyguardChangeListener(any()); in testControllerRegistersKeyguardChangeListener()
168 verify(mShellController, times(1)).addExternalInterface( in instantiateController_addExternalInterface()
179 mShellController.createExternalInterfaces(new Bundle()); in testInvalidateExternalInterface_unregistersListener()
181 mShellController.createExternalInterfaces(new Bundle()); in testInvalidateExternalInterface_unregistersListener()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/
H A DRecentTasksControllerTest.java102 private ShellController mShellController; field in RecentTasksControllerTest
110 mShellController = spy(new ShellController(mContext, mShellInit, mShellCommandHandler, in setUp()
113 mShellController, mShellCommandHandler, mTaskStackListener, mActivityTaskManager, in setUp()
135 verify(mShellController, times(1)).addExternalInterface( in instantiateController_addExternalInterface()
147 mShellController.createExternalInterfaces(new Bundle()); in testInvalidateExternalInterface_unregistersListener()
149 mShellController.createExternalInterfaces(new Bundle()); in testInvalidateExternalInterface_unregistersListener()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DStartingWindowController.java83 private final ShellController mShellController; field in StartingWindowController
101 mShellController = shellController; in StartingWindowController()
123 mShellController.addExternalInterface(KEY_EXTRA_SHELL_STARTING_WINDOW, in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedController.java94 private final ShellController mShellController; field in OneHandedController
248 mShellController = shellController; in OneHandedController()
298 mShellController.addConfigurationChangeListener(this); in onInit()
299 mShellController.addKeyguardChangeListener(this); in onInit()
300 mShellController.addUserChangeListener(this); in onInit()
301 mShellController.addExternalInterface(KEY_EXTRA_SHELL_ONE_HANDED, in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/
H A DFullscreenUnfoldTaskAnimator.java73 private final ShellController mShellController; field in FullscreenUnfoldTaskAnimator
84 mShellController = shellController; in FullscreenUnfoldTaskAnimator()
90 mShellController.addConfigurationChangeListener(this); in init()
H A DSplitTaskUnfoldAnimator.java80 private final ShellController mShellController; field in SplitTaskUnfoldAnimator
103 mShellController = shellController; in SplitTaskUnfoldAnimator()
113 mShellController.addConfigurationChangeListener(this); in init()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/
H A DDragAndDropControllerTest.java73 private ShellController mShellController; field in DragAndDropControllerTest
94 mController = new DragAndDropController(mContext, mShellInit, mShellController, in setUp()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
H A DDesktopModeWindowDecorViewModelTests.java99 @Mock private ShellController mShellController; field in DesktopModeWindowDecorViewModelTests
119 mShellController, in setUp()
136 doNothing().when(mShellController).addKeyguardChangeListener(any()); in setUp()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
H A DBackAnimationControllerTest.java110 private ShellController mShellController; field in BackAnimationControllerTest
129 mController = new BackAnimationController(mShellInit, mShellController, in setUp()
185 verify(mShellController, times(1)).addExternalInterface( in instantiateController_addExternalInterface()
278 mController = new BackAnimationController(shellInit, mShellController, in animationDisabledFromSettings()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
H A DTvPipController.java120 private final ShellController mShellController; field in TvPipController
217 mShellController = shellController; in TvPipController()
265 mShellController.addConfigurationChangeListener(this); in onInit()
266 mShellController.addUserChangeListener(this); in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
H A DDragAndDropController.java88 private final ShellController mShellController; field in DragAndDropController
134 mShellController = shellController; in DragAndDropController()
153 mShellController.addExternalInterface(KEY_EXTRA_SHELL_DRAG_AND_DROP, in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
H A DDesktopModeController.java83 private final ShellController mShellController; field in DesktopModeController
102 mShellController = shellController; in DesktopModeController()
116 mShellController.addExternalInterface(KEY_EXTRA_SHELL_DESKTOP_MODE, in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
H A DRecentTasksController.java80 private final ShellController mShellController; field in RecentTasksController
133 mShellController = shellController; in RecentTasksController()
152 mShellController.addExternalInterface(KEY_EXTRA_SHELL_RECENT_TASKS, in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipController.java147 private final ShellController mShellController; field in PipController
449 mShellController = shellController; in PipController()
703 mShellController.addConfigurationChangeListener(this); in onInit()
704 mShellController.addKeyguardChangeListener(this); in onInit()
705 mShellController.addUserChangeListener(this); in onInit()
706 mShellController.addExternalInterface(KEY_EXTRA_SHELL_PIP, in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
H A DBackAnimationController.java123 private final ShellController mShellController; field in BackAnimationController
187 mShellController = shellController; in BackAnimationController()
210 mShellController.addExternalInterface(KEY_EXTRA_SHELL_BACK_ANIMATION, in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
H A DCompatUIController.java146 private final ShellController mShellController; field in CompatUIController
205 mShellController = shellController; in CompatUIController()
222 mShellController.addKeyguardChangeListener(this); in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
H A DSplitScreenController.java165 private final ShellController mShellController; field in SplitScreenController
214 mShellController = shellController; in SplitScreenController()
266 mShellController = shellController; in SplitScreenController()
307 mShellController.addKeyguardChangeListener(this); in onInit()
308 mShellController.addExternalInterface(KEY_EXTRA_SHELL_SPLIT_SCREEN, in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DDesktopModeWindowDecorViewModel.java97 private final ShellController mShellController; field in DesktopModeWindowDecorViewModel
178 mShellController = shellController; in DesktopModeWindowDecorViewModel()
194 mShellController.addKeyguardChangeListener(mDesktopModeKeyguardChangeListener); in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
H A DDesktopModeControllerTest.java90 private ShellController mShellController; field in DesktopModeControllerTest
491 return new DesktopModeController(mContext, mShellInit, mShellController, in createController()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DTransitions.java182 private final ShellController mShellController; field in Transitions
303 mShellController = shellController; in Transitions()
318 mShellController.addExternalInterface(KEY_EXTRA_SHELL_SHELL_TRANSITIONS, in onInit()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleController.java186 private final ShellController mShellController; field in BubbleController
290 mShellController = shellController; in BubbleController()
478 mShellController.addConfigurationChangeListener(this); in onInit()
479 mShellController.addExternalInterface(KEY_EXTRA_SHELL_BUBBLES, in onInit()

12