Home
last modified time | relevance | path

Searched refs:halFlags (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DInitialUserSetter.java413 int halFlags = UserFlags.GUEST; in replaceGuestIfNeeded() local
415 halFlags |= UserFlags.EPHEMERAL; in replaceGuestIfNeeded()
431 .setNewUserFlags(halFlags) in replaceGuestIfNeeded()
466 int halFlags = info.newUserFlags; in createNewUser() local
470 + userFlagsToString(halFlags) + ")"); in createNewUser()
473 if (UserHalHelper.isSystem(halFlags)) { in createNewUser()
477 if (UserHalHelper.isAdmin(halFlags)) { in createNewUser()
479 if (UserHalHelper.isGuest(halFlags)) { in createNewUser()
483 if (UserHalHelper.isEphemeral(halFlags)) { in createNewUser()
494 int flags = UserHalHelper.toUserInfoFlags(halFlags); in createNewUser()
[all …]
DUserHalHelper.java204 public static int toUserInfoFlags(int halFlags) { in toUserInfoFlags() argument
206 if (isEphemeral(halFlags)) { in toUserInfoFlags()
209 if (isAdmin(halFlags)) { in toUserInfoFlags()
/packages/services/Car/service/src/com/android/car/
DCarPowerManagementService.java537 int halFlags = response.userToSwitchOrCreate.flags; in switchUserOnResumeIfNecessaryUsingHal()
541 + UserHalHelper.userFlagsToString(halFlags) + ")"); in switchUserOnResumeIfNecessaryUsingHal()
545 .setNewUserFlags(halFlags) in switchUserOnResumeIfNecessaryUsingHal()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java644 private void verifyUserCreated(String name, int halFlags) { in verifyUserCreated() argument
648 && info.newUserFlags == halFlags; in verifyUserCreated()