/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/disableflags/ |
D | DisableStateTrackerTest.kt | 42 @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/ |
D | DisableStateTracker.kt | 44 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/ |
D | NoteTaskInitializerTest.kt | 60 @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/ |
D | KeyguardInteractorFactory.kt | 52 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/ |
D | KeyEventRepository.kt | 38 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/ |
D | RemoteInputQuickSettingsDisablerTest.kt | 42 @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/ |
D | StatusBarHideIconsForBouncerManager.kt | 32 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/ |
D | TileServiceRequestController.kt | 48 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/ |
D | KeyEventRepositoryTest.kt | 47 @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/ |
D | DisableFlagsRepository.kt | 46 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/ |
D | KeyguardInteractorTest.kt | 67 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/ |
D | StatusBarWindowStateControllerTest.kt | 41 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/ |
D | DisableFlagsRepositoryTest.kt | 54 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/ |
D | MediaOutputSwitcherDialogUI.java | 43 CommandQueue commandQueue, in MediaOutputSwitcherDialogUI() argument 45 mCommandQueue = commandQueue; in MediaOutputSwitcherDialogUI()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/external/ |
D | TileServicesKosmos.kt | 28 import com.android.systemui.statusbar.commandQueue 43 commandQueue, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputQuickSettingsDisabler.kt | 33 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/ |
D | ShadeControllerImplTest.kt | 72 @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/ |
D | ToastUI.java | 82 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/ |
D | StatusBarWindowStateController.kt | 40 commandQueue: CommandQueue 56 commandQueue.addCallback(commandQueueCallback)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsImpl.java | 41 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/ |
D | FakeMediaTttChipControllerReceiver.kt | 36 commandQueue: CommandQueue, 55 commandQueue,
|
D | MediaTttChipControllerReceiverTest.kt | 88 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/ |
D | Recents.java | 42 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/ |
D | ShadeControllerSceneImpl.kt | 61 commandQueue: CommandQueue, in <lambda>() 67 commandQueue, in <lambda>() 148 commandQueue.animateCollapsePanels( in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/nearby/ |
D | NearbyMediaDevicesManager.kt | 38 private val commandQueue: CommandQueue, constant in com.android.systemui.media.nearby.NearbyMediaDevicesManager 78 commandQueue.addCallback(commandQueueCallbacks) in start()
|