Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java68 private CommandQueue mCommandQueue; field in CommandQueueTest
75 mCommandQueue = new CommandQueue(mContext, mDisplayTracker); in setup()
77 mCommandQueue.addCallback(mCallbacks); in setup()
90 mCommandQueue.setIcon(slot, icon); in testIcon()
94 mCommandQueue.removeIcon(slot); in testIcon()
103 mCommandQueue.disable(DEFAULT_DISPLAY, state1, state2); in testDisable()
112 mCommandQueue.disable(SECONDARY_DISPLAY, state1, state2); in testDisableForSecondaryDisplay()
119 mCommandQueue.animateExpandNotificationsPanel(); in testExpandNotifications()
127 mCommandQueue.animateExpandSettingsPanel(panel); in testExpandSettings()
152 mCommandQueue.onSystemBarAttributesChanged(displayId, appearance, appearanceRegions, in doTestOnSystemBarAttributesChanged()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationTest.java86 private CommandQueue mCommandQueue; field in MagnificationTest
126 mCommandQueue = new CommandQueue(getContext(), mDisplayTracker); in setUp()
129 mCommandQueue, mModeSwitchesController, in setUp()
146 mCommandQueue.requestMagnificationConnection(true); in requestWindowMagnificationConnection_setConnectionAndListener()
152 mCommandQueue.requestMagnificationConnection(false); in requestWindowMagnificationConnection_setConnectionAndListener()
161 mCommandQueue.requestMagnificationConnection(true); in onWindowMagnifierBoundsChanged()
174 mCommandQueue.requestMagnificationConnection(true); in onPerformScaleAction_enabled_notifyCallback()
186 mCommandQueue.requestMagnificationConnection(true); in onAccessibilityActionPerformed_enabled_notifyCallback()
197 mCommandQueue.requestMagnificationConnection(true); in onMove_enabled_notifyCallback()
262 mCommandQueue.requestMagnificationConnection(true); in onMagnifierScale_notifyCallback()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java35 private final CommandQueue mCommandQueue; field in GlobalActionsImpl
50 mCommandQueue = commandQueue; in GlobalActionsImpl()
52 mCommandQueue.addCallback(this); in GlobalActionsImpl()
58 mCommandQueue.removeCallback(this); in destroy()
DGlobalActionsComponent.java41 private final CommandQueue mCommandQueue; field in GlobalActionsComponent
54 mCommandQueue = commandQueue; in GlobalActionsComponent()
70 mCommandQueue.addCallback(this); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputSwitcherDialogUI.java37 private final CommandQueue mCommandQueue; field in MediaOutputSwitcherDialogUI
45 mCommandQueue = commandQueue; in MediaOutputSwitcherDialogUI()
51 mCommandQueue.addCallback(this); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecents.java40 private final CommandQueue mCommandQueue; field in Recents
45 mCommandQueue = commandQueue; in Recents()
50 mCommandQueue.addCallback(this); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLegacyLightsOutNotifController.java56 private final CommandQueue mCommandQueue; field in LegacyLightsOutNotifController
75 mCommandQueue = commandQueue; in LegacyLightsOutNotifController()
87 mCommandQueue.removeCallback(mCallback); in onViewDetached()
97 mCommandQueue.addCallback(mCallback); in onViewAttached()
DLightBarTransitionsController.java101 private final CommandQueue mCommandQueue; field in LightBarTransitionsController
137 mCommandQueue = commandQueue; in LightBarTransitionsController()
139 mCommandQueue.addCallback(mCallback); in LightBarTransitionsController()
152 mCommandQueue.removeCallback(mCallback); in destroy()
DStatusBarRemoteInputCallback.java79 private final CommandQueue mCommandQueue; field in StatusBarRemoteInputCallback
111 mCommandQueue = commandQueue; in StatusBarRemoteInputCallback()
112 mCommandQueue.addCallback(this); in StatusBarRemoteInputCallback()
223 mCommandQueue.animateCollapsePanels(); in onLockedWorkRemoteInput()
DStatusBarNotificationPresenter.java99 private final CommandQueue mCommandQueue; field in StatusBarNotificationPresenter
148 mCommandQueue = commandQueue; in StatusBarNotificationPresenter()
227 mCommandQueue.animateCollapsePanels(); in onUserSwitched()
310 if (!mCommandQueue.panelsEnabled()) {
377 return !mCommandQueue.panelsEnabled();
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DWMShell.java121 private final CommandQueue mCommandQueue; field in WMShell
201 mCommandQueue = commandQueue; in WMShell()
234 mCommandQueue.addCallback(this); in start()
246 mCommandQueue.addCallback(new CommandQueue.Callbacks() { in initPip()
267 mCommandQueue.addCallback(new CommandQueue.Callbacks() { in initSplitScreen()
319 () -> mCommandQueue.handleSystemKey(new KeyEvent(KeyEvent.ACTION_DOWN, in initOneHanded()
350 mCommandQueue.addCallback(new CommandQueue.Callbacks() { in initOneHanded()
381 mCommandQueue.addCallback(new CommandQueue.Callbacks() { in initDesktopMode()
402 mCommandQueue::onRecentsAnimationStateChanged); in initRecentTasks()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DLaunchConversationActivityTest.java102 private CommandQueue mCommandQueue; field in LaunchConversationActivityTest
122 mCommandQueue, in setUp()
125 verify(mCommandQueue, times(1)).addCallback(mCallbacksCaptor.capture()); in setUp()
200 verify(mCommandQueue).removeCallback(any()); in testEntryClearsNotificationAndDoesNotOpenBubble()
226 verify(mCommandQueue).removeCallback(any()); in testBubbleEntryOpensBubbleAndDoesNotClearNotification()
247 verify(mCommandQueue).removeCallback(any()); in testQuietModeOpensQuietModeDialog()
271 verify(mCommandQueue).removeCallback(any()); in testBubbleWithNoNotifOpensBubble()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/reardisplay/
DRearDisplayDialogControllerTest.java62 private CommandQueue mCommandQueue; field in RearDisplayDialogControllerTest
91 mCommandQueue, in testClosedDialogIsShown()
114 mCommandQueue, in testClosedDialogIsRefreshedOnConfigurationChange()
143 mCommandQueue, in testOpenDialogIsShown()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenterTest.java99 private CommandQueue mCommandQueue; field in StatusBarNotificationPresenterTest
108 mCommandQueue = new CommandQueue(mContext, new FakeDisplayTracker(mContext)); in setup()
165 mCommandQueue.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_EXPAND, 0, in testSuppressHeadsUp_disabledStatusBar_refactorDisabled()
176 mCommandQueue.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_EXPAND, 0, in testSuppressHeadsUp_disabledStatusBar_refactorEnabled()
187 mCommandQueue.disable(DEFAULT_DISPLAY, 0, StatusBarManager.DISABLE2_NOTIFICATION_SHADE, in testSuppressHeadsUp_disabledNotificationShade_refactorDisabled()
198 mCommandQueue.disable(DEFAULT_DISPLAY, 0, StatusBarManager.DISABLE2_NOTIFICATION_SHADE, in testSuppressHeadsUp_disabledNotificationShade_refactorEnabled()
313 mCommandQueue, in createPresenter()
DCentralSurfacesCommandQueueCallbacksTest.java81 @Mock private CommandQueue mCommandQueue; field in CentralSurfacesCommandQueueCallbacksTest
120 mCommandQueue, in setup()
158 when(mCommandQueue.panelsEnabled()).thenReturn(false); in testDisableNotificationShade()
174 when(mCommandQueue.panelsEnabled()).thenReturn(true); in testEnableNotificationShade()
DLegacyLightsOutNotifControllerTest.java66 @Mock private CommandQueue mCommandQueue; field in LegacyLightsOutNotifControllerTest
93 mCommandQueue); in setUp()
102 verify(mCommandQueue).addCallback(mCallbacksCaptor.capture()); in setUp()
DHeadsUpAppearanceControllerTest.java87 private CommandQueue mCommandQueue; field in HeadsUpAppearanceControllerTest
109 mCommandQueue = mock(CommandQueue.class); in setUp()
121 mCommandQueue, in setUp()
208 mCommandQueue, in constructor_animationValuesUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DLaunchConversationActivity.java63 private CommandQueue mCommandQueue; field in LaunchConversationActivity
82 mCommandQueue = commandQueue; in LaunchConversationActivity()
83 mCommandQueue.addCallback(new CommandQueue.Callbacks() { in LaunchConversationActivity()
96 mCommandQueue.removeCallback(this); in LaunchConversationActivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServicesTest.java101 private CommandQueue mCommandQueue; field in TileServicesTest
145 mUserTracker, mKeyguardStateController, mCommandQueue, mStatusBarIconController, in setUp()
214 verify(mCommandQueue).addCallback(any()); in testRegisterCommand()
222 verify(mCommandQueue).addCallback(captor.capture()); in testRequestListeningStatusCommand()
242 verify(mCommandQueue).addCallback(captor.capture()); in testRequestListeningStatusCommand_onStartListeningFromRequest()
310 verify(mCommandQueue).addCallback(mCallbacksArgumentCaptor.capture()); in tileFreedForCorrectUser()
346 verify(mCommandQueue).addCallback(mCallbacksArgumentCaptor.capture()); in tileFreedForCorrectUser_onStartListeningFromRequest()
/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/multivalentTests/src/com/android/systemui/wmshell/
DWMShellTest.kt99 private val mCommandQueue: CommandQueue = kosmos.commandQueue constant in com.android.systemui.wmshell.WMShellTest
128 mCommandQueue, in setUp()
147 verify(mCommandQueue).addCallback(any(CommandQueue.Callbacks::class.java)) in initPip_registersCommandQueueCallback()
153 verify(mCommandQueue).addCallback(any(CommandQueue.Callbacks::class.java)) in initOneHanded_registersCallbacks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/reardisplay/
DRearDisplayDialogController.java78 private final CommandQueue mCommandQueue; field in RearDisplayDialogController
94 mCommandQueue = commandQueue; in RearDisplayDialogController()
103 mCommandQueue.addCallback(this); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java66 private final CommandQueue mCommandQueue; field in ToastUI
100 mCommandQueue = commandQueue; in ToastUI()
110 mCommandQueue.addCallback(this); in start()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamBase.cpp182 mCommandQueue.startWaiting(); in open()
440 auto command = mCommandQueue.waitForCommand(timeoutNanos); in run()
755 return mCommandQueue.sendCommand(command); in exitStandby()
766 return mCommandQueue.sendCommand(command); in sendStartClientCommand()
775 return mCommandQueue.sendCommand(command); in sendStopClientCommand()
786 return mCommandQueue.sendCommand(std::make_shared<AAudioCommand>( in sendCommand()
815 mCommandQueue.stopWaiting(); in stopCommandThread()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DTaskbarDelegateTest.kt47 lateinit var mCommandQueue: CommandQueue variable in com.android.systemui.navigationbar.TaskbarDelegateTest
81 mTaskbarDelegate.setDependencies(mCommandQueue, mOverviewProxyService, mNavBarHelper, in setup()

123