Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java38 private CommandQueue mCommandQueue; field in CommandQueueTest
43 mCommandQueue = new CommandQueue(); in setup()
45 mCommandQueue.addCallbacks(mCallbacks); in setup()
58 mCommandQueue.setIcon(slot, icon); in testIcon()
62 mCommandQueue.removeIcon(slot); in testIcon()
71 mCommandQueue.disable(state1, state2); in testDisable()
78 mCommandQueue.animateExpandNotificationsPanel(); in testExpandNotifications()
85 mCommandQueue.animateCollapsePanels(); in testCollapsePanels()
93 mCommandQueue.animateExpandSettingsPanel(panel); in testExpandSettings()
101 mCommandQueue.setSystemUiVisibility(1, 2, 3, 4, null, r); in testSetSystemUiVisibility()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisablerTest.java42 private CommandQueue mCommandQueue; field in RemoteInputQuickSettingsDisablerTest
49 mCommandQueue = mock(CommandQueue.class); in setUp()
50 mContext.putComponent(CommandQueue.class, mCommandQueue); in setUp()
60 verify(mCommandQueue, atLeastOnce()).recomputeDisableFlags(anyBoolean()); in shouldEnableQuickSetting_afterDeactiviate()
68 verify(mCommandQueue, atLeastOnce()).recomputeDisableFlags(anyBoolean()); in shouldDisableQuickSetting_afteActiviate()
79 verify(mCommandQueue, atLeastOnce()).recomputeDisableFlags(anyBoolean()); in testChangeToLandscape()
90 verify(mCommandQueue, atLeastOnce()).recomputeDisableFlags(anyBoolean()); in testChangeToPortrait()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisabler.java40 @VisibleForTesting CommandQueue mCommandQueue; field in RemoteInputQuickSettingsDisabler
44 mCommandQueue = SysUiServiceProvider.getComponent(context, CommandQueue.class); in RemoteInputQuickSettingsDisabler()
80 mCommandQueue.recomputeDisableFlags(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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java146 private CommandQueue mCommandQueue; field in NavigationBarFragment
203 mCommandQueue = SysUiServiceProvider.getComponent(getContext(), CommandQueue.class); in onCreate()
204 mCommandQueue.addCallbacks(this); in onCreate()
250 mCommandQueue.removeCallbacks(this); in onDestroy()
835 mCommandQueue.preloadRecentApps(); in onRecentsTouch()
837 mCommandQueue.cancelPreloadRecentApps(); in onRecentsTouch()
840 mCommandQueue.cancelPreloadRecentApps(); in onRecentsTouch()
852 mCommandQueue.toggleRecentApps(); in onRecentsClick()
DStatusBar.java694 mCommandQueue = getComponent(CommandQueue.class); in start()
695 mCommandQueue.addCallbacks(this); in start()
704 mBarService.registerStatusBar(mCommandQueue, iconSlots, icons, switches, binders, in start()
718 mCommandQueue.disable(switches[0], switches[6], false /* animate */); in start()
728 mCommandQueue.setIcon(iconSlots.get(i), icons.get(i)); in start()
1859 mCommandQueue.recomputeDisableFlags(animate); in recomputeDisableFlags()
3614 mCommandQueue.appTransitionStarting(SystemClock.uptimeMillis(), in fadeKeyguardAfterLaunchTransition()
3747 mCommandQueue.appTransitionPending(true); in keyguardGoingAway()
3761 mCommandQueue.appTransitionStarting(startTime + fadeoutDuration in setKeyguardFadingAway()
3765 mCommandQueue.appTransitionStarting( in setKeyguardFadingAway()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java233 mStatusBar.mCommandQueue = mock(CommandQueue.class); in testSetBouncerShowing_noCrash()
751 mCommandQueue = commandQueue; in TestableStatusBar()
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp628 return !mCommandQueue.isEmpty(); in haveCommandsLocked()
632 if (mCommandQueue.isEmpty()) { in runCommandsLockedInterruptible()
637 CommandEntry* commandEntry = mCommandQueue.dequeueAtHead(); in runCommandsLockedInterruptible()
644 } while (! mCommandQueue.isEmpty()); in runCommandsLockedInterruptible()
650 mCommandQueue.enqueueAtTail(commandEntry); in postCommandLocked()
DInputDispatcher.h863 Queue<CommandEntry> mCommandQueue; variable