Home
last modified time | relevance | path

Searched refs:UserHelperLite (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DUserHelperLiteTest.java25 import com.android.car.internal.common.UserHelperLite;
42 assertThat(UserHelperLite.safeName(null)).isNull(); in testSafeName_nullCheck()
47 String safe = UserHelperLite.safeName("UnsafeIam"); in testSafeName()
57 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.java33 public final class UserHelperLite { class
37 private UserHelperLite() { in UserHelperLite() method in UserHelperLite
/packages/services/Car/service/src/com/android/car/user/
DInitialUserSetter.java49 import com.android.car.internal.common.UserHelperLite;
327 string.append(",name=" + UserHelperLite.safeName(newUserName)); in toString()
374 + UserHelperLite.safeName(info.newUserName) + " and flags " in set()
616 Slogf.d(TAG, "createUser(name=" + UserHelperLite.safeName(name) + ", flags=" in createNewUser()
646 Slogf.d(TAG, "calling am.createUser((name=" + UserHelperLite.safeName(name) + ", type=" in createNewUser()
652 return new Pair<>(null, "createUser(name=" + UserHelperLite.safeName(name) + ", flags=" in createNewUser()
677 if (UserHelperLite.isHeadlessSystemUser(userId)) { in startForegroundUser()
724 if (UserHelperLite.isHeadlessSystemUser(userId)) { in setLastActiveUser()
DExperimentalCarUserService.java57 import com.android.car.internal.common.UserHelperLite;
285 if (UserHelperLite.isHeadlessSystemUser(driverId)) { in switchDriver()
313 (user) -> !UserHelperLite.isHeadlessSystemUser(user.getIdentifier()) in getAllDrivers()
330 return !UserHelperLite.isHeadlessSystemUser(user.getIdentifier()) in getPassengers()
DCarUserService.java127 import com.android.car.internal.common.UserHelperLite;
1314 EventLogHelper.writeCarUserServiceCreateUserReq(UserHelperLite.safeName(name), userType, in createUser()
/packages/apps/Car/Settings/src/com/android/car/settings/
DFallbackHome.java42 import com.android.car.internal.common.UserHelperLite;
167 if (UserHelperLite.isHeadlessSystemUser(getUserId()) && !isMultiUserNoDriver) { in maybeFinish()
/packages/services/Car/car-lib/src/android/car/admin/
DCarDevicePolicyManager.java43 import com.android.car.internal.common.UserHelperLite;
199 EventLogHelper.writeCarDevicePolicyManagerCreateUserReq(uid, UserHelperLite.safeName(name), in createUser()
/packages/services/Car/service/src/com/android/car/admin/
DCarDevicePolicyService.java53 import com.android.car.internal.common.UserHelperLite;
179 UserHelperLite.safeName(name), userType, userInfoFlags, HAL_TIMEOUT_MS); in createUser()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/
DCarLauncher.java52 import com.android.car.internal.common.UserHelperLite;
188 if (!UserHelperLite.isHeadlessSystemUser(getUserId())) { in onCreate()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DClusterRenderingService.java57 import com.android.car.internal.common.UserHelperLite;
215 if (UserHelperLite.isHeadlessSystemUser(userId)) { in launchMainActivity()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DBaseCarUserServiceTestCase.java114 import com.android.car.internal.common.UserHelperLite;
265 .spyStatic(UserHelperLite.class) in onSessionBuilder()
724 doReturn(mode).when(() -> UserHelperLite.isHeadlessSystemUser(userId)); in mockIsHeadlessSystemUser()
/packages/services/Car/service/src/com/android/car/
DCarInputService.java78 import com.android.car.internal.common.UserHelperLite;
1037 if (UserHelperLite.isHeadlessSystemUser(userId)) { in updateCarAccessibilityServicesSettings()
/packages/services/Car/car-lib/src/android/car/user/
DCarUserManager.java61 import com.android.car.internal.common.UserHelperLite;
723 UserHelperLite.safeName(name), userType, flags); in createUser()
/packages/services/Car/service/src/com/android/car/hal/
DUserHalService.java64 import com.android.car.internal.common.UserHelperLite;
473 UserHelperLite.safeName(request.newUserName), request.newUserInfo.flags, timeoutMs); in createUser()