Home
last modified time | relevance | path

Searched refs:mMainExecutor (Results 1 – 25 of 85) sorted by relevance

1234

/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
H A DPictureCallbackAdapter.java35 private final Executor mMainExecutor; field in PictureCallbackAdapter
40 mMainExecutor = mainExecutor; in PictureCallbackAdapter()
47 mMainExecutor.execute(new Runnable() { in provideQuickExposeUpdatable()
60 mMainExecutor.execute(new Runnable() {
73 mMainExecutor.execute(new Runnable() {
86 mMainExecutor.execute(new Runnable() {
100 mMainExecutor.execute(new Runnable() {
114 mMainExecutor.execute(new Runnable() {
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPinnedStackListenerForwarder.java41 private final ShellExecutor mMainExecutor; field in PinnedStackListenerForwarder
45 mMainExecutor = mainExecutor; in PinnedStackListenerForwarder()
97 mMainExecutor.execute(() -> { in onMovementBoundsChanged()
104 mMainExecutor.execute(() -> { in onImeVisibilityChanged()
111 mMainExecutor.execute(() -> { in onActionsChanged()
118 mMainExecutor.execute(() -> { in onActivityHidden()
125 mMainExecutor.execute(() -> { in onAspectRatioChanged()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
H A DTileQueryHelperTest.java119 private FakeExecutor mMainExecutor; field in TileQueryHelperTest
141 mMainExecutor = new FakeExecutor(clock); in setup()
157 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testIsFinished_trueAfterQuerying()
166 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_callsListenerTwice()
180 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_isFinishedFalseOnListenerCalls_thenTrueAfterCompletion()
194 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_correctTilesAndOrderOnlyStockTiles()
214 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles()
234 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testQueryTiles_otherTileNotIncluded()
315 private final Executor mMainExecutor; field in TileQueryHelperTest.FakeQSTile
319 mMainExecutor = mainExecutor; in FakeQSTile()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DCarrierTextManagerTest.java116 assertThat(mMainExecutor.isExecuting()).isTrue(); in checkMainThread()
158 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in setUp()
165 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testKeyguardUpdateMonitorCalledInMainThread()
184 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testAirplaneMode()
207 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testCardIOError()
219 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testCardIOError()
255 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testMoreSlotsThanSubs()
264 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testCallback()
281 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testNullingCallback()
301 FakeExecutor.exhaustExecutors(mMainExecutor, mBgExecutor); in testCreateInfo_OneValidSubscription()
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
H A DForcedResizableInfoActivityController.java43 private final ShellExecutor mMainExecutor; field in ForcedResizableInfoActivityController
75 mMainExecutor = mainExecutor; in ForcedResizableInfoActivityController()
82 mMainExecutor.removeCallbacks(mTimeoutRunnable); in onDraggingStart()
116 mMainExecutor.removeCallbacks(mTimeoutRunnable); in showPending()
132 mMainExecutor.removeCallbacks(mTimeoutRunnable); in postTimeout()
133 mMainExecutor.executeDelayed(mTimeoutRunnable, TIMEOUT); in postTimeout()
H A DLegacySplitScreenController.java84 private final ShellExecutor mMainExecutor; field in LegacySplitScreenController
126 mMainExecutor = mainExecutor; in LegacySplitScreenController()
385 mMainExecutor.execute(() -> { in setMinimized()
671 mMainExecutor.execute(() -> { in onKeyguardVisibilityChanged()
678 mMainExecutor.execute(() -> { in setMinimized()
685 mMainExecutor.execute(() -> { in onUndockingTask()
692 mMainExecutor.execute(() -> { in onAppTransitionFinished()
699 mMainExecutor.execute(() -> { in registerInSplitScreenListener()
706 mMainExecutor.execute(() -> { in unregisterInSplitScreenListener()
713 mMainExecutor.execute(() -> { in registerBoundsChangeListener()
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedTimeoutHandler.java37 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 DOneHandedController.java256 mMainExecutor = mainExecutor; in OneHandedController()
307 return mMainExecutor; in getRemoteCallExecutor()
783 mMainExecutor.execute(() -> {
790 mMainExecutor.execute(() -> {
797 mMainExecutor.execute(() -> {
804 mMainExecutor.execute(() -> {
811 mMainExecutor.execute(() -> {
818 mMainExecutor.execute(() -> {
825 mMainExecutor.execute(() -> {
832 mMainExecutor.execute(() -> {
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipTouchState.java43 private final ShellExecutor mMainExecutor; field in PipTouchState
76 mMainExecutor = mainExecutor; in PipTouchState()
120 mMainExecutor.removeCallbacks(mDoubleTapTimeoutCallback); in onTouchEvent()
328 mMainExecutor.removeCallbacks(mDoubleTapTimeoutCallback);
329 mMainExecutor.executeDelayed(mDoubleTapTimeoutCallback, delay);
346 mMainExecutor.removeCallbacks(mDoubleTapTimeoutCallback);
351 mMainExecutor.removeCallbacks(mHoverExitTimeoutCallback);
352 mMainExecutor.executeDelayed(mHoverExitTimeoutCallback, HOVER_EXIT_TIMEOUT);
356 mMainExecutor.removeCallbacks(mHoverExitTimeoutCallback);
H A DPipInputConsumer.java86 private final ShellExecutor mMainExecutor; field in PipInputConsumer
100 mMainExecutor = mainExecutor; in PipInputConsumer()
115 mMainExecutor.execute(() -> { in setRegistrationListener()
146 mMainExecutor.execute(() -> { in registerInputConsumer()
172 mMainExecutor.execute(() -> { in unregisterInputConsumer()
H A DPipController.java102 protected ShellExecutor mMainExecutor; field in PipController
324 mMainExecutor = mainExecutor; in PipController()
333 mMainExecutor.execute(this::init); in PipController()
450 return mMainExecutor; in getRemoteCallExecutor()
784 mMainExecutor.execute(() -> { in hidePipMenu()
791 mMainExecutor.execute(() -> { in expandPip()
798 mMainExecutor.execute(() -> { in onConfigurationChanged()
805 mMainExecutor.execute(() -> { in onDensityOrFontScaleChanged()
812 mMainExecutor.execute(() -> { in onOverlayChanged()
819 mMainExecutor.execute(() -> { in onSystemUiStateChanged()
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayInsetsController.java40 private final ShellExecutor mMainExecutor; field in DisplayInsetsController
50 mMainExecutor = mainExecutor; in DisplayInsetsController()
188 mMainExecutor.execute(() -> { in topFocusedWindowChanged()
195 mMainExecutor.execute(() -> { in insetsChanged()
203 mMainExecutor.execute(() -> { in insetsControlChanged()
210 mMainExecutor.execute(() -> { in showInsets()
217 mMainExecutor.execute(() -> { in hideInsets()
H A DDisplayController.java47 private final ShellExecutor mMainExecutor; field in DisplayController
58 mMainExecutor = mainExecutor; in DisplayController()
267 mMainExecutor.execute(() -> { in onDisplayAdded()
274 mMainExecutor.execute(() -> { in onDisplayConfigurationChanged()
281 mMainExecutor.execute(() -> { in onDisplayRemoved()
288 mMainExecutor.execute(() -> { in onFixedRotationStarted()
295 mMainExecutor.execute(() -> { in onFixedRotationFinished()
H A DSyncTransactionQueue.java44 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()
H A DDisplayChangeController.java42 private final ShellExecutor mMainExecutor; field in DisplayChangeController
50 mMainExecutor = mainExecutor; in DisplayChangeController()
93 mMainExecutor.execute(() -> { in onRotateDisplay()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
H A DPipTouchStateTest.java50 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()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/tasksurfacehelper/
H A DTaskSurfaceHelperController.java36 private final ShellExecutor mMainExecutor; field in TaskSurfaceHelperController
42 mMainExecutor = mainExecutor; in TaskSurfaceHelperController()
68 mMainExecutor.execute(() -> { in setGameModeForTask()
76 mMainExecutor.execute(() -> { in screenshotTask()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleController.java258 mMainExecutor = mainExecutor; in BubbleController()
408 return mMainExecutor; in getMainExecutor()
590 mMainExecutor); in ensureStackViewCreated()
724 mMainExecutor.execute(() -> { in restoreBubbles()
1082 mMainExecutor.execute(() -> { in setIsBubble()
1514 mMainExecutor.execute(() -> { in removeSuppressedSummaryIfNecessary()
1524 mMainExecutor.execute(() -> { in collapseStack()
1531 mMainExecutor.execute(() -> { in updateForThemeChanges()
1538 mMainExecutor.execute(() -> { in expandStackAndSelectBubble()
1545 mMainExecutor.execute(() -> { in expandStackAndSelectBubble()
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DOneShotRemoteHandler.java43 private final ShellExecutor mMainExecutor; field in OneShotRemoteHandler
53 mMainExecutor = mainExecutor; in OneShotRemoteHandler()
72 mMainExecutor.execute( in startAnimation()
82 mMainExecutor.execute(() -> { in startAnimation()
123 mMainExecutor.execute( in mergeAnimation()
H A DRemoteTransitionHandler.java52 private final ShellExecutor mMainExecutor; field in RemoteTransitionHandler
64 mMainExecutor = mainExecutor; in RemoteTransitionHandler()
123 mMainExecutor.execute(() -> { in startAnimation()
146 mMainExecutor.execute( in startAnimation()
165 mMainExecutor.execute(() -> { in mergeAnimation()
262 mMainExecutor.execute(() -> { in binderDied()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/
H A DUserSwitchTransitionViewController.java58 private final DelayableExecutor mMainExecutor; field in UserSwitchTransitionViewController
89 mMainExecutor = delayableExecutor; in UserSwitchTransitionViewController()
107 mMainExecutor.execute(() -> { in handleShow()
123 mCancelRunnable = mMainExecutor.executeDelayed(mWindowShownTimeoutCallback, in handleShow()
130 mMainExecutor.execute(() -> { in handleHide()
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
H A DPluginActionManager.java76 private final Executor mMainExecutor; field in PluginActionManager
94 mMainExecutor = mainExecutor; in PluginActionManager()
119 mMainExecutor.execute(() -> onPluginDisconnected(plugInstance)); in destroy()
224 mMainExecutor.execute(() -> onPluginDisconnected(pluginInstance)); in queryAll()
234 mMainExecutor.execute(() -> onPluginDisconnected(pluginInstance)); in removePkg()
277 mMainExecutor.execute(() -> onPluginConnected(pluginInstance)); in handleQueryPlugins()
374 private final Executor mMainExecutor; field in PluginActionManager.Factory
387 mMainExecutor = mainExecutor; in Factory()
399 pluginClass, allowMultiple, mMainExecutor, mBgExecutor, in create()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/apppairs/
H A DAppPairsController.java46 private final ShellExecutor mMainExecutor; field in AppPairsController
65 mMainExecutor = mainExecutor; in AppPairsController()
183 mMainExecutor.executeBlocking(() -> { in pair()
197 mMainExecutor.executeBlocking(() -> { in pair()
208 mMainExecutor.execute(() -> { in unpair()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/
H A DCarKeyguardViewController.java75 private final DelayableExecutor mMainExecutor; field in CarKeyguardViewController
141 mMainExecutor = mainExecutor; in CarKeyguardViewController()
211 mMainExecutor.execute(mViewMediatorCallback::keyguardGone); in hide()
219 mMainExecutor.execute(() -> { in reset()
431 mMainExecutor.executeDelayed(this::revealKeyguardIfBouncerPrepared, in revealKeyguardIfBouncerPrepared()
435 mMainExecutor.execute(revealKeyguard); in revealKeyguardIfBouncerPrepared()
446 mMainExecutor.execute(() -> { in resetBouncer()
496 mMainExecutor.executeDelayed(new Runnable() { in makeOverlayToast()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
H A DAccessPointControllerImpl.java74 private final Executor mMainExecutor; field in AccessPointControllerImpl
92 mMainExecutor = mainExecutor; in AccessPointControllerImpl()
94 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.CREATED)); in AccessPointControllerImpl()
116 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.DESTROYED)); in finalize()
140 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.STARTED)); in addAccessPointCallback()
150 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.CREATED)); in removeAccessPointCallback()

1234