Home
last modified time | relevance | path

Searched refs:commandQueue (Results 1 – 25 of 83) sorted by relevance

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/disableflags/
DDisableStateTrackerTest.kt42 @Mock private lateinit var commandQueue: CommandQueue variable in com.android.systemui.statusbar.disableflags.DisableStateTrackerTest
53 underTest.startTracking(commandQueue, displayId = 0) in startTracking_commandQueueGetsCallback()
55 verify(commandQueue).addCallback(underTest) in startTracking_commandQueueGetsCallback()
62 underTest.stopTracking(commandQueue) in stopTracking_commandQueueLosesCallback()
64 verify(commandQueue).removeCallback(underTest) in stopTracking_commandQueueLosesCallback()
79 underTest.startTracking(commandQueue, displayId = 15) in disable_wrongDisplayId_isDisabledFalse()
89 underTest.startTracking(commandQueue, DISPLAY_ID) in disable_irrelevantFlagsUpdated_isDisabledFalse()
104 underTest.startTracking(commandQueue, DISPLAY_ID) in disable_partOfMask1True_isDisabledTrue()
117 underTest.startTracking(commandQueue, DISPLAY_ID) in disable_partOfMask2True_isDisabledTrue()
132 underTest.startTracking(commandQueue, DISPLAY_ID) in disable_isDisabledChangesFromFalseToTrue_callbackNotified()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/disableflags/
DDisableStateTracker.kt44 fun startTracking(commandQueue: CommandQueue, displayId: Int) { in startTracking()
48 commandQueue.addCallback(this) in startTracking()
56 fun stopTracking(commandQueue: CommandQueue) { in stopTracking()
58 commandQueue.removeCallback(this) in stopTracking()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskInitializerTest.kt60 @Mock lateinit var commandQueue: CommandQueue variable in com.android.systemui.notetask.NoteTaskInitializerTest
83 commandQueue = commandQueue, in createUnderTest()
106 verify(commandQueue).addCallback(any()) in createUnderTest()
118 verify(commandQueue).addCallback(any()) in initialize_withUserLocked()
132 commandQueue, in initialize_flagDisabled()
148 commandQueue, in initialize_bubblesNotPresent()
167 val callback = withArgCaptor { verify(commandQueue).addCallback(capture()) } in initialize_handleSystemKey()
225 val callback = withArgCaptor { verify(commandQueue).addCallback(capture()) } in tailButtonGestureDetection_singlePress_shouldShowNoteTaskOnUp()
243 val callback = withArgCaptor { verify(commandQueue).addCallback(capture()) } in tailButtonGestureDetection_doublePress_shouldNotShowNoteTaskTwice()
265 val callback = withArgCaptor { verify(commandQueue).addCallback(capture()) } in tailButtonGestureDetection_longPress_shouldNotShowNoteTask()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardInteractorFactory.kt52 commandQueue: FakeCommandQueue = FakeCommandQueue(), in create()
90 commandQueue = commandQueue, in create()
98 commandQueue = commandQueue, in create()
115 val commandQueue: FakeCommandQueue, constant in com.android.systemui.keyguard.domain.interactor.KeyguardInteractorFactory.WithDependencies
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyevent/data/repository/
DKeyEventRepository.kt38 private val commandQueue: CommandQueue, constant in com.android.systemui.keyevent.data.repository.KeyEventRepositoryImpl
50 commandQueue.addCallback(callback) in <lambda>()
51 awaitClose { commandQueue.removeCallback(callback) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisablerTest.kt42 @Mock lateinit var commandQueue: CommandQueue variable in com.android.systemui.statusbar.policy.RemoteInputQuickSettingsDisablerTest
52 commandQueue, in setUp()
119 verify(commandQueue, atLeastOnce()).recomputeDisableFlags( in whenRemoteInputChanges_recomputeTriggered()
129 verify(commandQueue, atLeastOnce()).recomputeDisableFlags( in whenConfigChanges_recomputeTriggered()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarHideIconsForBouncerManager.kt32 private val commandQueue: CommandQueue, in <lambda>() constant in com.android.systemui.statusbar.phone.StatusBarHideIconsForBouncerManager
92 commandQueue.recomputeDisableFlags(displayId, /* animate= */ true) in <lambda>()
117 commandQueue.recomputeDisableFlags(displayId, true) in <lambda>()
122 commandQueue.recomputeDisableFlags(displayId, animate) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceRequestController.kt48 private val commandQueue: CommandQueue, in <lambda>() constant in com.android.systemui.qs.external.TileServiceRequestController
90 commandQueue.addCallback(commandQueueCallback) in init()
95 commandQueue.removeCallback(commandQueueCallback) in destroy()
204 private val commandQueue: CommandQueue, constant in com.android.systemui.qs.external.TileServiceRequestController.Builder
211 commandQueue, in create()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyEventRepositoryTest.kt47 @Mock private lateinit var commandQueue: CommandQueue variable in com.android.systemui.keyguard.data.repository.KeyEventRepositoryTest
55 underTest = KeyEventRepositoryImpl(commandQueue) in setUp()
71 verify(commandQueue).addCallback(commandQueueCallbacks.capture()) in isPowerButtonDown_onChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/disableflags/data/repository/
DDisableFlagsRepository.kt46 commandQueue: CommandQueue,
79 commandQueue.addCallback(callback) in <lambda>()
80 awaitClose { commandQueue.removeCallback(callback) } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardInteractorTest.kt67 private val commandQueue by lazy { kosmos.fakeCommandQueue } in <lambda>() constant
90 commandQueue.doForEachCallback { in onCameraLaunchDetected()
95 commandQueue.doForEachCallback { in onCameraLaunchDetected()
102 commandQueue.doForEachCallback { in onCameraLaunchDetected()
107 commandQueue.doForEachCallback { in onCameraLaunchDetected()
114 flow.onCompletion { assertThat(commandQueue.callbackCount()).isEqualTo(0) } in onCameraLaunchDetected()
124 commandQueue.doForEachCallback { in testKeyguardGuardVisibilityStopsSecureCamera()
149 commandQueue.doForEachCallback { in testBouncerShowingResetsSecureCameraState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/window/
DStatusBarWindowStateControllerTest.kt41 private lateinit var commandQueue: CommandQueue variable in com.android.systemui.statusbar.window.StatusBarWindowStateControllerTest
46 controller = StatusBarWindowStateController(DISPLAY_ID, commandQueue) in setUp()
49 verify(commandQueue).addCallback(callbackCaptor.capture()) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/disableflags/data/repository/
DDisableFlagsRepositoryTest.kt54 private val commandQueue: CommandQueue = mock() constant in com.android.systemui.statusbar.disableflags.data.repository.DisableFlagsRepositoryTest
59 commandQueue,
70 commandQueue, in setUp()
87 testScope.runTest { verify(commandQueue).addCallback(any()) } in disableFlags_noSubscribers_callbackStillRegistered()
269 verify(commandQueue).addCallback(callbackCaptor.capture()) in getCommandQueueCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputSwitcherDialogUI.java43 CommandQueue commandQueue, in MediaOutputSwitcherDialogUI() argument
45 mCommandQueue = commandQueue; in MediaOutputSwitcherDialogUI()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/external/
DTileServicesKosmos.kt28 import com.android.systemui.statusbar.commandQueue
43 commandQueue, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisabler.kt33 private val commandQueue: CommandQueue, constant in com.android.systemui.statusbar.policy.RemoteInputQuickSettingsDisabler
95 commandQueue.recomputeDisableFlags(context.displayId, true) in recomputeDisableFlags()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeControllerImplTest.kt72 @Mock private lateinit var commandQueue: CommandQueue variable in com.android.systemui.shade.ShadeControllerImplTest
110 commandQueue, in setUp()
130 whenever(commandQueue.panelsEnabled()).thenReturn(false) in testDisableNotificationShade()
141 whenever(commandQueue.panelsEnabled()).thenReturn(true) in testEnableNotificationShade()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java82 CommandQueue commandQueue, in ToastUI() argument
85 this(context, commandQueue, in ToastUI()
95 ToastUI(Context context, CommandQueue commandQueue, INotificationManager notificationManager, in ToastUI() argument
100 mCommandQueue = commandQueue; in ToastUI()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
DStatusBarWindowStateController.kt40 commandQueue: CommandQueue
56 commandQueue.addCallback(commandQueueCallback)
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java41 public GlobalActionsImpl(Context context, CommandQueue commandQueue, in GlobalActionsImpl() argument
50 mCommandQueue = commandQueue; in GlobalActionsImpl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/receiver/
DFakeMediaTttChipControllerReceiver.kt36 commandQueue: CommandQueue,
55 commandQueue,
DMediaTttChipControllerReceiverTest.kt88 private lateinit var commandQueue: CommandQueue variable in com.android.systemui.media.taptotransfer.receiver.MediaTttChipControllerReceiverTest
126 commandQueue, in setUp()
147 verify(commandQueue).addCallback(callbackCaptor.capture()) in setUp()
153 reset(commandQueue) in commandQueueCallback_flagOff_noCallbackAdded()
157 commandQueue, in commandQueueCallback_flagOff_noCallbackAdded()
177 verify(commandQueue, never()).addCallback(any()) in commandQueueCallback_flagOff_noCallbackAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecents.java42 public Recents(Context context, RecentsImplementation impl, CommandQueue commandQueue) { in Recents() argument
45 mCommandQueue = commandQueue; in Recents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeControllerSceneImpl.kt61 commandQueue: CommandQueue, in <lambda>()
67 commandQueue, in <lambda>()
148 commandQueue.animateCollapsePanels( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/nearby/
DNearbyMediaDevicesManager.kt38 private val commandQueue: CommandQueue, constant in com.android.systemui.media.nearby.NearbyMediaDevicesManager
78 commandQueue.addCallback(commandQueueCallbacks) in start()

1234