Home
last modified time | relevance | path

Searched refs:mCommandQueue (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java42 private CommandQueue mCommandQueue; field in CommandQueueTest
48 mCommandQueue = new CommandQueue(mContext); in setup()
50 mCommandQueue.addCallback(mCallbacks); in setup()
63 mCommandQueue.setIcon(slot, icon); in testIcon()
67 mCommandQueue.removeIcon(slot); in testIcon()
76 mCommandQueue.disable(DEFAULT_DISPLAY, state1, state2); in testDisable()
85 mCommandQueue.disable(SECONDARY_DISPLAY, state1, state2); in testDisableForSecondaryDisplay()
92 mCommandQueue.animateExpandNotificationsPanel(); in testExpandNotifications()
99 mCommandQueue.animateCollapsePanels(); in testCollapsePanels()
107 mCommandQueue.animateExpandSettingsPanel(panel); in testExpandSettings()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisablerTest.java44 private CommandQueue mCommandQueue; field in RemoteInputQuickSettingsDisablerTest
51 mCommandQueue = mock(CommandQueue.class); in setUp()
52 mContext.putComponent(CommandQueue.class, mCommandQueue); in setUp()
63 verify(mCommandQueue, atLeastOnce()).recomputeDisableFlags(anyInt(), anyBoolean()); in shouldEnableQuickSetting_afterDeactiviate()
71 verify(mCommandQueue, atLeastOnce()).recomputeDisableFlags(anyInt(), anyBoolean()); in shouldDisableQuickSetting_afteActiviate()
82 verify(mCommandQueue, atLeastOnce()).recomputeDisableFlags(anyInt(), anyBoolean()); in testChangeToLandscape()
93 verify(mCommandQueue, atLeastOnce()).recomputeDisableFlags(anyInt(), anyBoolean()); in testChangeToPortrait()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenterTest.java60 private CommandQueue mCommandQueue; field in StatusBarNotificationPresenterTest
68 mCommandQueue = new CommandQueue(mContext); in setup()
69 mContext.putComponent(CommandQueue.class, mCommandQueue); in setup()
89 mCommandQueue.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_EXPAND, 0, in testHeadsUp_disabledStatusBar()
103 mCommandQueue.disable(DEFAULT_DISPLAY, 0, StatusBarManager.DISABLE2_NOTIFICATION_SHADE, in testHeadsUp_disabledNotificationShade()
DNavigationBarFragmentTest.java84 private CommandQueue mCommandQueue; field in NavigationBarFragmentTest
135 mCommandQueue = new CommandQueue(mContext); in setupSysuiDependency()
136 mSysuiContext.putComponent(CommandQueue.class, mCommandQueue); in setupSysuiDependency()
145 mSysuiTestableContextExternal.putComponent(CommandQueue.class, mCommandQueue); in setupSysuiDependency()
185 mCommandQueue.setImeWindowStatus(DEFAULT_DISPLAY, null, IME_VISIBLE, in testSetImeWindowStatusWhenImeSwitchOnDisplay()
196 mCommandQueue.setImeWindowStatus(EXTERNAL_DISPLAY_ID, null, in testSetImeWindowStatusWhenImeSwitchOnDisplay()
DStatusBarTest.java182 private CommandQueue mCommandQueue; field in StatusBarTest
228 mCommandQueue = mock(CommandQueue.class); in setup()
229 when(mCommandQueue.asBinder()).thenReturn(new Binder()); in setup()
230 mContext.putComponent(CommandQueue.class, mCommandQueue); in setup()
264 mLockscreenUserManager, mCommandQueue, mNotificationPresenter, in setup()
289 mStatusBar.mCommandQueue = mock(CommandQueue.class); in testSetBouncerShowing_noCrash()
564 when(mCommandQueue.panelsEnabled()).thenReturn(false); in testDisableExpandStatusBar()
573 when(mCommandQueue.panelsEnabled()).thenReturn(true); in testDisableExpandStatusBar()
819 mCommandQueue = commandQueue; in TestableStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoHideController.java48 private final CommandQueue mCommandQueue; field in AutoHideController
72 mCommandQueue = SysUiServiceProvider.getComponent(context, CommandQueue.class); in AutoHideController()
73 mCommandQueue.addCallback(this); in AutoHideController()
84 mCommandQueue.removeCallback(this); in onDisplayRemoved()
121 mCommandQueue.setSystemUiVisibility(mDisplayId, mSystemUiVisibility, in setSystemUiVisibility()
DCollapsedStatusBarFragment.java69 private CommandQueue mCommandQueue; field in CollapsedStatusBarFragment
74 mCommandQueue.recomputeDisableFlags(getContext().getDisplayId(), true /* animate */);
85 mCommandQueue = SysUiServiceProvider.getComponent(getContext(), CommandQueue.class); in onCreate()
124 mCommandQueue.addCallback(this); in onResume()
131 mCommandQueue.removeCallback(this); in onPause()
DStatusBarRemoteInputCallback.java74 private final CommandQueue mCommandQueue; field in StatusBarRemoteInputCallback
88 mCommandQueue = getComponent(context, CommandQueue.class); in StatusBarRemoteInputCallback()
89 mCommandQueue.addCallback(this); in StatusBarRemoteInputCallback()
179 mCommandQueue.animateCollapsePanels(); in onLockedWorkRemoteInput()
DStatusBarNotificationPresenter.java117 private final CommandQueue mCommandQueue; field in StatusBarNotificationPresenter
147 mCommandQueue = getComponent(context, CommandQueue.class); in StatusBarNotificationPresenter()
331 mCommandQueue.animateCollapsePanels(); in onNotificationRemoved()
361 if (!mCommandQueue.panelsEnabled()) { in canHeadsUp()
387 mCommandQueue.animateCollapsePanels(); in onUserSwitched()
DPhoneStatusBarView.java57 private final CommandQueue mCommandQueue; field in PhoneStatusBarView
90 mCommandQueue = getComponent(context, CommandQueue.class); in PhoneStatusBarView()
176 return mCommandQueue.panelsEnabled(); in panelEnabled()
DNavigationBarFragment.java158 private CommandQueue mCommandQueue; field in NavigationBarFragment
264 mCommandQueue = SysUiServiceProvider.getComponent(getContext(), CommandQueue.class); in onCreate()
265 mCommandQueue.observe(getLifecycle(), this); in onCreate()
289 mCommandQueue.recomputeDisableFlags(mDisplayId, false); in onCreate()
739 mCommandQueue.preloadRecentApps(); in onRecentsTouch()
741 mCommandQueue.cancelPreloadRecentApps(); in onRecentsTouch()
744 mCommandQueue.cancelPreloadRecentApps(); in onRecentsTouch()
756 mCommandQueue.toggleRecentApps(); in onRecentsClick()
DStatusBar.java692 mCommandQueue = getComponent(CommandQueue.class); in start()
693 mCommandQueue.addCallback(this); in start()
697 result = mBarService.registerStatusBar(mCommandQueue); in start()
724 mCommandQueue.setIcon(result.mIcons.keyAt(i), result.mIcons.valueAt(i)); in start()
1074 mCommandQueue, mAssistManager, mNotificationPanel, mPresenter, mEntryManager, in setUpPresenter()
1099 mCommandQueue.disable(mDisplayId, state1, state2, false /* animate */); in setUpDisableFlags()
1662 mCommandQueue.recomputeDisableFlags(mDisplayId, true); in updateHideIconsForBouncer()
1665 mCommandQueue.recomputeDisableFlags(mDisplayId, animate); in updateHideIconsForBouncer()
1776 if (!mCommandQueue.panelsEnabled() || !mKeyguardMonitor.isDeviceInteractive() in handleSystemKey()
1820 if (!force && (mExpandedVisible || !mCommandQueue.panelsEnabled())) { in makeExpandedVisible()
[all …]
DStatusBarNotificationActivityStarter.java101 private final CommandQueue mCommandQueue; field in StatusBarNotificationActivityStarter
142 mCommandQueue = commandQueue; in StatusBarNotificationActivityStarter()
400 mMainThreadHandler.post(() -> mCommandQueue.animateCollapsePanels( in startNotificationGutsIntent()
DNotificationPanelView.java334 private final CommandQueue mCommandQueue; field in NotificationPanelView
367 mCommandQueue = getComponent(context, CommandQueue.class); in NotificationPanelView()
2737 mCommandQueue.recomputeDisableFlags(mDisplayId, false); in updateStatusBarIcons()
2999 mCommandQueue.recomputeDisableFlags(mDisplayId, true /* animate */); in applyExpandAnimationParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisabler.java43 @VisibleForTesting CommandQueue mCommandQueue; field in RemoteInputQuickSettingsDisabler
49 mCommandQueue = SysUiServiceProvider.getComponent(context, CommandQueue.class); in RemoteInputQuickSettingsDisabler()
85 mCommandQueue.recomputeDisableFlags(mContext.getDisplayId(), true); in recomputeDisableFlags()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/synthetic/
DTestInterface.java86 Queue<Integer> mCommandQueue = new LinkedList<Integer>(); field in TestInterface.LooperThread
98 mCommandQueue.add(i); in runCommand()
112 if (mCommandQueue.isEmpty()) { in run()
119 if (!mCommandQueue.isEmpty()) { in run()
120 command = mCommandQueue.remove(); in run()
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp664 return !mCommandQueue.isEmpty(); in haveCommandsLocked()
668 if (mCommandQueue.isEmpty()) { in runCommandsLockedInterruptible()
673 CommandEntry* commandEntry = mCommandQueue.dequeueAtHead(); in runCommandsLockedInterruptible()
680 } while (! mCommandQueue.isEmpty()); in runCommandsLockedInterruptible()
686 mCommandQueue.enqueueAtTail(commandEntry); in postCommandLocked()
DInputDispatcher.h928 Queue<CommandEntry> mCommandQueue GUARDED_BY(mLock);
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java585 if (!mCommandQueue.panelsEnabled() || !mUserSetup) { in animateExpandNotificationsPanel()