Home
last modified time | relevance | path

Searched refs:headsUpManager (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinatorTest.kt90 private val headsUpManager: HeadsUpManagerPhone = mock() in <lambda>() constant in com.android.systemui.statusbar.notification.collection.coordinator.HeadsUpCoordinatorTest
118 headsUpManager, in <lambda>()
145 verify(headsUpManager).addListener(capture()) in <lambda>()
150 given(headsUpManager.allEntries).willAnswer { huns.stream() } in <lambda>()
151 given(headsUpManager.isHeadsUpEntry(anyString())).willAnswer { invocation -> in <lambda>()
155 given(headsUpManager.canRemoveImmediately(anyString())).willAnswer { invocation -> in <lambda>()
159 whenever(headsUpManager.getEarliestRemovalTime(anyString())).thenReturn(1000L) in <lambda>()
183 whenever(headsUpManager.isSticky(anyString())).thenReturn(true) in <lambda>()
185 whenever(headsUpManager.canRemoveImmediately(anyString())).thenReturn(false, true) in <lambda>()
186 whenever(headsUpManager.getEarliestRemovalTime(anyString())).thenReturn(1000L, 0L) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationTransitionAnimatorControllerTest.kt42 @Mock lateinit var headsUpManager: HeadsUpManager variable in com.android.systemui.statusbar.notification.NotificationTransitionAnimatorControllerTest
69 headsUpManager, in setUp()
77 `when`(headsUpManager.isHeadsUpEntry(notificationKey)).thenReturn(true) in flagNotificationAsHun()
93 verify(headsUpManager) in testHunIsRemovedAndCallbackIsInvokedIfWeDontAnimateLaunch()
111 verify(headsUpManager) in testHunIsRemovedAndCallbackIsInvokedWhenAnimationIsCancelled()
129 verify(headsUpManager) in testHunIsRemovedAndCallbackIsInvokedWhenAnimationEnds()
155 `when`(headsUpManager.isHeadsUpEntry(notificationKey)).thenReturn(false) in testAlertingSummaryHunRemovedOnNonAlertingChildLaunch()
156 `when`(headsUpManager.isHeadsUpEntry(summary.key)).thenReturn(true) in testAlertingSummaryHunRemovedOnNonAlertingChildLaunch()
163 verify(headsUpManager) in testAlertingSummaryHunRemovedOnNonAlertingChildLaunch()
165 verify(headsUpManager, never()) in testAlertingSummaryHunRemovedOnNonAlertingChildLaunch()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DWindowRootViewVisibilityInteractorKosmos.kt28 import com.android.systemui.statusbar.policy.headsUpManager
35 headsUpManager = headsUpManager, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationTransitionAnimatorController.kt38 private val headsUpManager: HeadsUpManager, constant in com.android.systemui.statusbar.notification.NotificationLaunchAnimatorControllerProvider
49 headsUpManager, in getAnimatorController()
65 private val headsUpManager: HeadsUpManager, constant in com.android.systemui.statusbar.notification.NotificationTransitionAnimatorController
162 headsUpManager.isHeadsUpEntry(notificationKey) -> notification
164 headsUpManager.isHeadsUpEntry(summaryEntry.key) -> summaryEntry.row
175 headsUpManager.removeNotification(row.entry.key, true /* releaseImmediately */, animate) in removeHun()
DConversationNotifications.kt84 private val headsUpManager: HeadsUpManager, constant in com.android.systemui.statusbar.notification.AnimatedImageNotificationManager
92 headsUpManager.addListener( in bind()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/interactor/
DWindowRootViewVisibilityInteractorTest.kt68 private val headsUpManager = mock<HeadsUpManager>() constant
81 headsUpManager,
280 whenever(headsUpManager.hasPinnedHeadsUp()).thenReturn(true) in lockscreenShadeInteractive_hasHeadsUpAndNotifPresenterCollapsed_flagOff_notifCountOne()
297 whenever(headsUpManager.hasPinnedHeadsUp()).thenReturn(true) in lockscreenShadeInteractive_hasHeadsUpAndNotifPresenterCollapsed_flagOn_notifCountOne()
313 whenever(headsUpManager.hasPinnedHeadsUp()).thenReturn(true) in lockscreenShadeInteractive_hasHeadsUpAndNullPresenter_notifCountOne()
330 whenever(headsUpManager.hasPinnedHeadsUp()).thenReturn(false) in lockscreenShadeInteractive_noHeadsUp_flagOff_notifCountMatchesNotifController()
347 whenever(headsUpManager.hasPinnedHeadsUp()).thenReturn(false) in lockscreenShadeInteractive_noHeadsUp_flagOn_notifCountMatchesNotifController()
362 whenever(headsUpManager.hasPinnedHeadsUp()).thenReturn(true) in lockscreenShadeInteractive_notifPresenterNotCollapsed_flagOff_notifCountMatchesNotifController()
379 whenever(headsUpManager.hasPinnedHeadsUp()).thenReturn(true) in lockscreenShadeInteractive_notifPresenterNotCollapsed_flagOn_notifCountMatchesNotifController()
397 whenever(headsUpManager.hasPinnedHeadsUp()).thenReturn(false) in lockscreenShadeInteractive_noHeadsUp_noNotifController_notifCountZero()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/row/
DOnUserInteractionCallbackKosmos.kt25 import com.android.systemui.statusbar.policy.headsUpManager
32 headsUpManager, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DVisualInterruptionDecisionProviderTestUtil.kt46 headsUpManager: HeadsUpManager, in createProviderByFlag()
69 headsUpManager, in createProviderByFlag()
92 headsUpManager, in createProviderByFlag()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/phone/
DDozeServiceHostKosmos.kt32 import com.android.systemui.statusbar.policy.headsUpManager
45 headsUpManager, in <lambda>()
DStatusBarNotificationActivityStarterKosmos.kt46 import com.android.systemui.statusbar.policy.headsUpManager
61 headsUpManager, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DOnUserInteractionCallbackImpl.java57 HeadsUpManager headsUpManager, in OnUserInteractionCallbackImpl() argument
63 mHeadsUpManager = headsUpManager; in OnUserInteractionCallbackImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarHeadsUpChangeListener.java58 HeadsUpManager headsUpManager, in StatusBarHeadsUpChangeListener() argument
67 mHeadsUpManager = headsUpManager; in StatusBarHeadsUpChangeListener()
DHeadsUpTouchHelper.java49 public HeadsUpTouchHelper(HeadsUpManager headsUpManager, in HeadsUpTouchHelper() argument
53 mHeadsUpManager = headsUpManager; in HeadsUpTouchHelper()
DStatusBarTouchableRegionManager.java90 HeadsUpManager headsUpManager, in StatusBarTouchableRegionManager() argument
112 mHeadsUpManager = headsUpManager; in StatusBarTouchableRegionManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DPulseExpansionHandlerTest.kt54 private val headsUpManager: HeadsUpManager = mock() constant in com.android.systemui.statusbar.PulseExpansionHandlerTest
73 headsUpManager, in setUp()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/
DHeadsUpManagerKosmos.kt23 var Kosmos.headsUpManager by Fixture { mock<HeadsUpManager>() } in <lambda>() variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DCommonVisualInterruptionSuppressors.kt59 private val headsUpManager: HeadsUpManager, constant in com.android.systemui.statusbar.notification.interruption.PeekDisabledSuppressor
84 headsUpManager.releaseAllImmediately() in shouldSuppress()
114 class PeekPackageSnoozedSuppressor(private val headsUpManager: HeadsUpManager) : constant in com.android.systemui.statusbar.notification.interruption.PeekPackageSnoozedSuppressor
123 else -> headsUpManager.isSnoozed(entry.sbn.packageName) in shouldSuppress()
DVisualInterruptionDecisionProviderImpl.kt58 private val headsUpManager: HeadsUpManager, constant
160 addCondition(PeekDisabledSuppressor(globalSettings, headsUpManager, logger, mainHandler)) in start()
163 addFilter(PeekPackageSnoozedSuppressor(headsUpManager)) in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/interactor/
DWindowRootViewVisibilityInteractor.kt53 private val headsUpManager: HeadsUpManager, in <lambda>() constant in com.android.systemui.scene.domain.interactor.WindowRootViewVisibilityInteractor
151 return if (headsUpManager.hasPinnedHeadsUp() && isNotifPresenterFullyCollapsed) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManagerWithScenesTest.kt72 import com.android.systemui.statusbar.policy.headsUpManager in <lambda>()
122 private val headsUpManager = kosmos.headsUpManager in <lambda>() constant
155 headsUpManager, in <lambda>()
187 headsUpManager, in <lambda>()
232 verify(headsUpManager).setGutsShown(realRow!!.entry, true) in <lambda>()
245 verify(headsUpManager).setGutsShown(realRow.entry, false) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeSurfaceImpl.kt29 headsUpManager: HeadsUpManager in initDependencies()
DShadeSurface.kt40 headsUpManager: HeadsUpManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeControllerImplTest.kt87 @Mock private lateinit var headsUpManager: HeadsUpManager variable in com.android.systemui.shade.ShadeControllerImplTest
94 headsUpManager, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowDragController.java73 HeadsUpManager headsUpManager, in ExpandableNotificationRowDragController() argument
77 mHeadsUpManager = headsUpManager; in ExpandableNotificationRowDragController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinator.kt89 private val headsUpManager: HeadsUpManager, in <lambda>() constant in com.android.systemui.statusbar.notification.collection.coordinator.KeyguardCoordinator
265 headsUpManager.allEntries in <lambda>()
268 headsUpManager.headsUpEvents.collect { (entry, isHun) -> in <lambda>()

12