Searched refs:mTaskStackListenerArg (Results 1 – 1 of 1) sorted by relevance
95 private ArgumentCaptor<TaskStackListener> mTaskStackListenerArg; field in CarHeadsUpNotificationQueueTest557 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 …]