Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/wm/taskview/
DRootTaskMediatorTest.java59 private final CarActivityManager mCarActivityManager = mock(CarActivityManager.class); field in RootTaskMediatorTest
93 mTaskViewTaskController, mTaskViewClientPart, mCarActivityManager, in onTaskAppeared_setsRootTask()
105 mTaskViewTaskController, mTaskViewClientPart, mCarActivityManager, in onTaskAppeared_withIsLaunchRoot_setsLaunchRootTask()
118 mTaskViewTaskController, mTaskViewClientPart, mCarActivityManager, in onTaskAppeared_withIsLaunchRoot_callsCarActivityManager()
126 verify(mCarActivityManager).onTaskAppeared(eq(taskInfo), isNull()); in onTaskAppeared_withIsLaunchRoot_callsCarActivityManager()
133 mTaskViewTaskController, mTaskViewClientPart, mCarActivityManager, in onTaskAppeared_rootTaskExists_updatesTaskStack()
150 mTaskViewTaskController, mTaskViewClientPart, mCarActivityManager, in onTaskInfoChanged_forRootTask_updatesShellPart()
164 mTaskViewTaskController, mTaskViewClientPart, mCarActivityManager, in onTaskInfoChanged_withIsLaunchRoot_callsCarActivityManager()
171 verify(mCarActivityManager).onTaskInfoChanged(taskInfo); in onTaskInfoChanged_withIsLaunchRoot_callsCarActivityManager()
178 mTaskViewTaskController, mTaskViewClientPart, mCarActivityManager, in onTaskInfoChanged_multipleExisting_taskVisible_movesToFrontOfStack()
[all …]
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarActivityManagerTest.java44 private CarActivityManager mCarActivityManager; field in CarActivityManagerTest
50 mCarActivityManager = (CarActivityManager) getCar().getCarManager(Car.CAR_ACTIVITY_SERVICE); in setUp()
51 assertThat(mCarActivityManager).isNotNull(); in setUp()
57 int retSet = mCarActivityManager.setPersistentActivity( in testSetPersistentActivity()
62 int retRemove = mCarActivityManager.setPersistentActivity( in testSetPersistentActivity()
72 () -> mCarActivityManager.setPersistentActivity( in testSetPersistentActivity_throwsExceptionForInvalidDisplayId()
81 () -> mCarActivityManager.setPersistentActivity( in testSetPersistentActivity_throwsExceptionForInvalidFeatureId()
89 () -> mCarActivityManager.setPersistentActivity( in testSetPersistentActivity_throwsExceptionForUnknownActivity()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/
DCarKeyguardOverlayViewMediator.java42 private CarActivityManager mCarActivityManager; field in CarKeyguardOverlayViewMediator
55 car -> mCarActivityManager = car.getCarManager(CarActivityManager.class)); in CarKeyguardOverlayViewMediator()
65 if (mCarActivityManager != null) { in registerListeners()
66 mCarActivityManager.startUserPickerOnDisplay(mContext.getDisplayId()); in registerListeners()
/packages/services/Car/car-lib/src/android/car/app/
DCarDisplayCompatContainer.java56 private final CarActivityManager mCarActivityManager; field in CarDisplayCompatContainer
75 private CarActivityManager mCarActivityManager; field in CarDisplayCompatContainer.Builder
95 mCarActivityManager = carActivityManager; in setCarActivityManager()
105 mActivity, mSurfaceViewCallBack, mCarActivityManager); in build()
117 mCarActivityManager = carActivityManager; in CarDisplayCompatContainer()
172 mCarActivityManager.getCarTaskViewController(mActivity, mActivity.getMainExecutor(), in startActivity()
DCarDisplayCompatManager.java36 private CarActivityManager mCarActivityManager; field in CarDisplayCompatManager
46 builder.setCarActivityManager(mCarActivityManager); in initializeDisplayCompatContainer()
53 mCarActivityManager = (CarActivityManager) car.getCarManager(Car.CAR_ACTIVITY_SERVICE); in CarDisplayCompatManager()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/
DCarSystemUIProxyImpl.java72 private CarActivityManager mCarActivityManager; field in CarSystemUIProxyImpl
146 mTaskViewTransitions, mCarActivityManager); in createCarTaskView()
161 mCarActivityManager = car.getCarManager(CarActivityManager.class); in onConnected()
162 mCarActivityManager.registerTaskMonitor(); in onConnected()
163 mCarActivityManager.registerCarSystemUIProxy(this); in onConnected()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DQCUserPickerButtonController.java53 private CarActivityManager mCarActivityManager; field in QCUserPickerButtonController
59 mCarActivityManager = car.getCarManager(CarActivityManager.class);
118 if (mCarActivityManager != null) { in openUserPicker()
119 mCarActivityManager.startUserPickerOnDisplay(getContext().getDisplayId()); in openUserPicker()
DQCLogoutButtonController.java63 private CarActivityManager mCarActivityManager; field in QCLogoutButtonController
70 mCarActivityManager = car.getCarManager(CarActivityManager.class);
211 if (mCarActivityManager != null) { in openUserPicker()
212 mCarActivityManager.startUserPickerOnDisplay(getContext().getDisplayId()); in openUserPicker()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/taskview/
DRootTaskMediator.java57 private final CarActivityManager mCarActivityManager; field in RootTaskMediator
88 mCarActivityManager = carActivityManager; in RootTaskMediator()
174 mCarActivityManager.onTaskAppeared(taskInfo, leash); in onTaskAppeared()
191 mCarActivityManager.onTaskInfoChanged(taskInfo); in onTaskInfoChanged()
215 mCarActivityManager.onTaskVanished(taskInfo); in onTaskVanished()
DRemoteCarTaskViewServerImpl.java63 private final CarActivityManager mCarActivityManager; field in RemoteCarTaskViewServerImpl
146 mCarActivityManager, mTaskViewTransitions);
173 mCarActivityManager, mTaskViewTransitions);
294 mCarActivityManager = carActivityManager; in RemoteCarTaskViewServerImpl()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/
DQCUserPickerButtonControllerTest.java68 private CarActivityManager mCarActivityManager; field in QCUserPickerButtonControllerTest
97 when(mCar.getCarManager(CarActivityManager.class)).thenReturn(mCarActivityManager); in setUp()
116 verify(mCarActivityManager).startUserPickerOnDisplay(eq(displayId)); in onUserButtonClicked_startUserPickerActivity()
DQCLogoutButtonControllerTest.java84 private CarActivityManager mCarActivityManager; field in QCLogoutButtonControllerTest
113 when(mCar.getCarManager(CarActivityManager.class)).thenReturn(mCarActivityManager); in setUp()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/window/
DActivityWindowControllerImpl.java73 private CarActivityManager mCarActivityManager; field in ActivityWindowControllerImpl
79 mCarActivityManager = car.getCarManager(CarActivityManager.class);
135 mCarActivityManager.getCarTaskViewController( in setupRemoteCarTaskView()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/
DCarLauncherViewModel.java59 private final CarActivityManager mCarActivityManager; field in CarLauncherViewModel
71 mCarActivityManager = mCar.getCarManager(CarActivityManager.class); in CarLauncherViewModel()
80 mCarActivityManager.getCarTaskViewController(mWindowContext, mHostLifecycle, in CarLauncherViewModel()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/
DStatusIconPanelViewController.java94 private CarActivityManager mCarActivityManager; field in StatusIconPanelViewController
132 mCarActivityManager = car.getCarManager(CarActivityManager.class);
244 if (mCarActivityManager != null) { in onInit()
245 mCarActivityManager.startUserPickerOnDisplay(mContext.getDisplayId()); in onInit()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/
DActivityBlockingActivity.java82 private CarActivityManager mCarActivityManager; field in ActivityBlockingActivity
139 mCarActivityManager = (CarActivityManager) car.getCarManager( in onCreate()
318 taskInfosTopToBottom = mCarActivityManager.getVisibleTasks(); in isTopActivityBehindAbaDistractionOptimized()