Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/sideloaded/
DSideLoadedAppListenerTest.java66 private IActivityTaskManager mActivityTaskManager; field in SideLoadedAppListenerTest
75 mActivityTaskManager, mDisplayManager, mSideLoadedAppStateController); in setUp()
93 when(mActivityTaskManager.getAllRootTaskInfos()).thenReturn(taskInfoList); in onTaskCreated_safeTask_callsNoMethods()
121 when(mActivityTaskManager.getAllRootTaskInfos()).thenReturn(taskInfoList); in onTaskCreated_unsafeTask_callsUnsafeTaskCreated()
143 when(mActivityTaskManager.getAllRootTaskInfosOnDisplay(display.getDisplayId())) in onTaskStackChanged_safeTask_callsSafeTaskDisplayed()
167 when(mActivityTaskManager.getAllRootTaskInfosOnDisplay(display.getDisplayId())) in onTaskStackChanged_unsafeTask_callsUnsafeTaskDisplayed()
199 when(mActivityTaskManager.getAllRootTaskInfosOnDisplay(display1.getDisplayId())) in onTaskStackChanged_multiDisplay_callsTasksDisplayed()
201 when(mActivityTaskManager.getAllRootTaskInfosOnDisplay(display2.getDisplayId())) in onTaskStackChanged_multiDisplay_callsTasksDisplayed()
203 when(mActivityTaskManager.getAllRootTaskInfosOnDisplay(display3.getDisplayId())) in onTaskStackChanged_multiDisplay_callsTasksDisplayed()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DTaskInfoCache.java36 private final ActivityTaskManager mActivityTaskManager; field in TaskInfoCache
42 mActivityTaskManager = ActivityTaskManager.getInstance(); in TaskInfoCache()
49 if (mActivityTaskManager == null) { in cancelTask()
53 return mActivityTaskManager.removeTask(taskInfo.taskId); in cancelTask()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/sideloaded/
DSideLoadedAppListener.java38 private IActivityTaskManager mActivityTaskManager; field in SideLoadedAppListener
49 mActivityTaskManager = activityTaskManager; in SideLoadedAppListener()
58 List<RootTaskInfo> taskInfoList = mActivityTaskManager.getAllRootTaskInfos(); in onTaskCreated()
79 mActivityTaskManager.getAllRootTaskInfosOnDisplay(display.getDisplayId()); in onTaskStackChanged()
DSideLoadedAppController.java35 private IActivityTaskManager mActivityTaskManager; field in SideLoadedAppController
47 mActivityTaskManager = activityTaskManager; in SideLoadedAppController()
61 mActivityTaskManager.registerTaskStackListener(mSideLoadedAppListener); in onBootCompleted()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DAssistContentRequester.java54 private final IActivityTaskManager mActivityTaskManager; field in AssistContentRequester
65 mActivityTaskManager = ActivityTaskManager.getService(); in AssistContentRequester()
82 mActivityTaskManager.requestAssistDataForTask( in requestAssistContent()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarHeadsUpNotificationQueue.java62 private final ActivityTaskManager mActivityTaskManager; field in CarHeadsUpNotificationQueue
95 mActivityTaskManager = activityTaskManager; in CarHeadsUpNotificationQueue()
151 mActivityTaskManager.registerTaskStackListener(mTaskStackListener); in CarHeadsUpNotificationQueue()
329 mActivityTaskManager.unregisterTaskStackListener(mTaskStackListener); in unregisterListeners()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarHeadsUpNotificationQueueTest.java85 private ActivityTaskManager mActivityTaskManager; field in CarHeadsUpNotificationQueueTest
129 return new CarHeadsUpNotificationQueue(mContext, mActivityTaskManager, mNotificationManager, in createCarHeadsUpNotificationQueue()
533 verify(mActivityTaskManager).registerTaskStackListener(mTaskStackListenerArg.capture()); in triggerCallback_doesNot_showNotifications_whenAllowlistAppsAreInForeground()
557 verify(mActivityTaskManager).registerTaskStackListener(mTaskStackListenerArg.capture()); in triggerCallback_does_showNotifications_whenAllowlistAppsAreNotInForeground()
582 verify(mActivityTaskManager).registerTaskStackListener(mTaskStackListenerArg.capture()); in nonAllowlistAppInForeground_afterAllowlistApp_callbackScheduled()
608 verify(mActivityTaskManager).registerTaskStackListener(mTaskStackListenerArg.capture()); in nonAllowlistAppInForeground_afterNonAllowlistApp_callbackNotScheduled()