/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | CommandQueueTest.java | 42 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/ |
D | RemoteInputQuickSettingsDisablerTest.java | 44 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/ |
D | StatusBarNotificationPresenterTest.java | 60 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()
|
D | NavigationBarFragmentTest.java | 84 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()
|
D | StatusBarTest.java | 182 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/ |
D | AutoHideController.java | 48 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()
|
D | CollapsedStatusBarFragment.java | 69 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()
|
D | StatusBarRemoteInputCallback.java | 74 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()
|
D | StatusBarNotificationPresenter.java | 117 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()
|
D | PhoneStatusBarView.java | 57 private final CommandQueue mCommandQueue; field in PhoneStatusBarView 90 mCommandQueue = getComponent(context, CommandQueue.class); in PhoneStatusBarView() 176 return mCommandQueue.panelsEnabled(); in panelEnabled()
|
D | NavigationBarFragment.java | 158 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()
|
D | StatusBar.java | 692 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 …]
|
D | StatusBarNotificationActivityStarter.java | 101 private final CommandQueue mCommandQueue; field in StatusBarNotificationActivityStarter 142 mCommandQueue = commandQueue; in StatusBarNotificationActivityStarter() 400 mMainThreadHandler.post(() -> mCommandQueue.animateCollapsePanels( in startNotificationGutsIntent()
|
D | NotificationPanelView.java | 334 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/ |
D | RemoteInputQuickSettingsDisabler.java | 43 @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/ |
D | TestInterface.java | 86 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/ |
D | InputDispatcher.cpp | 664 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()
|
D | InputDispatcher.h | 928 Queue<CommandEntry> mCommandQueue GUARDED_BY(mLock);
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarStatusBar.java | 585 if (!mCommandQueue.panelsEnabled() || !mUserSetup) { in animateExpandNotificationsPanel()
|