/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/ |
H A D | DreamOverlayServiceTest.java | 187 mMainExecutor, in setup() 221 mMainExecutor.runAllReady(); in testOnStartMetricsLogged() 235 mMainExecutor.runAllReady(); in testOverlayContainerViewAddedToWindow() 250 mMainExecutor.runAllReady(); in testInvalidWindowAddStart() 272 mMainExecutor.runAllReady(); in testDreamOverlayContainerViewControllerInitialized() 289 mMainExecutor.runAllReady(); in testDreamOverlayContainerViewRemovedFromOldParentWhenInitialized() 301 mMainExecutor.runAllReady(); in testShouldShowComplicationsSetByStartDream() 313 mMainExecutor.runAllReady(); in testLowLightSetByStartDream() 326 mMainExecutor.runAllReady(); in testOnEndDream() 333 mMainExecutor.runAllReady(); in testOnEndDream() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
H A D | TabletopModeControllerTest.java | 68 private TestShellExecutor mMainExecutor; field in TabletopModeControllerTest 98 mMainExecutor = new TestShellExecutor(); in setUp() 101 mDevicePostureController, mDisplayController, mMainExecutor); in setUp() 160 assertTrue(mMainExecutor.hasCallback(mPipTabletopController.mOnEnterTabletopModeCallback)); in foldedRotation90_halfOpen_scheduleTabletopModeChange() 171 assertFalse(mMainExecutor.hasCallback(mPipTabletopController.mOnEnterTabletopModeCallback)); in foldedRotation0_halfOpen_noScheduleTabletopModeChange() 183 assertFalse(mMainExecutor.hasCallback(mPipTabletopController.mOnEnterTabletopModeCallback)); in foldedRotation90_halfOpenThenUnfold_cancelTabletopModeChange() 195 assertFalse(mMainExecutor.hasCallback(mPipTabletopController.mOnEnterTabletopModeCallback)); in foldedRotation90_halfOpenThenFold_cancelTabletopModeChange() 208 assertFalse(mMainExecutor.hasCallback(mPipTabletopController.mOnEnterTabletopModeCallback)); in foldedRotation90_halfOpenThenRotate_cancelTabletopModeChange() 220 assertTrue(mMainExecutor.hasCallback(mPipTabletopController.mOnEnterTabletopModeCallback)); in unfoldedRotation90_halfOpen_scheduleTabletopModeChange() 231 assertFalse(mMainExecutor.hasCallback(mPipTabletopController.mOnEnterTabletopModeCallback)); in unfoldedRotation0_halfOpen_noScheduleTabletopModeChange() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | PinnedStackListenerForwarder.java | 39 private final ShellExecutor mMainExecutor; field in PinnedStackListenerForwarder 43 mMainExecutor = mainExecutor; in PinnedStackListenerForwarder() 83 mMainExecutor.execute(() -> { in onMovementBoundsChanged() 90 mMainExecutor.execute(() -> { in onImeVisibilityChanged() 97 mMainExecutor.execute(() -> { in onActivityHidden()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/ |
H A D | TileQueryHelperTest.java | 115 private FakeExecutor mMainExecutor; field in TileQueryHelperTest 136 mMainExecutor = new FakeExecutor(clock); in setup() 152 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testIsFinished_trueAfterQuerying() 161 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_callsListenerTwice() 175 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_isFinishedFalseOnListenerCalls_thenTrueAfterCompletion() 189 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_correctTilesAndOrderOnlyStockTiles() 209 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles() 229 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_otherTileNotIncluded() 310 private final Executor mMainExecutor; field in TileQueryHelperTest.FakeQSTile 314 mMainExecutor = mainExecutor; in FakeQSTile() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sysui/ |
H A D | ShellController.java | 59 private final ShellExecutor mMainExecutor; field in ShellController 84 mMainExecutor = mainExecutor; in ShellController() 297 mMainExecutor.executeBlocking(() -> ShellController.this.handleInit()); in onInit() 305 mMainExecutor.execute(() -> in onConfigurationChanged() 312 mMainExecutor.execute(() -> in onKeyguardVisibilityChanged() 319 mMainExecutor.execute(() -> in onKeyguardDismissAnimationFinished() 325 mMainExecutor.execute(() -> in onUserChanged() 331 mMainExecutor.execute(() -> in onUserProfilesChanged() 339 mMainExecutor.executeBlocking(() -> { in handleCommand() 351 mMainExecutor.executeBlocking(() -> { in createExternalInterfaces() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/ |
H A D | AppClipsViewModel.java | 56 private final Executor mMainExecutor; field in AppClipsViewModel 69 mMainExecutor = mainExecutor; in AppClipsViewModel() 81 mMainExecutor.execute(() -> { in performScreenshot() 135 }, mMainExecutor); in saveScreenshotThenFinish() 156 private final Executor mMainExecutor; field in AppClipsViewModel.Factory 165 mMainExecutor = mainExecutor; in Factory() 178 mMainExecutor, mBgExecutor); in create()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
H A D | OneHandedTimeoutHandler.java | 37 private final ShellExecutor mMainExecutor; field in OneHandedTimeoutHandler 68 mMainExecutor = mainExecutor; in OneHandedTimeoutHandler() 84 mMainExecutor.removeCallbacks(mTimeoutRunnable); in removeTimer() 96 mMainExecutor.executeDelayed(mTimeoutRunnable, mTimeoutMs); in resetTimer() 111 return mMainExecutor.hasCallback(mTimeoutRunnable); in hasScheduledTimeout()
|
H A D | OneHandedController.java | 104 private final ShellExecutor mMainExecutor; field in OneHandedController 256 mMainExecutor = mainExecutor; in OneHandedController() 320 return mMainExecutor; in getRemoteCallExecutor() 492 mMainExecutor.execute(() -> mEventCallback.notifyExpandNotification()); 588 mMainExecutor.execute(() -> stopOneHanded()); 722 mMainExecutor.execute(() -> { 729 mMainExecutor.execute(() -> { 736 mMainExecutor.execute(() -> { 743 mMainExecutor.execute(() -> { 750 mMainExecutor.execute(() -> { [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipTouchState.java | 43 private final ShellExecutor mMainExecutor; field in PipTouchState 79 mMainExecutor = mainExecutor; in PipTouchState() 138 mMainExecutor.removeCallbacks(mDoubleTapTimeoutCallback); in onTouchEvent() 349 mMainExecutor.removeCallbacks(mDoubleTapTimeoutCallback); 350 mMainExecutor.executeDelayed(mDoubleTapTimeoutCallback, delay); 367 mMainExecutor.removeCallbacks(mDoubleTapTimeoutCallback); 372 mMainExecutor.removeCallbacks(mHoverExitTimeoutCallback); 373 mMainExecutor.executeDelayed(mHoverExitTimeoutCallback, HOVER_EXIT_TIMEOUT); 377 mMainExecutor.removeCallbacks(mHoverExitTimeoutCallback);
|
H A D | PipInputConsumer.java | 87 private final ShellExecutor mMainExecutor; field in PipInputConsumer 101 mMainExecutor = mainExecutor; in PipInputConsumer() 116 mMainExecutor.execute(() -> { in setRegistrationListener() 148 mMainExecutor.execute(() -> { in registerInputConsumer() 173 mMainExecutor.execute(() -> { in unregisterInputConsumer()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
H A D | SnapshotWindowCreator.java | 25 private final ShellExecutor mMainExecutor; field in SnapshotWindowCreator 31 mMainExecutor = mainExecutor; in SnapshotWindowCreator() 40 startingWindowInfo.appToken, snapshot, mMainExecutor, in makeTaskSnapshotWindow() 44 startingWindowInfo.taskInfo.topActivityType, mMainExecutor, in makeTaskSnapshotWindow()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
H A D | QSTileHostTest.java | 168 mMainExecutor.runAllReady(); in setUp() 350 mMainExecutor.runAllReady(); in testAddTileAtValidPosition() 365 mMainExecutor.runAllReady(); in testAddTileAtInvalidPositionAddsToEnd() 380 mMainExecutor.runAllReady(); in testAddTileAtEnd() 393 mMainExecutor.runAllReady(); in testNoRepeatedSpecs_customTile() 404 mMainExecutor.runAllReady(); in testAddedAtBeginningOnDefault_customTile() 415 mMainExecutor.runAllReady(); in testAddedAtBeginning_customTile() 426 mMainExecutor.runAllReady(); in testAddedAtEnd_customTile() 483 mMainExecutor.runAllReady(); in testRemoveTiles() 493 mMainExecutor.runAllReady(); in testTilesRemovedInQuickSuccession() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
H A D | CarrierTextManagerTest.java | 127 assertThat(mMainExecutor.isExecuting()).isTrue(); in checkMainThread() 168 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in setUp() 175 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testKeyguardUpdateMonitorCalledInMainThread() 194 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testAirplaneMode() 216 mMainExecutor, in testAirplaneMode_noSim_nullPlmn_nullSpn_doesNotCrash() 258 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testCardIOError() 270 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testCardIOError() 306 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testMoreSlotsThanSubs() 315 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testCallback() 332 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testNullingCallback() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
H A D | PipTouchStateTest.java | 50 private TestShellExecutor mMainExecutor; field in PipTouchStateTest 54 mMainExecutor = new TestShellExecutor(); in setUp() 60 mMainExecutor); in setUp() 90 mMainExecutor.flushAll(); in testDoubleTapTimeout_timeoutCallbackCalled() 125 mMainExecutor.flushAll(); in testHoverExitTimeout_timeoutCallbackCalled() 140 mMainExecutor.flushAll(); in testHoverExitTimeout_timeoutCallbackNotCalled_ifButtonPress()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | DisplayInsetsController.java | 45 private final ShellExecutor mMainExecutor; field in DisplayInsetsController 57 mMainExecutor = mainExecutor; in DisplayInsetsController() 208 mMainExecutor.execute(() -> { in topFocusedWindowChanged() 215 mMainExecutor.execute(() -> { in insetsChanged() 223 mMainExecutor.execute(() -> { in insetsControlChanged() 231 mMainExecutor.execute(() -> { in showInsets() 239 mMainExecutor.execute(() -> { in hideInsets()
|
H A D | DisplayController.java | 53 private final ShellExecutor mMainExecutor; field in DisplayController 64 mMainExecutor = mainExecutor; in DisplayController() 320 mMainExecutor.execute(() -> { in onDisplayAdded() 327 mMainExecutor.execute(() -> { in onDisplayConfigurationChanged() 334 mMainExecutor.execute(() -> { in onDisplayRemoved() 341 mMainExecutor.execute(() -> { in onFixedRotationStarted() 348 mMainExecutor.execute(() -> { in onFixedRotationFinished() 356 mMainExecutor.execute(() -> { in onKeepClearAreasChanged()
|
H A D | SyncTransactionQueue.java | 44 private final ShellExecutor mMainExecutor; field in SyncTransactionQueue 64 mMainExecutor = mainExecutor; in SyncTransactionQueue() 200 mMainExecutor.executeDelayed(mOnReplyTimeout, REPLY_TIMEOUT); in send() 207 mMainExecutor.execute(() -> { in onTransactionReady() 215 mMainExecutor.removeCallbacks(mOnReplyTimeout); in onTransactionReady()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/ |
H A D | ShellTransitionTests.java | 178 mMainExecutor.flushAll(); in testBasicTransitionFlow() 229 mMainExecutor.flushAll(); in testNonDefaultHandler() 245 mMainExecutor.flushAll(); in testNonDefaultHandler() 264 mMainExecutor.flushAll(); in testNonDefaultHandler() 301 mMainExecutor.flushAll(); in testRequestRemoteTransition() 438 mMainExecutor.flushAll(); in testRegisteredRemoteTransition() 451 mMainExecutor.flushAll(); in testRegisteredRemoteTransition() 531 mMainExecutor.flushAll(); in testTransitionQueueing() 539 mMainExecutor.flushAll(); in testTransitionQueueing() 573 mMainExecutor.flushAll(); in testTransitionMerging() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | EmergencyButtonController.java | 68 private Executor mMainExecutor; field in EmergencyButtonController 110 mMainExecutor = mainExecutor; in EmergencyButtonController() 146 mMainExecutor.execute(() -> mView.updateEmergencyCallButton( in updateEmergencyCallButton() 173 mMainExecutor.execute(() -> { in takeEmergencyCallAction() 219 private final Executor mMainExecutor; field in EmergencyButtonController.Factory 241 mMainExecutor = mainExecutor; in Factory() 250 mMainExecutor, mBackgroundExecutor); in create()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationListener.java | 66 private final Executor mMainExecutor; field in NotificationListener 88 mMainExecutor = mainExecutor; in NotificationListener() 114 mMainExecutor.execute(() -> { in onListenerConnected() 144 mMainExecutor.execute(() -> { in onNotificationPosted() 159 mMainExecutor.execute(() -> { in onNotificationRemoved() 183 mMainExecutor.execute(mDispatchRankingUpdateRunnable); in onNotificationRankingUpdate() 227 mMainExecutor.execute(() -> { in onNotificationChannelModified()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
H A D | AccessPointControllerImpl.java | 60 private final Executor mMainExecutor; field in AccessPointControllerImpl 78 mMainExecutor = mainExecutor; in AccessPointControllerImpl() 80 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.CREATED)); in AccessPointControllerImpl() 102 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.DESTROYED)); in finalize() 127 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.STARTED)); in addAccessPointCallback() 137 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.CREATED)); in removeAccessPointCallback()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
H A D | OneShotRemoteHandler.java | 41 private final ShellExecutor mMainExecutor; field in OneShotRemoteHandler 51 mMainExecutor = mainExecutor; in OneShotRemoteHandler() 70 mMainExecutor.execute( in startAnimation() 83 mMainExecutor.execute(() -> { in startAnimation() 125 mMainExecutor.execute(() -> finishCallback.onTransitionFinished(wct)); in mergeAnimation()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | BubbleController.java | 302 mMainExecutor = mainExecutor; in BubbleController() 499 return mMainExecutor; in getMainExecutor() 509 return mMainExecutor; in getRemoteCallExecutor() 736 mMainExecutor); in ensureBubbleViewsAndWindowCreated() 931 mMainExecutor.execute(() -> { in restoreBubbles() 1598 mMainExecutor.execute(() -> { in setIsBubble() 2120 mMainExecutor.execute( in showBubble() 2127 mMainExecutor.execute( in removeBubble() 2311 mMainExecutor.execute( in showOrHideAppBubble() 2326 mMainExecutor.execute( in getScreenshotExcludingBubble() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | ManagedProfileControllerImpl.java | 42 private final Executor mMainExecutor; field in ManagedProfileControllerImpl 54 mMainExecutor = mainExecutor; in ManagedProfileControllerImpl() 100 mMainExecutor.execute(this::notifyManagedProfileRemoved); in reloadManagedProfiles() 140 mUserTracker.addCallback(mUserTrackerCallback, mMainExecutor); in setListening()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/ |
H A D | PluginActionManager.java | 77 private final Executor mMainExecutor; field in PluginActionManager 95 mMainExecutor = mainExecutor; in PluginActionManager() 120 mMainExecutor.execute(() -> onPluginDisconnected(plugInstance)); in destroy() 225 mMainExecutor.execute(() -> onPluginDisconnected(pluginInstance)); in queryAll() 235 mMainExecutor.execute(() -> onPluginDisconnected(pluginInstance)); in removePkg() 279 mMainExecutor.execute(() -> onPluginConnected(pluginInstance)); in handleQueryPlugins() 375 private final Executor mMainExecutor; field in PluginActionManager.Factory 388 mMainExecutor = mainExecutor; in Factory() 400 pluginClass, allowMultiple, mMainExecutor, mBgExecutor, in create()
|