/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 | 61 private CommandQueue mCommandQueue; field in StatusBarNotificationPresenterTest 69 mCommandQueue = new CommandQueue(mContext); in setup() 70 mContext.putComponent(CommandQueue.class, mCommandQueue); in setup() 90 mCommandQueue.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_EXPAND, 0, in testHeadsUp_disabledStatusBar() 104 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 | 184 private CommandQueue mCommandQueue; field in StatusBarTest 232 mCommandQueue = mock(CommandQueue.class); in setup() 233 when(mCommandQueue.asBinder()).thenReturn(new Binder()); in setup() 234 mContext.putComponent(CommandQueue.class, mCommandQueue); in setup() 268 mLockscreenUserManager, mCommandQueue, mNotificationPresenter, in setup() 287 mStatusBar.mCommandQueue = mock(CommandQueue.class); in testSetBouncerShowing_noCrash() 562 when(mCommandQueue.panelsEnabled()).thenReturn(false); in testDisableExpandStatusBar() 571 when(mCommandQueue.panelsEnabled()).thenReturn(true); in testDisableExpandStatusBar() 817 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 | 70 private CommandQueue mCommandQueue; field in CollapsedStatusBarFragment 75 mCommandQueue.recomputeDisableFlags(getContext().getDisplayId(), true /* animate */); 86 mCommandQueue = SysUiServiceProvider.getComponent(getContext(), CommandQueue.class); in onCreate() 125 mCommandQueue.addCallback(this); in onResume() 132 mCommandQueue.removeCallback(this); in onPause()
|
D | StatusBarRemoteInputCallback.java | 75 private final CommandQueue mCommandQueue; field in StatusBarRemoteInputCallback 89 mCommandQueue = getComponent(context, CommandQueue.class); in StatusBarRemoteInputCallback() 90 mCommandQueue.addCallback(this); in StatusBarRemoteInputCallback() 184 mCommandQueue.animateCollapsePanels(); in onLockedWorkRemoteInput()
|
D | StatusBarNotificationPresenter.java | 116 private final CommandQueue mCommandQueue; field in StatusBarNotificationPresenter 147 mCommandQueue = getComponent(context, CommandQueue.class); in StatusBarNotificationPresenter() 329 mCommandQueue.animateCollapsePanels(); in onNotificationRemoved() 356 if (!mCommandQueue.panelsEnabled()) { in canHeadsUp() 382 mCommandQueue.animateCollapsePanels(); in onUserSwitched()
|
D | NavigationBarFragment.java | 159 private CommandQueue mCommandQueue; field in NavigationBarFragment 266 mCommandQueue = SysUiServiceProvider.getComponent(getContext(), CommandQueue.class); in onCreate() 267 mCommandQueue.observe(getLifecycle(), this); in onCreate() 291 mCommandQueue.recomputeDisableFlags(mDisplayId, false); in onCreate() 745 mCommandQueue.preloadRecentApps(); in onRecentsTouch() 747 mCommandQueue.cancelPreloadRecentApps(); in onRecentsTouch() 750 mCommandQueue.cancelPreloadRecentApps(); in onRecentsTouch() 762 mCommandQueue.toggleRecentApps(); in onRecentsClick()
|
D | PhoneStatusBarView.java | 60 private final CommandQueue mCommandQueue; field in PhoneStatusBarView 94 mCommandQueue = getComponent(context, CommandQueue.class); in PhoneStatusBarView() 177 return mCommandQueue.panelsEnabled(); in panelEnabled()
|
D | StatusBar.java | 701 mCommandQueue = getComponent(CommandQueue.class); in start() 702 mCommandQueue.addCallback(this); in start() 706 result = mBarService.registerStatusBar(mCommandQueue); in start() 737 mCommandQueue.setIcon(result.mIcons.keyAt(i), result.mIcons.valueAt(i)); in start() 1078 mCommandQueue, mAssistManager, mNotificationPanel, mPresenter, mEntryManager, in setUpPresenter() 1170 mCommandQueue.disable(mDisplayId, state1, state2, false /* animate */); in setUpDisableFlags() 1737 mCommandQueue.recomputeDisableFlags(mDisplayId, true); in updateHideIconsForBouncer() 1740 mCommandQueue.recomputeDisableFlags(mDisplayId, animate); in updateHideIconsForBouncer() 1851 if (!mCommandQueue.panelsEnabled() || !mKeyguardMonitor.isDeviceInteractive() in handleSystemKey() 1897 if (!force && (mExpandedVisible || !mCommandQueue.panelsEnabled())) { in makeExpandedVisible() [all …]
|
D | HeadsUpAppearanceController.java | 70 private final CommandQueue mCommandQueue; field in HeadsUpAppearanceController 162 mCommandQueue = getComponent(headsUpStatusBarView.getContext(), CommandQueue.class); in HeadsUpAppearanceController() 301 mCommandQueue.recomputeDisableFlags( in setShown()
|
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 | 404 private final CommandQueue mCommandQueue; field in NotificationPanelView 459 mCommandQueue = getComponent(context, CommandQueue.class); in NotificationPanelView() 3084 mCommandQueue.recomputeDisableFlags(mDisplayId, false); in updateStatusBarIcons() 3347 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/dispatcher/ |
D | InputDispatcher.h | 140 Queue<CommandEntry> mCommandQueue GUARDED_BY(mLock);
|
D | InputDispatcher.cpp | 646 return !mCommandQueue.isEmpty(); in haveCommandsLocked() 650 if (mCommandQueue.isEmpty()) { in runCommandsLockedInterruptible() 655 CommandEntry* commandEntry = mCommandQueue.dequeueAtHead(); in runCommandsLockedInterruptible() 662 } while (!mCommandQueue.isEmpty()); in runCommandsLockedInterruptible() 668 mCommandQueue.enqueueAtTail(commandEntry); in postCommandLocked()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarStatusBar.java | 905 if (!mCommandQueue.panelsEnabled() || !mUserSetup) { in animateExpandNotificationsPanel()
|