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