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.java95 private ArgumentCaptor<TaskStackListener> mTaskStackListenerArg; field in CarHeadsUpNotificationQueueTest
557 verify(mActivityTaskManager).registerTaskStackListener(mTaskStackListenerArg.capture()); in triggerCallback_doesNot_showNotifications_whenAllowlistAppsAreInForeground()
566 mTaskStackListenerArg.getValue().onTaskMovedToFront(mockRunningTaskInfo); in triggerCallback_doesNot_showNotifications_whenAllowlistAppsAreInForeground()
584 verify(mActivityTaskManager).registerTaskStackListener(mTaskStackListenerArg.capture()); in triggerCallback_does_showNotifications_whenAllowlistAppsAreNotInForeground()
593 mTaskStackListenerArg.getValue().onTaskMovedToFront(mockRunningTaskInfo); in triggerCallback_does_showNotifications_whenAllowlistAppsAreNotInForeground()
611 verify(mActivityTaskManager).registerTaskStackListener(mTaskStackListenerArg.capture()); in nonAllowlistAppInForeground_afterAllowlistApp_callbackScheduled()
622 mTaskStackListenerArg.getValue().onTaskMovedToFront(mockRunningTaskInfo_AllowlistPkg); in nonAllowlistAppInForeground_afterAllowlistApp_callbackScheduled()
623 mTaskStackListenerArg.getValue().onTaskMovedToFront(mockRunningTaskInfo_nonAllowlistPkg); in nonAllowlistAppInForeground_afterAllowlistApp_callbackScheduled()
639 verify(mActivityTaskManager).registerTaskStackListener(mTaskStackListenerArg.capture()); in nonAllowlistAppInForeground_afterNonAllowlistApp_callbackNotScheduled()
650 mTaskStackListenerArg.getValue().onTaskMovedToFront(mockRunningTaskInfo_nonAllowlistPkg_1); in nonAllowlistAppInForeground_afterNonAllowlistApp_callbackNotScheduled()
[all …]