Home
last modified time | relevance | path

Searched refs:isHeadlessSystemUser (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DUserHelperLiteTest.java57 assertThat(UserHelperLite.isHeadlessSystemUser(UserHandle.USER_SYSTEM)).isTrue(); in testIsHeadlessSystemUser_system_headlessMode()
64 assertThat(UserHelperLite.isHeadlessSystemUser(UserHandle.USER_SYSTEM)).isFalse(); in testIsHeadlessSystemUser_system_nonHeadlessMode()
71 assertThat(UserHelperLite.isHeadlessSystemUser(10)).isFalse(); in testIsHeadlessSystemUser_nonSystem_headlessMode()
78 assertThat(UserHelperLite.isHeadlessSystemUser(10)).isFalse(); in testIsHeadlessSystemUser_nonSystem_nonHeadlessMode()
/packages/services/Car/car-lib/src/com/android/car/internal/common/
DUserHelperLite.java52 public static boolean isHeadlessSystemUser(@UserIdInt int userId) { in isHeadlessSystemUser() method in UserHelperLite
/packages/services/Car/service/src/com/android/car/user/
DExperimentalCarUserService.java285 if (UserHelperLite.isHeadlessSystemUser(driverId)) { in switchDriver()
313 (user) -> !UserHelperLite.isHeadlessSystemUser(user.getIdentifier()) in getAllDrivers()
330 return !UserHelperLite.isHeadlessSystemUser(user.getIdentifier()) in getPassengers()
DInitialUserSetter.java677 if (UserHelperLite.isHeadlessSystemUser(userId)) { in startForegroundUser()
724 if (UserHelperLite.isHeadlessSystemUser(userId)) { in setLastActiveUser()
/packages/apps/Car/Settings/src/com/android/car/settings/
DFallbackHome.java167 if (UserHelperLite.isHeadlessSystemUser(getUserId()) && !isMultiUserNoDriver) { in maybeFinish()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/
DCarLauncher.java188 if (!UserHelperLite.isHeadlessSystemUser(getUserId())) { in onCreate()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DClusterRenderingService.java215 if (UserHelperLite.isHeadlessSystemUser(userId)) { in launchMainActivity()
/packages/services/Car/service/src/com/android/car/
DCarInputService.java1037 if (UserHelperLite.isHeadlessSystemUser(userId)) { in updateCarAccessibilityServicesSettings()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DBaseCarUserServiceTestCase.java724 doReturn(mode).when(() -> UserHelperLite.isHeadlessSystemUser(userId)); in mockIsHeadlessSystemUser()