Searched refs:UserHelperLite (Results 1 – 14 of 14) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/ |
D | UserHelperLiteTest.java | 25 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/ |
D | UserHelperLite.java | 33 public final class UserHelperLite { class 37 private UserHelperLite() { in UserHelperLite() method in UserHelperLite
|
/packages/services/Car/service/src/com/android/car/user/ |
D | InitialUserSetter.java | 49 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()
|
D | ExperimentalCarUserService.java | 57 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()
|
D | CarUserService.java | 127 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/ |
D | FallbackHome.java | 42 import com.android.car.internal.common.UserHelperLite; 167 if (UserHelperLite.isHeadlessSystemUser(getUserId()) && !isMultiUserNoDriver) { in maybeFinish()
|
/packages/services/Car/car-lib/src/android/car/admin/ |
D | CarDevicePolicyManager.java | 43 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/ |
D | CarDevicePolicyService.java | 53 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/ |
D | CarLauncher.java | 52 import com.android.car.internal.common.UserHelperLite; 188 if (!UserHelperLite.isHeadlessSystemUser(getUserId())) { in onCreate()
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | ClusterRenderingService.java | 57 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/ |
D | BaseCarUserServiceTestCase.java | 114 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/ |
D | CarInputService.java | 78 import com.android.car.internal.common.UserHelperLite; 1037 if (UserHelperLite.isHeadlessSystemUser(userId)) { in updateCarAccessibilityServicesSettings()
|
/packages/services/Car/car-lib/src/android/car/user/ |
D | CarUserManager.java | 61 import com.android.car.internal.common.UserHelperLite; 723 UserHelperLite.safeName(name), userType, flags); in createUser()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | UserHalService.java | 64 import com.android.car.internal.common.UserHelperLite; 473 UserHelperLite.safeName(request.newUserName), request.newUserInfo.flags, timeoutMs); in createUser()
|