Home
last modified time | relevance | path

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

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarHeadsUpNotificationQueueTest.java92 private ArgumentCaptor<TaskStackListener> mTaskStackListenerArg; field in CarHeadsUpNotificationQueueTest
533 verify(mActivityTaskManager).registerTaskStackListener(mTaskStackListenerArg.capture()); in triggerCallback_doesNot_showNotifications_whenAllowlistAppsAreInForeground()
542 mTaskStackListenerArg.getValue().onTaskMovedToFront(mockRunningTaskInfo); in triggerCallback_doesNot_showNotifications_whenAllowlistAppsAreInForeground()
557 verify(mActivityTaskManager).registerTaskStackListener(mTaskStackListenerArg.capture()); in triggerCallback_does_showNotifications_whenAllowlistAppsAreNotInForeground()
566 mTaskStackListenerArg.getValue().onTaskMovedToFront(mockRunningTaskInfo); in triggerCallback_does_showNotifications_whenAllowlistAppsAreNotInForeground()
582 verify(mActivityTaskManager).registerTaskStackListener(mTaskStackListenerArg.capture()); in nonAllowlistAppInForeground_afterAllowlistApp_callbackScheduled()
593 mTaskStackListenerArg.getValue().onTaskMovedToFront(mockRunningTaskInfo_AllowlistPkg); in nonAllowlistAppInForeground_afterAllowlistApp_callbackScheduled()
594 mTaskStackListenerArg.getValue().onTaskMovedToFront(mockRunningTaskInfo_nonAllowlistPkg); in nonAllowlistAppInForeground_afterAllowlistApp_callbackScheduled()
608 verify(mActivityTaskManager).registerTaskStackListener(mTaskStackListenerArg.capture()); in nonAllowlistAppInForeground_afterNonAllowlistApp_callbackNotScheduled()
619 mTaskStackListenerArg.getValue().onTaskMovedToFront(mockRunningTaskInfo_nonAllowlistPkg_1); in nonAllowlistAppInForeground_afterNonAllowlistApp_callbackNotScheduled()
[all …]