Home
last modified time | relevance | path

Searched refs:CarSystemUIUserUtil (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/users/
DCarSystemUIUserUtilTest.java84 UserHandle userHandle = CarSystemUIUserUtil.getCurrentUserHandle(mContext, mUserTracker); in getCurrentUserHandle_userTrackerNotNull_returnsUserHandle()
93 UserHandle userHandle = CarSystemUIUserUtil.getCurrentUserHandle(mContext, null); in getCurrentUserHandle_userTrackerNull_headlessSystemUser_returnsAmUser()
103 UserHandle userHandle = CarSystemUIUserUtil.getCurrentUserHandle(mContext, null); in getCurrentUserHandle_userTrackerNull_nonHeadlessSystemUser_returnsContextUser()
112 UserHandle userHandle = CarSystemUIUserUtil.getCurrentUserHandle(mContext, null); in getCurrentUserHandle_userTrackerNull_nonSystemUser_returnsContextUser()
121 assertThat(CarSystemUIUserUtil.isSecondaryMUMDSystemUI()).isFalse(); in isSecondaryMUMDSystemUI_usersOnSecondaryDisplaysNotSupported_returnsFalse()
129 assertThat(CarSystemUIUserUtil.isSecondaryMUMDSystemUI()).isFalse(); in isSecondaryMUMDSystemUI_systemUser_returnsFalse()
137 assertThat(CarSystemUIUserUtil.isSecondaryMUMDSystemUI()).isFalse(); in isSecondaryMUMDSystemUI_currentUser_returnsFalse()
145 assertThat(CarSystemUIUserUtil.isSecondaryMUMDSystemUI()).isTrue(); in isSecondaryMUMDSystemUI_isSecondaryUser_returnsTrue()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarModule.java28 import com.android.systemui.car.users.CarSystemUIUserUtil;
70 if ((CarSystemUIUserUtil.isSecondaryMUMDSystemUI() in bindCarSystemBarStartable()
71 || CarSystemUIUserUtil.isMUPANDSystemUI()) in bindCarSystemBarStartable()
84 if ((CarSystemUIUserUtil.isSecondaryMUMDSystemUI() in provideCarSystemBarConfigListener()
85 || CarSystemUIUserUtil.isMUPANDSystemUI()) in provideCarSystemBarConfigListener()
DCarSystemBarMediator.java28 import com.android.systemui.car.users.CarSystemUIUserUtil;
80 UserHandle userHandle = CarSystemUIUserUtil.isMUPANDSystemUI() ? UserHandle.SYSTEM in start()
DCarSystemBarController.java47 import com.android.systemui.car.users.CarSystemUIUserUtil;
421 view.updateHomeButtonVisibility(CarSystemUIUserUtil.isSecondaryMUMDSystemUI()); in setupBar()
427 view.updateControlCenterButtonVisibility(CarSystemUIUserUtil.isMUMDSystemUI()); in setupBar()
DCarSystemBar.java66 import com.android.systemui.car.users.CarSystemUIUserUtil;
257 if (!CarSystemUIUserUtil.isSecondaryMUMDSystemUI()) { in start()
DCarSystemBarButton.java22 import static com.android.systemui.car.users.CarSystemUIUserUtil.getCurrentUserHandle;
/packages/apps/Car/SystemUI/src/com/android/systemui/
DCarSystemUIApplication.java25 import com.android.systemui.car.users.CarSystemUIUserUtil;
36 mIsVisibleBackgroundUserSysUI = CarSystemUIUserUtil.isSecondaryMUMDSystemUI(); in onCreate()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/users/
DCarSystemUIUserUtil.java34 public final class CarSystemUIUserUtil { class
35 private CarSystemUIUserUtil() {}; in CarSystemUIUserUtil() method in CarSystemUIUserUtil
DCarMultiUserUtilsModule.java81 if (CarSystemUIUserUtil.isMUPANDSystemUI()) { in provideUserTracker()
90 CarSystemUIUserUtil.isSecondaryMUMDSystemUI(); in provideUserTracker()
DCarDisplayTrackerImpl.java22 import static com.android.systemui.car.users.CarSystemUIUserUtil.isCurrentSystemUIDisplay;
23 import static com.android.systemui.car.users.CarSystemUIUserUtil.isMUMDSystemUI;
/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/
DCarKeyguardOverlayViewMediator.java24 import com.android.systemui.car.users.CarSystemUIUserUtil;
61 if (CarSystemUIUserUtil.isMUMDSystemUI()) { in registerListeners()
DCarKeyguardViewMediator.java38 import com.android.systemui.car.users.CarSystemUIUserUtil;
172 if (CarSystemUIUserUtil.isSecondaryMUMDSystemUI()) { in start()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/
DUserSwitchTransitionViewMediator.java27 import com.android.systemui.car.users.CarSystemUIUserUtil;
78 if (!CarSystemUIUserUtil.isSecondaryMUMDSystemUI()) { in registerListeners()
DUserGridRecyclerView.java25 import static com.android.systemui.car.users.CarSystemUIUserUtil.getCurrentUserHandle;
/packages/apps/Car/SystemUI/src/com/android/systemui/wmshell/
DCarWMShellModule.java24 import com.android.systemui.car.users.CarSystemUIUserUtil;
68 if (CarSystemUIUserUtil.isSecondaryMUMDSystemUI()) { in provideMUMDPerDisplayInsetsChangeController()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/
DProfileSwitcherTest.java66 import com.android.systemui.car.users.CarSystemUIUserUtil;
109 .spyStatic(CarSystemUIUserUtil.class) in setUp()
121 doReturn(false).when(() -> CarSystemUIUserUtil.isSecondaryMUMDSystemUI()); in setUp()
405 doReturn(true).when(() -> CarSystemUIUserUtil.isSecondaryMUMDSystemUI()); in onUserPressed_secondaryUser_stopsAndStartsNewUser()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DCarSystemBarControllerTest.java55 import com.android.systemui.car.users.CarSystemUIUserUtil;
113 .spyStatic(CarSystemUIUserUtil.class) in setUp()
741 CarSystemUIUserUtil.isSecondaryMUMDSystemUI()); in testDriverHomeOnDriverSystemUI_isVisible()
756 CarSystemUIUserUtil.isSecondaryMUMDSystemUI()); in testPassengerHomeOnSecondarySystemUI_isVisible()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/
DStatusIconPanelViewController.java57 import com.android.systemui.car.users.CarSystemUIUserUtil;
241 if (CarSystemUIUserUtil.isMUMDSystemUI() in onInit()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DProfileSwitcher.java67 import com.android.systemui.car.users.CarSystemUIUserUtil;
297 if (CarSystemUIUserUtil.isSecondaryMUMDSystemUI()) { in switchUser()
/packages/apps/Car/SystemUI/src/com/android/systemui/wm/
DDisplaySystemBarsController.java24 import static com.android.systemui.car.users.CarSystemUIUserUtil.isSecondaryMUMDSystemUI;
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserPickerActivity.java24 import static com.android.systemui.car.users.CarSystemUIUserUtil.isMUPANDSystemUI;